diff options
author | Adam King <47704447+adk3798@users.noreply.github.com> | 2023-12-13 18:15:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 18:15:53 +0100 |
commit | 848c66d16898e25388bf3c1f3ec3ce06f00eacb8 (patch) | |
tree | 547ac5b22e7bba3b703fb4cd1f5a82f3938d8dd1 | |
parent | Merge pull request #54681 from adk3798/device-limit-testing (diff) | |
parent | python-common: fix osdspec_affinity check (diff) | |
download | ceph-848c66d16898e25388bf3c1f3ec3ce06f00eacb8.tar.xz ceph-848c66d16898e25388bf3c1f3ec3ce06f00eacb8.zip |
Merge pull request #54786 from guits/fix_63729
python-common: fix osdspec_affinity check
Reviewed-by: Adam King <adking@redhat.com>
-rw-r--r-- | src/python-common/ceph/deployment/drive_selection/selector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python-common/ceph/deployment/drive_selection/selector.py b/src/python-common/ceph/deployment/drive_selection/selector.py index 31e330432cd..041f1ed3044 100644 --- a/src/python-common/ceph/deployment/drive_selection/selector.py +++ b/src/python-common/ceph/deployment/drive_selection/selector.py @@ -142,7 +142,7 @@ class DriveSelection(object): other_osdspec_affinity = '' for lv in disk.lvs: if 'osdspec_affinity' in lv.keys(): - if lv['osdspec_affinity'] != self.spec.service_id: + if lv['osdspec_affinity'] != str(self.spec.service_id): other_osdspec_affinity = lv['osdspec_affinity'] break if other_osdspec_affinity: |