summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2011-05-13 09:47:08 -0500
committerJosh Kearney <josh@jk0.org>2011-05-13 09:47:08 -0500
commita8941345c97cccb9171e3d1e172f607dc8d17e6a (patch)
treed3d272d65b3bcb5a5a702f39ff65bd0c078c0732 /nova/compute
parent0576766cdf3480ad02159671d2dfc0bdcb154934 (diff)
Make set_admin_password non-blocking to API.
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 63884be97..1c28b6a89 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -484,7 +484,7 @@ class API(base.Base):
def _find_host(self, context, instance_id):
"""Find the host associated with an instance."""
- for attempts in xrange(10):
+ for attempts in xrange(30):
instance = self.get(context, instance_id)
host = instance["host"]
if host: