]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix lvm activate --all --no-systemd 43268/head
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 24 Aug 2021 21:17:45 +0000 (17:17 -0400)
committerCory Snyder <csnyder@iland.com>
Wed, 22 Sep 2021 18:20:33 +0000 (14:20 -0400)
commitb897e18caf60efa6cf8764c114f04f06dd0942a7
tree262d7aeac287acf3d052a6d91e156d74591e5ff0
parent9b3b2d9ad8f994344037d6f85fdf6a5ced74aec9
ceph-volume: fix lvm activate --all --no-systemd

When using a system without systemd then the `lvm activate --all --no-systemd`
subcommand still calls systemd.
We already allow users to activate a single OSD without systemd so there's
no reason to not do the same with --all (because activate_all calls activate).

Fixes: https://tracker.ceph.com/issues/25070
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 8e402e112a6383555e2df31ba3321e5956f1841a)
src/ceph-volume/ceph_volume/devices/lvm/activate.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_activate.py