]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: don't keep device lists as sets 29702/head
authorJan Fajerski <jfajerski@suse.com>
Thu, 15 Aug 2019 10:20:00 +0000 (12:20 +0200)
committerJan Fajerski <jfajerski@suse.com>
Fri, 16 Aug 2019 08:40:51 +0000 (10:40 +0200)
commita86e07fabddeb2a331b798f91ea5be12f6ceae7f
treeb486c34807e10ae30f6844ada5240a2c67ad6092
parentb06ac13e048b1eee0d6bafebf0bd2a892917c452
ceph-volume: don't keep device lists as sets

This was introduced by #27754. The explicit device lists were cast to
sets but other parts of the code where not updated accordingly. To avoid
touching all code places, only cast to sets for disjoint test and keep
lists otherwise.

Fixes: https://tracker.ceph.com/issues/41292
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 0534cf188a671096d5ddb9d48cdae3dccc6c0b18)
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/tests/devices/lvm/strategies/test_filestore.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py