]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
restart_osd_daemon.sh.j2 - Reset RETRIES between calls of check_pgs
authorMatthew Vernon <mv3@sanger.ac.uk>
Fri, 21 Sep 2018 16:55:01 +0000 (17:55 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Mon, 24 Sep 2018 08:20:32 +0000 (08:20 +0000)
commitaa97ecf0480c1075187b38038463f2f52144c754
tree4919d41a647626453fc00db21fdeed1cadb5cbd5
parentbd82c380c4b7e24963ecc2f9bf11b4a7f57f03d7
restart_osd_daemon.sh.j2 - Reset RETRIES between calls of check_pgs

Previously RETRIES was set (by default to 40) once at the start of the
script; this meant that it would only ever wait for up to 40 lots of
30s across *all* the OSDs on a host before bombing out. In fact, we
want to be prepared to wait for the same amount of time after each OSD
restart for the clusters' pgs to be happy again before continuing.

Closes: #3154
Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
roles/ceph-defaults/templates/restart_osd_daemon.sh.j2