]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume simple.scan better detection for ceph-disk data devices 24334/head
authorAlfredo Deza <adeza@redhat.com>
Thu, 27 Sep 2018 20:17:29 +0000 (16:17 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 28 Sep 2018 19:35:30 +0000 (15:35 -0400)
commit79b04ddeee54446e1bcb5ccf3e067070bf5ddb91
tree326e1d8541670dee6f57fa079272b5f01b4eccd2
parent69b42346831aa807f6cbf933977d7bb175189d1d
ceph-volume simple.scan better detection for ceph-disk data devices

Uses the new ``CephDiskDevice`` to look into PARTLABEL from both lsblk
(the default) falling back to blkid, which in some cases has the right
value when lsblk fails.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit c502e5f64aa4f0d832c14680e1731e58d8a3770b)
src/ceph-volume/ceph_volume/devices/simple/scan.py