Skip to content

cephadm_install: detect the ceph image version from local images - #979

Closed
insatomcat wants to merge 1 commit into
mainfrom
cephdetect
Closed

cephadm_install: detect the ceph image version from local images#979
insatomcat wants to merge 1 commit into
mainfrom
cephdetect

Conversation

@insatomcat

Copy link
Copy Markdown
Member

build_debian_iso now embeds the latest cephadm container image, so the hardcoded cephadm_release default can diverge from the image actually present on the nodes and break the deployment.

When cephadm_release is not set in the inventory, detect the version of the quay.io/ceph/ceph image already present on the nodes and use it for the whole deployment. The detection fails if a node holds several ceph image versions or if two nodes hold different versions. When no image is found anywhere, fall back to the default version. Setting cephadm_release in the inventory disables the detection and pins the version.

build_debian_iso now embeds the latest cephadm container image, so the
hardcoded cephadm_release default can diverge from the image actually
present on the nodes and break the deployment.

When cephadm_release is not set in the inventory, detect the version of
the quay.io/ceph/ceph image already present on the nodes and use it for
the whole deployment. The detection fails if a node holds several ceph
image versions or if two nodes hold different versions. When no image is
found anywhere, fall back to the default version. Setting
cephadm_release in the inventory disables the detection and pins the
version.

Signed-off-by: Florent Carli <florent.carli@rte-france.com>
@insatomcat

Copy link
Copy Markdown
Member Author

PR merged into #983

@insatomcat insatomcat closed this Jul 23, 2026
@insatomcat
insatomcat deleted the cephdetect branch July 23, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant