mirror of
https://github.com/ceph/ceph
synced 2025-03-06 08:20:12 +00:00
Merge pull request #35589 from jschmid1/osd_servicedescription_fix
mgr/cephadm: exclude osds without osdspec_affinity Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
commit
eabfd2e1e6
@ -1279,6 +1279,9 @@ you may want to run:
|
||||
OSDs do not know the affinity to their spec out of the box.
|
||||
"""
|
||||
n = f"osd.{dd.osdspec_affinity}"
|
||||
if not dd.osdspec_affinity:
|
||||
# If there is no osdspec_affinity, the spec should suffice for displaying
|
||||
continue
|
||||
if n in self.spec_store.specs:
|
||||
spec = self.spec_store.specs[n]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user