The rolling upgrades playbook should have norebalance flag set for
OSDs upgrades to wait only for recovery.
Fixes: #2657
Signed-off-by: Vishal Kanaujia <vishal.kanaujia@flipkart.com>
(cherry picked from commit
08d94324545b3c4e0f6a1caf6224f37d1c2b36db)
command: ceph --cluster {{ cluster }} osd set {{ item }}
with_items:
- noout
+ - norebalance
- noscrub
- nodeep-scrub
delegate_to: "{{ mon_host }}"
docker exec ceph-mon-{{ hostvars[mon_host]['ansible_hostname'] }} ceph --cluster {{ cluster }} osd set {{ item }}
with_items:
- noout
+ - norebalance
- noscrub
- nodeep-scrub
delegate_to: "{{ mon_host }}"
command: "{{ docker_exec_cmd_update_osd|default('') }} ceph osd unset {{ item }} --cluster {{ cluster }}"
with_items:
- noout
+ - norebalance
- noscrub
- nodeep-scrub
delegate_to: "{{ groups[mon_group_name][0] }}"