summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/create_stack.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/create_stack.py')
-rw-r--r--snaps/openstack/create_stack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/snaps/openstack/create_stack.py b/snaps/openstack/create_stack.py
index 74fde9d..d4a6b10 100644
--- a/snaps/openstack/create_stack.py
+++ b/snaps/openstack/create_stack.py
@@ -467,7 +467,8 @@ class OpenStackHeatStack(OpenStackCloudObject, object):
return False
if fail_status and status == fail_status:
- resources = heat_utils.get_resources(self.__heat_cli, self.__stack)
+ resources = heat_utils.get_resources(
+ self.__heat_cli, self.__stack.id)
logger.error('Stack %s failed', self.__stack.name)
for resource in resources:
if (resource.status !=