]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: don't keep device lists as sets 30334/head
authorJan Fajerski <jfajerski@suse.com>
Thu, 15 Aug 2019 10:20:00 +0000 (12:20 +0200)
committerJan Fajerski <jfajerski@suse.com>
Wed, 11 Sep 2019 12:36:44 +0000 (14:36 +0200)
commit53cb311afa98e42c534815d2d42227aa3a37db32
tree692b79236b7a0bb8b78ae81c62120deeecc66e77
parentfbb26c8376b2fe0c6485c98604591d557ba65bf2
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