]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
drive_group: fix limit filter in drive_selection.selector 49969/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 1 Feb 2023 16:51:18 +0000 (17:51 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 14 Feb 2023 15:53:50 +0000 (16:53 +0100)
commit8b7da77ae0bf3b7c2ab28cd54b166bc1ff43b437
tree432d0e48eedeeddb0c897c0cad3632106f92c28f
parent410cb54b6151d9b7c0e1e9cc07f5bc832204904d
drive_group: fix limit filter in drive_selection.selector

When multiple osd service specs with 'limit' filter are applied,
the current logic makes the second service speec
try to pick devices that are already used by the first service spec.

Fixes: https://tracker.ceph.com/issues/58626
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/python-common/ceph/deployment/drive_selection/selector.py
src/python-common/ceph/deployment/inventory.py