CephManager: Wait 1 second for pool creation to get far enough along

Fixes: http://tracker.ceph.com/issues/15673

Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
David Zafman 2016-04-29 14:16:59 -07:00
parent a595651c54
commit 8da6e97bd4

View File

@ -1279,6 +1279,7 @@ class CephManager:
self.raw_cluster_cmd('osd', 'pool', 'create',
pool_name, str(pg_num))
self.pools[pool_name] = pg_num
time.sleep(1)
def add_pool_snap(self, pool_name, snap_name):
"""