diff --git a/slapos/recipe/request.py b/slapos/recipe/request.py index e326810f0306a4dbf0d218df6003d8cd7e8b2047..c069b49101de2d27974f12589b7f11febd607ba1 100644 --- a/slapos/recipe/request.py +++ b/slapos/recipe/request.py @@ -131,7 +131,7 @@ class Recipe(object): try: options['connection-%s' % param] = str( 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 @@ -144,7 +144,7 @@ class Recipe(object): status = self.instance.getState() else: status = 'not ready yet' - except (slapmodule.NotFoundError, slapmodule.ServerError): + except (slapmodule.NotFoundError, slapmodule.ServerError, slapmodule.ResourceNotReady): status = 'not ready yet' except AttributeError: status = 'unknown'