From: Vishal Kanaujia Date: Wed, 30 May 2018 07:55:18 +0000 (+0530) Subject: Rolling upgrades should use norebalance flag for OSDs X-Git-Tag: v3.2.0beta1~59 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=08d94324545b3c4e0f6a1caf6224f37d1c2b36db;p=ceph-ansible.git Rolling upgrades should use norebalance flag for OSDs The rolling upgrades playbook should have norebalance flag set for OSDs upgrades to wait only for recovery. Fixes: #2657 Signed-off-by: Vishal Kanaujia --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 47e7111b8..8a6db318d 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -183,6 +183,7 @@ command: ceph --cluster {{ cluster }} osd set {{ item }} with_items: - noout + - norebalance - noscrub - nodeep-scrub delegate_to: "{{ mon_host }}" @@ -193,6 +194,7 @@ 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 }}" @@ -413,6 +415,7 @@ 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] }}"