]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: do ceph-volume activate+deactivate as part of systemd unit
authorSage Weil <sage@redhat.com>
Fri, 13 Dec 2019 14:37:29 +0000 (08:37 -0600)
committerSage Weil <sage@redhat.com>
Sat, 14 Dec 2019 15:22:12 +0000 (09:22 -0600)
commitb800c9a9211de43efcb85c1f54ceb8257c79d4f4
treeb5006838e0c37679834b491f15fd2dea0892ef4e
parentbf0e51a5b7b7bff63e407d86f320eecf0aa95051
cephadm: do ceph-volume activate+deactivate as part of systemd unit

1- Do the activate as part of the unit on start, since it may include
setup that disappears on a reboot, like starting up the dmcrypted volume.

2- Do the matching deactivate step when the container stops, like shutting
down the dmcrypt volume.

Right now the OSD is the only thing that needs this special behavior.

Signed-off-by: Sage Weil <sage@redhat.com>
src/cephadm/cephadm