From 9f1345a85e3979b667a14017c5cf0621047fe049 Mon Sep 17 00:00:00 2001 From: Vishal Kanaujia Date: Wed, 30 May 2018 13:25:18 +0530 Subject: [PATCH] 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 (cherry picked from commit 08d94324545b3c4e0f6a1caf6224f37d1c2b36db) --- infrastructure-playbooks/rolling_update.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index c38eca686..8fccf57d4 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -184,6 +184,7 @@ command: ceph --cluster {{ cluster }} osd set {{ item }} with_items: - noout + - norebalance - noscrub - nodeep-scrub delegate_to: "{{ mon_host }}" @@ -194,6 +195,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 }}" @@ -391,6 +393,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] }}" -- 2.39.5