]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fall back to PARTTYPE if PARTLABEL is empty 29401/head
authorJan Fajerski <jfajerski@suse.com>
Tue, 30 Jul 2019 15:32:06 +0000 (17:32 +0200)
committerJan Fajerski <jfajerski@suse.com>
Thu, 1 Aug 2019 13:35:30 +0000 (15:35 +0200)
commit82d2ae7ffdf62ca93c7848fb62e506db4cda893c
tree93ae2a66309122aa811206eb11ab91c4917348d5
parentbb29110c3c6e081568231131c70522dee6d12bb5
ceph-volume: fall back to PARTTYPE if PARTLABEL is empty

In some cases ceph-disk does not populate PARTLABEL for wal and db
partitions. This commit adds the assumption that the empty string is a
valid label and falls back to identifying those disks by PARTTYPE.

Fixes: https://tracker.ceph.com/issues/40917
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py