]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mgr: wait for all mgr to be available
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 8 Apr 2019 11:34:59 +0000 (13:34 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 9 Apr 2019 04:12:29 +0000 (06:12 +0200)
commitf596cc1711428ee801fc04be2a94b36a5e342a00
tree95d101b9f9bd7bd41d2b4cc8f2ed4e9bfc5c3601
parent4eb57ad9c43aecf6da21ce15b8d54aef93609457
mgr: wait for all mgr to be available

before managing mgr modules, we must ensure all mgr are available
otherwise we can hit failure like following:

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

It happens because all mgr are not yet available when trying to manage
with mgr modules.

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