]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: osd should not be zap when it is running 43062/head
authorjianglong01 <jianglong01@qianxin.com>
Mon, 6 Sep 2021 10:37:06 +0000 (18:37 +0800)
committerjianglong01 <jianglong01@qianxin.com>
Tue, 7 Sep 2021 01:47:17 +0000 (09:47 +0800)
commitaed472f7b6663c487a5ae89fcdd788b32910b621
treed48cdbb2b7ecd5fa5471bf479fb9e86f335d7e42
parent1daa5c2356c042dc0a21f5cfe241340dafc0841b
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>
src/pybind/mgr/cephadm/module.py