]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume simple.scan better detection for ceph-disk data devices 24330/head
authorAlfredo Deza <adeza@redhat.com>
Thu, 27 Sep 2018 20:17:29 +0000 (16:17 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 27 Sep 2018 20:17:29 +0000 (16:17 -0400)
commitc502e5f64aa4f0d832c14680e1731e58d8a3770b
tree2a748ff33d21bdb0cf622264f33e0d4e2f0ff0e8
parent8f072eb3f940a6714089b37a6fbacd549420a454
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>
src/ceph-volume/ceph_volume/devices/simple/scan.py