From: Dimitri Savineau Date: Fri, 30 Oct 2020 14:54:16 +0000 (-0400) Subject: rolling_update: fix mgr start with mon collocation X-Git-Tag: v6.0.0alpha3~66 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3d3ce263274d648f8fb376716f52b8b91b6f1313;p=ceph-ansible.git rolling_update: fix mgr start with mon collocation 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 --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 20db37077..021d67477 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -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