]> 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)
committerAdam King <adking@redhat.com>
Tue, 17 May 2022 14:25:58 +0000 (10:25 -0400)
commit236e5a7ac90d540eecaf0b034a6e8509d58096a4
tree31585cd8e9e3e64807ea303c84cba5e72b9dec97
parentd4dfb3705c16fe430f6744cf3e509c7f9d9765c5
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>
(cherry picked from commit 451feec4b269e2a5816687136adc74082ec8f2f3)
src/ceph-volume/ceph_volume/devices/lvm/activate.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_activate.py