Skip to content

Commit

Permalink
mgr: append balancer module to ceph_mgr_modules
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
guits committed Oct 28, 2021
1 parent a6b0e65 commit 45a1d63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/ceph-mgr/tasks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']) }}"

0 comments on commit 45a1d63

Please sign in to comment.