]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: osd should not be zap when it is running
authorjianglong01 <jianglong01@qianxin.com>
Mon, 6 Sep 2021 10:37:06 +0000 (18:37 +0800)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 2 Nov 2021 09:01:18 +0000 (10:01 +0100)
commit888a2e960c02a0acfa4030dcbdcb341da668d978
tree37e9abf0a9c9786a821ee32e40337b22cfe4a6ec
parentbf78ff317dacbeca24715ad451b89e40eba09b3c
mgr/cephadm: osd should not be zap when it is running

When osd is running, we exec the command of "ceph orch device zap".
Then ceph-volume will exec dd command which cause the osd of lvs to be destroyed.
If the osd of systemctl unit restarts, it will be unable to boot.

Signed-off-by: jianglong01 <jianglong01@qianxin.com>
(cherry picked from commit aed472f7b6663c487a5ae89fcdd788b32910b621)
src/pybind/mgr/cephadm/module.py