]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerJan Fajerski <jfajerski@suse.com>
Fri, 19 Jul 2019 10:51:18 +0000 (12:51 +0200)
commit6b8df6c1f238bd562eb90f3bdd2b27caa4f3b10f
tree5ec24c0788ea7fc0eb57c92187f759d76c25551c
parentf92eda34d6cb41890036a39ce7746454b1a871de
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>
(cherry picked from commit aaa915cfe6678d5326b2c15730febfff79e40463)
src/ceph-volume/ceph_volume/devices/lvm/strategies/validators.py