Skip to content

tentacle: cephadm: fix error during image inference with legacy service detected - #72844

Open
phlogistonjohn wants to merge 2 commits into
ceph:tentaclefrom
phlogistonjohn:wip-81872-tentacle
Open

phlogistonjohn wants to merge 2 commits into
ceph:tentaclefrom
phlogistonjohn:wip-81872-tentacle

Conversation

@phlogistonjohn

Copy link
Copy Markdown
Contributor

Add an include_legacy argument to daemons_matching. It is defaulted to
true for backwards compatibility. If set to false no legacy daemons
will be returned by the filtering function.

Signed-off-by: John Mulligan <[email protected]>
(cherry picked from commit 7b7e478)
Set the include_legacy flag to false to avoid using legacy daemons when
running infer_local_ceph_image. This is a quick fix for a user reported
issue with something cephadm detected as a legacy service.

Regardless of if the detection was correct or not the
infer_local_ceph_image code treats the presence of the _container_info
cached metadata key as an invariant but this key (and the cached
metadata) are only available on the typical DaemonEntry based items
and not on the LegacyDaemonEntry based items.

Fixes: https://tracker.ceph.com/issues/81355
Signed-off-by: John Mulligan <[email protected]>
(cherry picked from commit 68a04fd)
@phlogistonjohn
phlogistonjohn requested a review from a team as a code owner October 19, 2026 17:19
@phlogistonjohn phlogistonjohn added this to the tentacle milestone Oct 19, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Oct 19, 2026
@yuriw

yuriw commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri14-testing-20261021.151926-tentacle.

@sseshasa

sseshasa commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

@yuriw yuriw added needs-merge QA-approved, awaiting merge window wip-yuri14-testing and removed wip-yuri14-testing needs-merge QA-approved, awaiting merge window labels Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephadm needs-qa releng-audit-pass Release engineering: passed backport verification audit. wip-yuri14-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants