]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: fix lvm activate --all --no-systemd
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 24 Aug 2021 21:17:45 +0000 (17:17 -0400)
committerDimitri Savineau <dsavinea@redhat.com>
Tue, 24 Aug 2021 21:22:28 +0000 (17:22 -0400)
commit8e402e112a6383555e2df31ba3321e5956f1841a
tree7da0216bd2b53689e97b366bce0338fa05e3e3d1
parent8a3448f6a968cb63b89cca7ec318a2af24419382
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>
src/ceph-volume/ceph_volume/devices/lvm/activate.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_activate.py