Skip to content

umbrella: cephadm: fix error during image inference with legacy service detected - #72843

Merged
batrick merged 2 commits into
ceph:umbrellafrom
phlogistonjohn:wip-81873-umbrella
Nov 4, 2026
Merged

batrick merged 2 commits into
ceph:umbrellafrom
phlogistonjohn:wip-81873-umbrella

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:18
@phlogistonjohn phlogistonjohn added this to the umbrella 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-yuri15-testing-20261021.152238-umbrella.

@batrick batrick modified the milestones: umbrella, v21.2.1 Oct 29, 2026
@batrick
batrick merged commit 6879da9 into ceph:umbrella Nov 4, 2026
21 checks passed
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-yuri15-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants