]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mds: move mds fs pools creation
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 25 May 2018 00:39:01 +0000 (02:39 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 25 May 2018 09:16:56 +0000 (11:16 +0200)
commit608ea947a9a2dcf35b4a9cf43c0ea0486c36dfb5
treeafe7bda1a642c63a20d358b19f001d5a9def4887
parent1c084efb3cb7e48d96c9cbd6bd05ca4f93526853
mds: move mds fs pools creation

When collocating mds on monitor node, the cephpfs will fail
because `docker_exec_cmd` is reset to `ceph-mds-monXX` which is
incorrect because we need to delegate the task on `ceph-mon-monXX`.
In addition, it wouldn't have worked since `ceph-mds-monXX` container
isn't started yet.

Moving the task earlier in the `ceph-mds` role will fix this issue.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1578086
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mds/tasks/main.yml