Skip to content

tentacle: qa/cephadm: derive container image from cephadm release - #68328

Merged
batrick merged 1 commit into
ceph:tentaclefrom
lumir-sliva:wip-75961-tentacle-cephadm-image
Jun 8, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
lumir-sliva:wip-75961-tentacle-cephadm-image

Conversation

@lumir-sliva

@lumir-sliva lumir-sliva commented Apr 11, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #68288

Cherry-pick of db3ba63 to tentacle.

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.

Instead of always pulling ceph:main, derive IMAGE_DEFAULT from the
installed 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

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
    • Includes unit test(s)
    • Includes integration test(s)
    • Includes bug reproducer
    • No tests

@lumir-sliva
lumir-sliva requested a review from a team as a code owner April 11, 2026 08:37
@github-actions github-actions Bot added this to the tentacle milestone Apr 11, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label May 2, 2026

@ljflores ljflores left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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
lumir-sliva force-pushed the wip-75961-tentacle-cephadm-image branch from 570a837 to 4e567cf Compare May 8, 2026 06:27
@lumir-sliva

Copy link
Copy Markdown
Contributor Author

Thanks @ljflores. Redone with git cherry-pick -x, head is now 4e567cf3d73. The pick was clean, no conflicts, so I left out the Conflicts: block. The only change vs. the prior force-push is the new (cherry picked from commit db3ba638e9fe04d8718c33668eeffd98d705944e) trailer.

@ljflores

Copy link
Copy Markdown
Member

jenkins test api

@rkachach rkachach left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@batrick batrick added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@ceph ceph deleted a comment from ceph-jenkins Jun 5, 2026
@batrick

batrick commented Jun 5, 2026

Copy link
Copy Markdown
Member

/audit retest

@batrick batrick modified the milestones: tentacle, v20.2.2 Jun 5, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jun 5, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jun 5, 2026
@batrick batrick modified the milestones: v20.2.2, v20.2.3 Jun 5, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Jun 5, 2026
@batrick batrick modified the milestones: v20.2.3, v20.2.2 Jun 5, 2026
@batrick

batrick commented Jun 5, 2026

Copy link
Copy Markdown
Member

@batrick
batrick merged commit df896a3 into ceph:tentacle Jun 8, 2026
14 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants