Repository navigation
qa/cephadm: derive container image from cephadm release - #68288
Conversation
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]>
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
14 similar comments
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
ok-to-test |
|
jenkins retest this please |
|
Teuthology test passed successfully: https://qa-proxy.ceph.com/teuthology/rkachach-2026-04-10_13:14:41-orch:cephadm-wip-rkachach-testing-2-2026-04-10-1212-distro-default-trial/143117/teuthology.log |
|
jenkins test api |
|
jenkins test rook e2e |
|
jenkins test dashboard |
|
jenkins test dashboard cephadm |
|
jenkins test dashboard |
|
jenkins test dashboard |
test_cephadm.shhardcodesIMAGE_DEFAULTtoceph:main, whichbreaks 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 — see
https://tracker.ceph.com/issues/70212 (squid vs tentacle) and
https://tracker.ceph.com/issues/70405 (quincy vs reef).
Instead of always pulling
ceph:main, deriveIMAGE_DEFAULTfrom theinstalled cephadm's version output. On stable builds (release type
stable), useceph:<release>so the container matches cephadm. Ondev builds (main branch), fall back to
ceph:mainas before. TheIMAGE_DEFAULTenv var can still be set externally to override.Fixes: https://tracker.ceph.com/issues/75821
Checklist