]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Fix restarting OSDs twice during a rolling update.
authorSubhachandra Chandra <schandra@grailbio.com>
Fri, 16 Mar 2018 17:10:14 +0000 (10:10 -0700)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 23 May 2018 07:15:45 +0000 (09:15 +0200)
commit51b2022584f0cedc2d669797a19ceb1b34915be8
treeb25a4d3df2696e5fc65c77afecf0f295cad57b15
parent663c9ac9456c9d6296d19bdd562af1950447a641
Fix restarting OSDs twice during a rolling update.

During a rolling update, OSDs are restarted twice currently. Once, by the
handler in roles/ceph-defaults/handlers/main.yml and a second time by tasks
in the rolling_update playbook. This change turns off restarts by the handler.
Further, the restart initiated by the rolling_update playbook is more
efficient as it restarts all the OSDs on a host as one operation and waits
for them to rejoin the cluster. The restart task in the handler restarts one
OSD at a time and waits for it to join the cluster.

(cherry picked from commit c7e269fcf5620a49909b880f57f5cbb988c27b07)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-defaults/handlers/main.yml