Throw OpenStackCloudCreateException on create errors
The exception is OpenStackCloudCreateException, not OpenStackCloudCreationException. Change-Id: Ia1bad2e279ed472d93c818d07a1d6de8723ab151
This commit is contained in:
parent
9f1e37669c
commit
d8d0fca288
@ -6847,7 +6847,7 @@ class OpenStackCloud(
|
|||||||
# going to do the wait loop below, this is a waste of a call
|
# going to do the wait loop below, this is a waste of a call
|
||||||
server = self.get_server_by_id(server.id)
|
server = self.get_server_by_id(server.id)
|
||||||
if server.status == 'ERROR':
|
if server.status == 'ERROR':
|
||||||
raise OpenStackCloudCreationException(
|
raise OpenStackCloudCreateException(
|
||||||
resource='server', resource_id=server.id)
|
resource='server', resource_id=server.id)
|
||||||
|
|
||||||
if wait:
|
if wait:
|
||||||
|
Loading…
Reference in New Issue
Block a user