]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: lvm activate: infer bluestore or filestore
authorSage Weil <sage@newdream.net>
Thu, 5 Aug 2021 16:02:22 +0000 (12:02 -0400)
committerSage Weil <sage@newdream.net>
Tue, 2 Nov 2021 15:20:35 +0000 (11:20 -0400)
commit451feec4b269e2a5816687136adc74082ec8f2f3
tree0bf1208b0997b0a6a341da1d9444dc2126a8e8f1
parent1ce1b3b8ea8ef6b99abe8c14d69d83a47cbaf762
ceph-volume: lvm activate: infer bluestore or filestore

No need to require --filestore and/or --bluestore args since we can tell
from the LV tags which one it is.

We can't drop the arguments without breaking existing users, though, so
redefine them to mean *force* bluesetore or filestore activation (even
though this will error out if the tags don't match).

Signed-off-by: Sage Weil <sage@newdream.net>
src/ceph-volume/ceph_volume/devices/lvm/activate.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_activate.py