]> git-server-git.apps.pok.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 11:12:32 +0000 (11:12 +0000)
commit142eccc6fd3391670c22841e2c3c4751a2254dfe
tree51cb74665878bf443fb109c3fc3134abb311417a
parent2b1159dd109ceb8f1f1228068d93c27d82979702
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>
(cherry picked from commit aa97ecf0480c1075187b38038463f2f52144c754)
roles/ceph-defaults/templates/restart_osd_daemon.sh.j2