]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mdss: move cephfs pools creation in ceph-mds
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 23 May 2018 03:07:38 +0000 (05:07 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 24 May 2018 16:39:38 +0000 (09:39 -0700)
commit3a0e168a76beaf8fb43c6afa56c6cf2b634a8aa8
tree12a9d1ba32810ce5f6ced90ec568eea5f9e9993d
parenta10e73d78d07179ff20ea7cabc2f2ccd1b1b967f
mdss: move cephfs pools creation in ceph-mds

When deploying a large number of OSD nodes it can be an issue because the
protection check [1] won't pass since it tries to create pools before all
OSDs are active.

The idea here is to move cephfs pools creation in `ceph-mds` role.

[1] https://github.com/ceph/ceph/blob/e59258943bcfe3e52d40a59ff30df55e1e6a3865/src/mon/OSDMonitor.cc#L5673

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1578086
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mds/tasks/create_mds_filesystems.yml [new file with mode: 0644]
roles/ceph-mds/tasks/main.yml
roles/ceph-mon/tasks/create_mds_filesystems.yml [deleted file]
roles/ceph-mon/tasks/main.yml
roles/ceph-osd/tasks/main.yml