- self.log.error("Unable to authenticate or validate the existing credentials. Exception: %s", str(e))
- raise ValidationError("Invalid Credentials: "+ str(e))
+ self.log.error("Bad authentication URL given for SDN account. Given auth url: %s",
+ self.auth_url)
+ status.status = "failure"
+ status.details = "Invalid auth url: %s" % str(e)
+
+ except NeutronException.NotFound as e:
+ status.status = "failure"
+ status.details = "Neutron exception %s" % str(e)
+
+ except openstack_drv.ValidationError as e:
+ self.log.error("RwcalOpenstackPlugin: OpenstackDriver credential validation failed. Exception: %s", str(e))
+ status.status = "failure"
+ status.details = "Invalid Credentials: %s" % str(e)
+