]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: combine the LVPath arg validator with ValidDevice
authorAndrew Schoen <aschoen@redhat.com>
Tue, 13 Nov 2018 18:28:23 +0000 (12:28 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 14 Nov 2018 16:36:29 +0000 (10:36 -0600)
commitd6a5a7606c3a0c1f1624c5784abb02bb1a4e1620
treedf1b3b58c32be5a83869643a0cb697469c14b0da
parent568a0ce5be0161541772ceacb9b81652f51659f5
ceph-volume: combine the LVPath arg validator with ValidDevice

This combines the two arg validators and makes both batch and
prepare/active both use ValidDevice.

This will also allow us to use lvs with a full path, like
/dev/vg/lv instead of always enforcing vg/lv.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rm#27062
src/ceph-volume/ceph_volume/devices/lvm/common.py
src/ceph-volume/ceph_volume/util/arg_validators.py