From e9a5d45e5099e3bfc04aad7a6ae54d54f9990de5 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 4 Apr 2019 15:59:54 -0700 Subject: [PATCH] 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 --- openstack/cloud/_compute.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openstack/cloud/_compute.py b/openstack/cloud/_compute.py index abd511fc9..a20e52942 100644 --- a/openstack/cloud/_compute.py +++ b/openstack/cloud/_compute.py @@ -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']: