]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
reset failed count of ceph-mgr
authorChristian Zunker <christian.zunker@codecentric.cloud>
Wed, 20 Jun 2018 05:01:06 +0000 (07:01 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 20 Jun 2018 11:59:16 +0000 (13:59 +0200)
commit48394597c9b57897d4570e73c4e0409df58ca035
treeecab278f8bf325933783184c6bc42166b3d57fce
parent68eb850b27cd65571b9654fe7c1fd9c1f8435fdd
reset failed count of ceph-mgr

Depending on your setup, ceph-mgr might get restarted multiple times.
When this is done to fast, systemd will prevent further restarts because of
configured limits in the ceph-mgr systemd unit file.

Resetting the failure count will prevent this problem. The reset is done before
the restart so in case of a real problem during the restart it still fails.

Fixes: #2768
Signed-off-by: Christian Zunker <christian.zunker@codecentric.cloud>
roles/ceph-defaults/templates/restart_mgr_daemon.sh.j2