Repository navigation
tentacle: cephadm: fix error during image inference with legacy service detected - #72844
Open
phlogistonjohn wants to merge 2 commits into
Open
phlogistonjohn wants to merge 2 commits into
phlogistonjohn wants to merge 2 commits into
Conversation
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)
Contributor
|
This PR has been added to wip-yuri14-testing-20261021.151926-tentacle. |
Contributor
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 tracker: https://tracker.ceph.com/issues/81872
backport of #72201
parent tracker: https://tracker.ceph.com/issues/81355
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh