]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
switch_to_containers: do not try to redeploy monitors
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 8 Feb 2019 07:52:03 +0000 (08:52 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 13 Feb 2019 08:42:27 +0000 (09:42 +0100)
commit7e0a70f7a8c2cdd0475081f9837a2917425d35e3
tree7b0bc7375ef3fbd3cb597e02474b0bfecbf94708
parentad3a489847409c64080d7efac380164941ef28c5
switch_to_containers: do not try to redeploy monitors

`ceph-mon` tries to redeploy monitors because it assumes it was not yet
deployed since `mon_socket_stat` and `ceph_mon_container_stat` are
undefined (indeed, we stop the daemon before calling `ceph-mon` in the
switch_to_containers playbook).

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml
roles/ceph-mon/tasks/main.yml