]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: use Device.lvm_size in batch strategy validators
authorAndrew Schoen <aschoen@redhat.com>
Thu, 6 Dec 2018 16:49:03 +0000 (10:49 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 6 Dec 2018 18:29:47 +0000 (12:29 -0600)
commitaaa915cfe6678d5326b2c15730febfff79e40463
treebeeb785c644b326d6f4288e7703677dafa514ce2
parent071e7ce41a58702c0eb84c35bd9388e2ec24ac13
ceph-volume: use Device.lvm_size in batch strategy validators

This will validate the devices on the size that lvm will allow to be
used, not the raw physical size of the device.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/strategies/validators.py