]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commit
Fix timing issue with ceph pool create 207/head
authormick.mccarthy <mick.mccarthy@workday.com>
Wed, 5 Aug 2015 14:38:57 +0000 (15:38 +0100)
committermick.mccarthy <mick.mccarthy@workday.com>
Thu, 6 Aug 2015 09:38:26 +0000 (10:38 +0100)
commit47cf288448911a40b42f60020e6181245ce602aa
tree5378d7e50779afc407c93cb2b3a03e3a47d84194
parentc6f1e1cd5c314b4daa5366bef0ed433519c562d9
Fix timing issue with ceph pool create

There are scenarios being encountered where ceph::mon attempts to create
pools before all the required ceph services are up and running. This
causes the recipe to fail.

My proposed solution to this issue is to remove the 'ceph pool create'
block from the ceph::mon recipe and place it in it's own separate recipe
(ceph::pools), which is placed below ceph::mon in the runlist for the role
(ceph-mon.json).

Having this code in a separate recipe allows better control of when the
pools are created.
recipes/mon.rb
recipes/pools.rb [new file with mode: 0644]
roles/ceph-mon.json