Skip to content

ceph: Default ceph_image_version to the Ceph release - #317

Merged
berendt merged 1 commit into
mainfrom
ceph-image-version-fallback
Oct 2, 2026
Merged

berendt merged 1 commit into
mainfrom
ceph-image-version-fallback

Conversation

@ideaship

@ideaship ideaship commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

What

all/002-images-ceph.yml defines ceph_image_version: "{{ ceph_version }}".

Why

ceph_docker_image_tag, which the cephadm plays use to select the ceph-daemon image, is defined from ceph_image_version, and nothing in osism/defaults defined that variable. The ceph-ansible container always supplied it; a cephadm deployment runs no ceph-ansible container, so on the latest track it was undefined.

The fallback is the rolling ceph-daemon tag for the release (reef, squid, tentacle), which is exactly what the ceph-ansible image renders on the latest track today. Release pins still win: numbered releases render ceph_image_version in the osism-ansible and ceph-ansible versions files, which the inventory reconciler loads after these defaults. This matches the cephclient role, which already defaults cephclient_version to ceph_version.

Part of

🤖 Generated with Claude Code

ceph_docker_image_tag, which the cephadm plays use to select the
ceph-daemon image, is defined from ceph_image_version, and nothing in
osism/defaults defines ceph_image_version itself. Until now the
ceph-ansible container always supplied it through its versions.yml. A
deployment that runs Ceph with cephadm does not run that container, so
on the latest track the variable is undefined.

Default it to ceph_version, which is the rolling ceph-daemon tag for that
release (reef, squid, tentacle) and exactly what the ceph-ansible image
renders on the latest track today. Release pins still win: numbered
releases render ceph_image_version in the osism-ansible and ceph-ansible
versions files, which the inventory reconciler loads after these
defaults. This matches how the cephclient role already defaults
cephclient_version to ceph_version.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Roger Luethi <luethi@osism.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants