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>
hotfix-bz2014304
Guillaume Abrioux 2021-10-29 01:28:38 +02:00
parent a6b0e65383
commit 45a1d634d8
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']) }}"