Expand on a brief error message

In this case, the remote server did not supply any information
about the error.  Tell the user this so it doesn't look like
the SDK library is accidentally omitting anything.

Change-Id: I8f4757d2075c7cb4708df7b387f02beb2d4e671d
This commit is contained in:
James E. Blair 2019-04-04 15:59:54 -07:00
parent d4483b25fb
commit e9a5d45e50
1 changed files with 3 additions and 1 deletions

View File

@ -1133,7 +1133,9 @@ class ComputeCloudMixin(_normalize.Normalizer):
extra_data=dict(server=server))
raise exc.OpenStackCloudException(
"Error in creating the server", extra_data=dict(server=server))
"Error in creating the server"
" (no further information available)",
extra_data=dict(server=server))
if server['status'] == 'ACTIVE':
if 'addresses' in server and server['addresses']: