]> git.apps.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)
committerSébastien Han <seb@redhat.com>
Tue, 22 May 2018 17:23:07 +0000 (19:23 +0200)
commitc7e269fcf5620a49909b880f57f5cbb988c27b07
tree617687c5ea572b9f1dd114583ae7e5b49ea20c2d
parent4d1338b4bffb2db18b699dd08e2d5caa87ba589d
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.
roles/ceph-defaults/handlers/main.yml