]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: support no_systemd with lvm migrate 43091/head
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 3 Sep 2021 16:47:25 +0000 (12:47 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 8 Sep 2021 15:17:32 +0000 (17:17 +0200)
commit3363ae2a47fa54b9963034e6590123c9abdb6ffa
tree6ffc97cc4051ab9bb209edb6a8dfba870b3898ca
parentbdbded860291fba77b0ab655e851541f1ee1bfff
ceph-volume: support no_systemd with lvm migrate

The `ceph-volume lvm migrate/new-db/new-wal` commands don't support
running on non systemd systems or within containers.
Like other ceph-volume commands (lvm activate/batch/zap or raw activate)
we also need to be able to use the --no-systemd flag.

Fixes: https://tracker.ceph.com/issues/51854
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 96d84acf5aedc9cf462230fd5fb685f0562a1371)
doc/man/8/ceph-volume.rst
src/ceph-volume/ceph_volume/devices/lvm/migrate.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_migrate.py