Manage all OSDs before managing pools.

This commit will ensure that all OSDs are being managed before we
  create any pools.

  This needs to be done to prevent instances where a pool is defined but
  there are no initial OSDs to support it before services depending on
  the pool attempt to use it.

Closes-Bug: 1614547
Change-Id: Ifd3bcb4b922b467add4f3177ed487aab491a1eaf
This commit is contained in:
Cody Herriges 2016-08-19 14:27:46 -07:00
parent aa78806df2
commit f49341bc72

View File

@ -59,6 +59,7 @@ define ceph::pool (
Ceph_config<||> -> Exec["create-${name}"]
Ceph::Mon<||> -> Exec["create-${name}"]
Ceph::Key<||> -> Exec["create-${name}"]
Ceph::Osd<||> -> Exec["create-${name}"]
exec { "create-${name}":
command => "/bin/true # comment to satisfy puppet syntax requirements
set -ex