fix(recipes): run nvsentinel-mongodb on Ubuntu's 7.0 kernels #4013
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4013"
general
weight: 0.35
dims
Summary
Pins Percona Server for MongoDB 8.0.38-16 for
nvsentinel-mongodb, which starts on Ubuntu's 7.0 kernels, and moves the NVSentinel Kind E2Es back toubuntu-24.04, whose runner kernel is one of them.Motivation / Context
MongoDB 8.0 refuses to start on kernels 6.19.0 through 7.0.13. Ubuntu's 7.0 kernels report
7.0.0-whatever upstream release they are built on, so before 8.0.37 mongod refused them all, including those built on 7.0.14 or later (SERVER-131779). On Ubuntu 24.04 with the HWE 7.0 kernel, on Ubuntu 26.04, and on GitHub'subuntu-24.04runners, thenvsentinel-mongodbmembers crash-loop with an empty log and every NVSentinel module that needs the datastore goes down. #3348 worked around it in CI by moving the MongoDB E2Es toubuntu-22.04.Fixes: #3349
Type of Change
Component(s) Affected
cmd/aicr,pkg/cli)cmd/aicrd,pkg/server)pkg/recipe)pkg/bundler,pkg/component)pkg/collector,pkg/snapshotter)pkg/validator)pkg/errors,pkg/k8s)docs/,examples/)tools/mirror-e2e, weekly image scanImplementation Notes
8.0.38-16@sha256:60ec6528…6d97, a multi-arch OCI index (amd64, arm64) like the old pin, in the component values, the three NVSentinel mixins that override it, the remediation render test,tools/mirror-e2e, and the weekly image scan;make bom-docschanged exactly that line ofdocs/user/container-images.md. The pinnedmongodreads the upstream release from/proc/version_signaturewhenunamereports an Ubuntu 7.0 kernel; both come from the host kernel, so the check works from the image's UBI base too. It is the first Percona 8.0 build above the affected range, a same-major patch with no FCV change.SmartUpdatestrategy runs the replica set's StatefulSet asOnDelete, and the operator starts an update only when every member is ready. So applying a bundle at this pin to a cluster whose members already crash-loop changes the pod template but replaces no pod. After applying it, wait until the operator has moved the StatefulSet to the new image (kubectl -n nvsentinel get statefulset nvsentinel-mongodb-rs0 -o jsonpath='{.spec.template.spec.containers[].image}'names8.0.38-16), because a pod deleted before that comes back on the old image. Then delete eachnvsentinel-mongodb-rs0-pod that is not ready (kubectl -n nvsentinel delete pod <name>); the StatefulSet recreates it on 8.0.38-16 from its existing volume, and once every member is ready the operator rolls the rest. If NVSentinel's setup Job failed while the datastore was down, delete it and deploy again. The component catalog now says this under "Kernels 6.19 and newer", and states MongoDB 8.0.38. This belongs in the release note too.pkg/bundler/testdata/stock_render_golden.yamlis regenerated (AICR_UPDATE_GOLDEN=1) for the one leaf that renders the datastore,h100-eks-ubuntu-training-slurm+nvsentinel-slinky-drainer. Seven file hashes change: the nvsentinel-mongodb values file its chart and-postfolders share (the pin), nvsentinel's values (the setup Job image),UPGRADING.md(the record summary below), andbundle-info.yaml,checksums.txtandrecipe.yaml, which derive from them. Nothing else in any leaf moved.ubuntu-22.04return toubuntu-24.04and drop their "return once the pin is 8.0.35 or newer" comments. Nine start the datastore and exercise the fix;nvsentinel-node-validationdeploys none and was on 22.04 only because it was copied from a sibling, so it moves to match.Testing
make qualify: passes, with the regenerated render golden.ubuntu-24.04(kernel7.0.0--azure, built on 7.0.14 or later) and must reach a readyPerconaServerMongoDB. Each fails closed if it does not.TestRemediationImagesPinnedEverywhereandTestNVSentinelMongoDBContracttie every copy of the pin together.Risk Assessment
Every recipe with an NVSentinel step rolls its datastore to a new MongoDB patch.
Rollout notes: Healthy clusters roll one member at a time. A cluster already crash-looping on an affected kernel needs its non-ready
nvsentinel-mongodb-rs0-*pods deleted once, after the StatefulSet names the new image, and a failed setup Job deleted and redeployed (see Implementation Notes).Checklist
make testwith-race)make lint)git commit -s -S) — GPG signing info