summaryrefslogtreecommitdiff
path: root/heat/engine/resources/openstack/senlin
diff options
context:
space:
mode:
Diffstat (limited to 'heat/engine/resources/openstack/senlin')
-rw-r--r--heat/engine/resources/openstack/senlin/cluster.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/heat/engine/resources/openstack/senlin/cluster.py b/heat/engine/resources/openstack/senlin/cluster.py
index 371e12a99..b8e187abe 100644
--- a/heat/engine/resources/openstack/senlin/cluster.py
+++ b/heat/engine/resources/openstack/senlin/cluster.py
@@ -218,12 +218,11 @@ class Cluster(res_base.BaseSenlinResource):
}
cluster = self.client().create_cluster(**params)
- action_id = cluster.location.split('/')[-1]
self.resource_id_set(cluster.id)
# for cluster creation, we just to check the action status
# the action is executed above
action = {
- 'action_id': action_id,
+ 'cluster_id': cluster.id,
'done': False,
}
actions.append(action)