Commit 73f28300 authored by Marco Mariani's avatar Marco Mariani

revert 081556ba... and solve it by catching ResourceNotReady

parent f48b3df2
......@@ -138,7 +138,7 @@ class Recipe(object):
try:
options['connection-%s' % param] = str(
self.instance.getConnectionParameter(param))
except (slapmodule.NotFoundError, slapmodule.ServerError):
except (slapmodule.NotFoundError, slapmodule.ServerError, slapmodule.ResourceNotReady):
options['connection-%s' % param] = ''
if self.failed is None:
self.failed = param
......
......@@ -242,9 +242,7 @@ path = $${basedirectory:services}/slapreport
[publish-connection-informations]
recipe = slapos.cookbook:publish
backend_url = $${apache-php:url}
url = http://www.example.com/
# XXX instances 7 and 8 are not build at all without the above fake url.
#url = $${request-frontend:connection-site_url}
url = $${request-frontend:connection-site_url}
# Deploy promises scripts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment