Repository navigation
tentacle: qa/cephadm: derive container image from cephadm release - #68328
Merged
batrick merged 1 commit intoJun 8, 2026
Merged
Conversation
ljflores
requested changes
May 7, 2026
Member
There was a problem hiding this comment.
@lumir-sliva if this is a cherry-pick, can you please redo it with cherry-pick -x <commit id>. This leaves a "cherry-picked from" line on the commit.
You should also make sure to uncomment the Conflicts line if there were conflicts and leave an explanation of them in the commit.
test_cephadm.sh hardcodes IMAGE_DEFAULT to ceph:main, which breaks every stable branch whenever main is renamed to a new release. The mismatch check in cephadm correctly rejects the container because its release name doesn't match cephadm's own release. This has recurred on every release transition (squid→tentacle, quincy→reef) without a fix. Instead of always pulling ceph:main, derive IMAGE_DEFAULT from the installed cephadm's version output. On stable builds (release type "stable"), use ceph:<release> so the container matches cephadm. On dev builds (main branch), fall back to ceph:main as before. The IMAGE_DEFAULT env var can still be set externally to override. Fixes: https://tracker.ceph.com/issues/75821 Signed-off-by: Lumir Sliva <[email protected]> (cherry picked from commit db3ba63)
lumir-sliva
force-pushed
the
wip-75961-tentacle-cephadm-image
branch
from
May 8, 2026 06:27
570a837 to
4e567cf
Compare
Contributor
Author
|
Thanks @ljflores. Redone with |
ljflores
approved these changes
May 20, 2026
Member
|
jenkins test api |
Member
|
/audit retest |
Member
|
This PR has been added to tentacle integration testing by pdonnell started 2026-06-05-17:19. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #68288
Cherry-pick of db3ba63 to tentacle.
test_cephadm.shhardcodesIMAGE_DEFAULTtoceph:main, which breaksevery stable branch whenever main is renamed to a new release. The mismatch
check in cephadm correctly rejects the container because its release name
doesn't match cephadm's own release.
Instead of always pulling
ceph:main, deriveIMAGE_DEFAULTfrom theinstalled cephadm's version output. On stable builds, use
ceph:<release>so the container matches cephadm. On dev builds, fall back to
ceph:main.Tracker: https://tracker.ceph.com/issues/75961
Checklist