Throw OpenStackCloudCreateException on create errors

The exception is OpenStackCloudCreateException, not
OpenStackCloudCreationException.

Change-Id: Ia1bad2e279ed472d93c818d07a1d6de8723ab151
This commit is contained in:
Monty Taylor 2017-12-19 15:49:21 -06:00
parent 9f1e37669c
commit d8d0fca288
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -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: