]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mgr: append balancer module to ceph_mgr_modules
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Oct 2021 23:28:38 +0000 (01:28 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Oct 2021 23:28:38 +0000 (01:28 +0200)
otherwise the osd play in rolling_update can fail when it tries to
disable it before upgrading osd nodes.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mgr/tasks/common.yml

index 95a56ccb4e2c973fc0257a125be0826f1df957c7..0eb86b8a5d6e6dd30c27979589fb28b97cddd461 100644 (file)
@@ -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']) }}"