]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: support no_systemd with lvm migrate 43092/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:54:52 +0000 (17:54 +0200)
commitf616d507e6a07e18bc549bfb8fe05297045021ee
tree5283bfc0c810b995403636e5b91479042fc7885a
parent59c73c082189c0f279d86688707294694fd83e97
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