From: Guillaume Abrioux Date: Thu, 28 Oct 2021 23:28:38 +0000 (+0200) Subject: mgr: append balancer module to ceph_mgr_modules X-Git-Tag: v4.0.69 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f5dd0a8c37dc100e6e1fe7a4bb36e82b69d4675a;p=ceph-ansible.git 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) --- 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']) }}"