]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
CephManager: Wait 1 second for pool creation to get far enough along
authorDavid Zafman <dzafman@redhat.com>
Fri, 29 Apr 2016 21:16:59 +0000 (14:16 -0700)
committerDavid Zafman <dzafman@redhat.com>
Fri, 29 Apr 2016 21:29:13 +0000 (14:29 -0700)
Fixes: http://tracker.ceph.com/issues/15673
Signed-off-by: David Zafman <dzafman@redhat.com>
tasks/ceph_manager.py

index 1917e3ba6459173d501e96aeb8e8c79ff7e05f82..a76f5769ae22ec8f2b60ce5f4de95f8534928e1b 100644 (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):
         """