Skip to content

cephadm_install: derive the Ceph release name from the release version - #982

Closed
insatomcat wants to merge 1 commit into
mainfrom
cephadm-derive-release-name
Closed

cephadm_install: derive the Ceph release name from the release version#982
insatomcat wants to merge 1 commit into
mainfrom
cephadm-derive-release-name

Conversation

@insatomcat

Copy link
Copy Markdown
Member

"cephadm add-repo" takes a release name while the cephadm download URL takes a version number. Both were pinned separately, so bumping cephadm_install_release alone silently left the repo on the previous release, mixing a binary from one Ceph version with packages from another.

Derive the name from the major version through a lookup table, and assert before add-repo that a name is known, so an unlisted version fails with an explicit message instead of installing the wrong repo. Setting cephadm_install_release_name explicitly still overrides the derivation.

"cephadm add-repo" takes a release name while the cephadm download URL
takes a version number. Both were pinned separately, so bumping
cephadm_install_release alone silently left the repo on the previous
release, mixing a binary from one Ceph version with packages from
another.

Derive the name from the major version through a lookup table, and
assert before add-repo that a name is known, so an unlisted version
fails with an explicit message instead of installing the wrong repo.
Setting cephadm_install_release_name explicitly still overrides the
derivation.

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 cephadm-derive-release-name 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