]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume simple.scan better detection for ceph-disk data devices 24335/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 20:28:09 +0000 (16:28 -0400)
commitffa1649e330ad0c11a18e11ebeab38198bb61ba2
tree355cfcafe661a9b3b6fa21f633ca15cb00c2dfbd
parent0f8d13ee8639134ab32ee41084c8764940e8bd52
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