]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix lvm activate --all --no-systemd 43267/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:19:59 +0000 (14:19 -0400)
commit6082da8e414ba0d243a62e231045bd82533b7408
tree54875e81b76056379625979104092fe3affd0ab7
parente708ae5ff50b3aeffb2830104ad139e28ee6bf7d
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