]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: fix mgr start with mon collocation
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 30 Oct 2020 14:54:16 +0000 (10:54 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 3 Nov 2020 08:10:17 +0000 (09:10 +0100)
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>
infrastructure-playbooks/rolling_update.yml

index 20db370777808cff3579e637c9253a68806e8665..021d67477e6b7f6d86ba312269d56cc412174ace 100644 (file)
         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