]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: The command of 'ceph orch daemon restart mgr.xxx' may case mgr daemon... 41002/head
authorjianglong01 <jianglong01@qianxin.com>
Fri, 23 Apr 2021 10:10:30 +0000 (18:10 +0800)
committerjianglong01 <jianglong01@qianxin.com>
Tue, 27 Apr 2021 03:09:09 +0000 (11:09 +0800)
commitcc5b77ee870e60c2c9d241d5826810eedb295e26
treea743cfa8359e16dc703559e843efea0791c0f971
parent9cd823a81c9b1bc83304aadbd009a6936adb3918
mgr/cephadm: The command of 'ceph orch daemon restart mgr.xxx' may case mgr daemon loop to restart
Scene:
The mgr daemon is active. After execing restart command, it may be save "scheduled_daemon_actions": {"mgr.xxx": "restart"}}" to config-key.
So the mgr daemon will restart before call rm_scheduled_daemon_action which case mgr daemon will load restart forever.

Fix mgr infinite restart issue refering to the same solution as 'ceph orch daemon redeploy'.

Signed-off-by: jianglong01 <jianglong01@qianxin.com>
src/pybind/mgr/cephadm/module.py