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 <gabrioux@redhat.com>
(cherry picked from commit 45a1d634d8)
pull/6997/head v4.0.69
Guillaume Abrioux 2021-10-29 01:28:38 +02:00
parent 48a8b1cc34
commit f5dd0a8c37
1 changed files with 2 additions and 2 deletions

View 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']) }}"