Merge "Handle ImportError's when quantumclient is missing"
diff --git a/tempest/common/rest_client.py b/tempest/common/rest_client.py
index 71f887f..798b561 100644
--- a/tempest/common/rest_client.py
+++ b/tempest/common/rest_client.py
@@ -241,6 +241,11 @@
elif 'error' in resp_body: # Keystone errors
message = resp_body['error']['message']
raise exceptions.IdentityError(message)
+ elif 'message' in resp_body:
+ message = resp_body['message']
+ else:
+ message = resp_body
+
raise exceptions.ComputeFault(message)
if resp.status >= 400: