From f5dd0a8c37dc100e6e1fe7a4bb36e82b69d4675a Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 29 Oct 2021 01:28:38 +0200 Subject: [PATCH] mgr: append balancer module to ceph_mgr_modules otherwise the osd play in rolling_update can fail when it tries to disable it before upgrading osd nodes. Signed-off-by: Guillaume Abrioux (cherry picked from commit 45a1d634d850ad971c71dbe9191b97caa3068b5a) --- roles/ceph-mgr/tasks/common.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-mgr/tasks/common.yml b/roles/ceph-mgr/tasks/common.yml index 95a56ccb4..0eb86b8a5 100644 --- a/roles/ceph-mgr/tasks/common.yml +++ b/roles/ceph-mgr/tasks/common.yml @@ -92,6 +92,6 @@ ceph_mgr_modules: "{{ ceph_mgr_modules | union(['dashboard', 'prometheus']) }}" when: dashboard_enabled | bool -- name: append pg_autoscaler module to ceph_mgr_modules +- name: append balancer, pg_autoscaler module to ceph_mgr_modules set_fact: - ceph_mgr_modules: "{{ ceph_mgr_modules | union(['pg_autoscaler']) }}" + ceph_mgr_modules: "{{ ceph_mgr_modules | union(['pg_autoscaler', 'balancer']) }}"