]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
ceph_manager: add a default timeout of 5 minutes for mon quorum
authorJosh Durgin <josh.durgin@dreamhost.com>
Thu, 17 Nov 2011 19:05:12 +0000 (11:05 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Thu, 17 Nov 2011 19:05:12 +0000 (11:05 -0800)
teuthology/task/ceph_manager.py

index 6a4529f63f96641160b8259332c8bc899d2f3ead..0fb2b4ac0b3dae490e64b383910272cbc178a20c 100644 (file)
@@ -299,7 +299,7 @@ class CephManager:
         self.log.debug('quorum_status is %s', out)
         return j['quorum']
 
-    def wait_for_mon_quorum_size(self, size, timeout=None):
+    def wait_for_mon_quorum_size(self, size, timeout=300):
         self.log('waiting for quorum size %d' % size)
         start = time.time()
         while not len(self.get_mon_quorum()) == size: