From d8d0fca288b5da8f27096e474ff6b52095fa69cb Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 19 Dec 2017 15:49:21 -0600 Subject: [PATCH] Throw OpenStackCloudCreateException on create errors The exception is OpenStackCloudCreateException, not OpenStackCloudCreationException. Change-Id: Ia1bad2e279ed472d93c818d07a1d6de8723ab151 --- shade/openstackcloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shade/openstackcloud.py b/shade/openstackcloud.py index c8492e2a1..687ca2e1d 100644 --- a/shade/openstackcloud.py +++ b/shade/openstackcloud.py @@ -6847,7 +6847,7 @@ class OpenStackCloud( # going to do the wait loop below, this is a waste of a call server = self.get_server_by_id(server.id) if server.status == 'ERROR': - raise OpenStackCloudCreationException( + raise OpenStackCloudCreateException( resource='server', resource_id=server.id) if wait: