]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: return lvs as vg/lv from ValidDevice if as_string is True
authorAndrew Schoen <aschoen@redhat.com>
Tue, 13 Nov 2018 19:02:39 +0000 (13:02 -0600)
committerAlfredo Deza <adeza@redhat.com>
Wed, 14 Nov 2018 20:07:07 +0000 (15:07 -0500)
commit3856fae2bd1dbcc58f40303f911039c80572b375
tree6de039fd2697e27044d1ec83cb7f9c9034899b5c
parent27bf200174c5c0cc12616fc0f45f35a527468d07
ceph-volume: return lvs as vg/lv from ValidDevice if as_string is True

All code in prepare and activate expect lvs to be in that format.
Eventually we can refactor all that to use the Device class as well.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rm#27062
(cherry picked from commit fdf7f3c575299b6be0ac40fb6eee5106cea010c9)
src/ceph-volume/ceph_volume/util/arg_validators.py