Project

General

Profile

Actions

Bug #80878

closed
DG DG

cephadm: upgrade to a release built for a higher x86-64 ISA level than host CPUs support fails with misleading UPGRADE_FAILED_PULL

Bug #80878: cephadm: upgrade to a release built for a higher x86-64 ISA level than host CPUs support fails with misleading UPGRADE_FAILED_PULL

Added by David Galloway 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Category:
cephadm
Target version:
-
Due date:
% Done:

0%

Source:
Development
Backport:
squid,tentacle,umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-4031-g1ebe599720
Released In:
Upkeep Timestamp:
2026-10-28T01:05:01+00:00

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-facts now reports a cpu_isa_level host fact (e.g. x86-64-v2) computed from /proc/cpuinfo flags
  • ceph orch upgrade start refuses to start an upgrade to 21.x+ while any (non-excluded) host's CPU is below x86-64-v3, listing the offending hosts
  • for --image upgrades (version only known after the first pull) and in-flight upgrades, _do_upgrade pauses the upgrade with a new UPGRADE_INCOMPATIBLE_HOST_CPU health alert instead of the misleading UPGRADE_FAILED_PULL
  • ceph orch upgrade check reports the incompatibility as well
  • the check can be disabled with ceph config set mgr mgr/cephadm/upgrade_cpu_isa_check false for 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.


Related issues 3 (0 open — 3 closed)

Copied to Orchestrator - 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_PULLResolvedDavid Galloway

Actions
Copied to Orchestrator - 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_PULLResolvedDavid Galloway

Actions
Copied to Orchestrator - 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_PULLResolvedDavid Galloway

Actions

DG Updated by David Galloway 2 months ago Actions #1

  • 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 Actions #2

  • 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 Actions #3

  • 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 Actions #4

  • 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 Actions #5

  • 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 Actions #6

  • 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
Actions

Also available in: PDF Atom