Skip to content

Commit

Permalink
rolling_update: fix mgr start with mon collocation
Browse files Browse the repository at this point in the history
cec994b introduced a regression when a mgr is collocated with a mon.
During the mon upgrade, the mgr service is masked to avoid to be
restarted on packages update.
Then the start mgr task is failing because the service is still masked.
Instead we should unmask it.

Fixes: #5983

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
  • Loading branch information
dsavineau authored and guits committed Nov 3, 2020
1 parent 16afe90 commit 3d3ce26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure-playbooks/rolling_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
name: ceph-mgr@{{ ansible_hostname }}
state: started
enabled: yes
masked: no
when: inventory_hostname in groups[mgr_group_name] | default([])
or groups[mgr_group_name] | default([]) | length == 0

Expand Down

0 comments on commit 3d3ce26

Please sign in to comment.