Skip to content

umbrella: mgr/cephadm: block upgrades onto hosts whose CPU cannot run the target release - #72512

Merged
batrick merged 2 commits into
ceph:umbrellafrom
djgalloway:wip-81459-umbrella
Oct 14, 2026
Merged

batrick merged 2 commits into
ceph:umbrellafrom
djgalloway:wip-81459-umbrella

Conversation

@djgalloway

Copy link
Copy Markdown
Contributor

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)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Oct 8, 2026
@djgalloway

Copy link
Copy Markdown
Contributor Author

/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.

@github-actions github-actions Bot added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

✅ Audit Override Applied by @djgalloway.

View workflow run

@djgalloway

Copy link
Copy Markdown
Contributor Author

jenkins test api

@batrick batrick modified the milestones: umbrella, v21.2.0 Oct 9, 2026
@yuriw

yuriw commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri11-testing-20261012.235736-umbrella.

@batrick
batrick merged commit c08e2a4 into ceph:umbrella Oct 14, 2026
18 of 19 checks passed
batrick pushed a commit that referenced this pull request Oct 28, 2026
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]>
aainscow pushed a commit to aainscow/ceph that referenced this pull request Nov 4, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants