Bug #80878
closedcephadm: upgrade to a release built for a higher x86-64 ISA level than host CPUs support fails with misleading UPGRADE_FAILED_PULL
0%
Description
Found on the sepia lab Long Running Cluster (LRC) while upgrading from tentacle to an umbrella prerelease.
Umbrella (21.x) official containers are built for x86-64-v3. On hosts whose CPUs only support x86-64-v2 (e.g. mira060, an Intel Xeon X3440), any binary in the umbrella image dies immediately:
$ sudo podman run --rm <umbrella-prerelease-image> ceph --version Fatal glibc error: CPU does not support x86-64-v3 (exit code 127)
The image pull itself succeeds, but cephadm's image inspection runs ceph --version inside the container to extract the version, which fails as above, so the upgrade pauses with a misleading UPGRADE_FAILED_PULL health alert that gives the operator no hint the real problem is the host's CPU. Worse, in staggered/partial scenarios daemons could be redeployed onto binaries that SIGILL.
Fix (PR to follow):
- cephadm
gather-factsnow reports acpu_isa_levelhost fact (e.g.x86-64-v2) computed from /proc/cpuinfo flags ceph orch upgrade startrefuses to start an upgrade to 21.x+ while any (non-excluded) host's CPU is below x86-64-v3, listing the offending hosts- for
--imageupgrades (version only known after the first pull) and in-flight upgrades,_do_upgradepauses the upgrade with a new UPGRADE_INCOMPATIBLE_HOST_CPU health alert instead of the misleading UPGRADE_FAILED_PULL ceph orch upgrade checkreports the incompatibility as well- the check can be disabled with
ceph config set mgr mgr/cephadm/upgrade_cpu_isa_check falsefor custom-built images targeting older CPUs
The check must live in the old release's cephadm/mgr to be useful, hence backports to tentacle (and umbrella, so it is present for future upgrades and staggered scenarios). A squid backport may also be worth it since squid->umbrella is a supported 2-release jump.
DG Updated by David Galloway 2 months ago
- Status changed from New to Fix Under Review
- Assignee set to David Galloway
- Pull request ID set to 72090
UB Updated by Upkeep Bot about 2 months ago
- Copied to Backport #81458: tentacle: cephadm: upgrade to a release built for a higher x86-64 ISA level than host CPUs support fails with misleading UPGRADE_FAILED_PULL added
UB Updated by Upkeep Bot about 2 months ago
- Copied to Backport #81459: umbrella: cephadm: upgrade to a release built for a higher x86-64 ISA level than host CPUs support fails with misleading UPGRADE_FAILED_PULL added
UB Updated by Upkeep Bot about 2 months ago
- Copied to Backport #81460: squid: cephadm: upgrade to a release built for a higher x86-64 ISA level than host CPUs support fails with misleading UPGRADE_FAILED_PULL added
UB Updated by Upkeep Bot about 2 months ago
- Status changed from Fix Under Review to Backporting
- Merge Commit set to 1ebe599720231d9e9f51b827e0c59d575f515b70
- Fixed In set to v21.3.0-4031-g1ebe599720
- Upkeep Timestamp set to 2026-10-06T07:51:30+00:00
UB Updated by Upkeep Bot about 1 month ago
- Status changed from Backporting to Resolved
- Upkeep Timestamp changed from 2026-10-06T07:51:30+00:00 to 2026-10-28T01:05:01+00:00