]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mgr: add a check task for all mgr to be up
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 22 Aug 2019 12:33:20 +0000 (14:33 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 22 Aug 2019 15:11:19 +0000 (17:11 +0200)
commitc32d690a4cd1aa60987b18f36731696d12615c0a
tree5c582ca13d86babdfa3b820c79ca8fe91d347bed
parent12e61d190e70951db33ff5a0b838316113efb1eb
mgr: add a check task for all mgr to be up

This can't be backported from master since there was too many
modifications meantime.

When mgr aren't all ready, sometimes the following error can show up:

```
stderr: 'Error ENOENT: all mgr daemons do not support module ''status'', pass --force to force enablement'
```

This commit adds a check so all mgr are available when we try to enable
modules.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mgr/tasks/main.yml