Repository navigation
umbrella: mgr/cephadm: block upgrades onto hosts whose CPU cannot run the target release - #72512
Conversation
Compute the highest x86-64 microarchitecture level (x86-64-v1 through x86-64-v4) supported by the host CPU from /proc/cpuinfo feature flags and report it as a new 'cpu_isa_level' fact on x86-64 hosts. This will be used by the orchestrator to refuse upgrades to releases whose official builds require a higher level than a host CPU supports (umbrella builds require x86-64-v3). Fixes: https://tracker.ceph.com/issues/80878 Assisted-by: Claude Fable 5 Signed-off-by: David Galloway <[email protected]> (cherry picked from commit 79b24c5)
…t release Official builds of umbrella (21.x) and later require CPUs supporting x86-64-v3. On an x86-64-v2 host the binaries in the target image die with "Fatal glibc error: CPU does not support x86-64-v3"; today the first casualty is cephadm's in-container version probe, so the upgrade pauses with a misleading UPGRADE_FAILED_PULL alert (found this way on the sepia lab Long Running Cluster, whose mira nodes are x86-64-v2). Compare each host's cpu_isa_level fact against the level the target release requires: * 'ceph orch upgrade start --ceph-version' refuses to start and lists the incompatible hosts * image-based and in-flight upgrades pause with a new UPGRADE_INCOMPATIBLE_HOST_CPU health alert once the target version is learned from the image * 'ceph orch upgrade check' reports the incompatibility * staggered upgrades restricted via --hosts only consider those hosts * hosts with an unknown ISA level (no facts yet, non-x86) are skipped The check can be disabled with 'ceph config set mgr mgr/cephadm/upgrade_cpu_isa_check false' for custom-built images targeting older CPU generations. Fixes: https://tracker.ceph.com/issues/80878 Assisted-by: Claude Fable 5 Signed-off-by: David Galloway <[email protected]> (cherry picked from commit 359b68c)
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Automated Backport Parity Review
Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.
Commit Parity Visualizer
| BACKPORT PR #72512 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| cdfd765 cephadm: report cpu_isa_level in host facts | PR #72090 | 79b24c5 cephadm: report cpu_isa_level in host facts |
| 590e552 mgr/cephadm: block upgrades onto hosts whose CPU cannot run the target release | 359b68c mgr/cephadm: block upgrades onto hosts whose CPU cannot run the target release | |
| <<<< MISSING IN BACKPORT >>>> | 22e6137 Merge remote-tracking branch 'origin/main' into ceph-upgrade-x86-64-v2-warning-ed4bea |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
/audit override The "missing" commit 22e6137 is the original PR's merge of origin/main (conflict resolution against the base branch), not a content commit — it cannot be cherry-picked into a backport. Both content commits are present with cherry-picked-from trailers. |
|
✅ Audit Override Applied by @djgalloway. |
|
jenkins test api |
|
This PR has been added to wip-yuri11-testing-20261012.235736-umbrella. |
A source PR can contain a merge of main done for conflict resolution (e.g. #72090, commit 22e6137). Such merge commits are never cherry-picked into a backport, but the parity audit enumerated every commit in merge^1..merge^2 and therefore flagged all three of that PR's backports (#72512, #72513, #72514) with "MISSING IN BACKPORT" and releng-audit-fail, forcing manual overrides. Skip commits with more than one parent when building the source commit list: only the content commits of the original PR need parity. Assisted-by: Claude Fable 5 Signed-off-by: David Galloway <[email protected]>
A source PR can contain a merge of main done for conflict resolution (e.g. ceph#72090, commit 22e6137). Such merge commits are never cherry-picked into a backport, but the parity audit enumerated every commit in merge^1..merge^2 and therefore flagged all three of that PR's backports (ceph#72512, ceph#72513, ceph#72514) with "MISSING IN BACKPORT" and releng-audit-fail, forcing manual overrides. Skip commits with more than one parent when building the source commit list: only the content commits of the original PR need parity. Assisted-by: Claude Fable 5 Signed-off-by: David Galloway <[email protected]>
backport tracker: https://tracker.ceph.com/issues/81459
backport of #72090
parent tracker: https://tracker.ceph.com/issues/80878
this backport was staged following the ceph-backport.sh conventions