Merge "Clarify error message is from nova"

This commit is contained in:
Zuul
2018-10-02 04:46:54 +00:00
committed by Gerrit Code Review

View File

@@ -7065,7 +7065,8 @@ class OpenStackCloud(_normalize.Normalizer):
if server['status'] == 'ERROR':
if 'fault' in server and 'message' in server['fault']:
raise exc.OpenStackCloudException(
"Error in creating the server: {reason}".format(
"Error in creating the server."
" Compute service reports fault: {reason}".format(
reason=server['fault']['message']),
extra_data=dict(server=server))