]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: use Device.lvm_size in batch strategies
authorAndrew Schoen <aschoen@redhat.com>
Thu, 6 Dec 2018 15:56:58 +0000 (09:56 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 6 Dec 2018 18:29:47 +0000 (12:29 -0600)
commit071e7ce41a58702c0eb84c35bd9388e2ec24ac13
tree7089ede72029f0d89465631e4af7b0c120b0dff8
parent5197c16b44fcf344862201549777dc2935fc19a3
ceph-volume: use Device.lvm_size in batch strategies

We should show the user what the size of the device will be after lvm
creates a pv out of it. This way there isn't a discrepency between the
sizes that are reported to the user and what is actually created.

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