aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamYaple <sam@yaple.net>2016-03-20 17:18:05 +0000
committerSam Yaple <sam@yaple.net>2016-03-21 03:23:17 +0000
commit59298332fcce78d043692594177aa72e6ffb8d10 (patch)
tree3484860b392e9e5bb9cc5d6bdd12987ecd38b4cb
parente9b9a84157735d3ed22fce2d1b63915ff2689691 (diff)
downloadkolla-59298332fcce78d043692594177aa72e6ffb8d10.tar.gz
kolla-59298332fcce78d043692594177aa72e6ffb8d10.zip
Fix heat endpoint registration
This got lost in the keystone v3 switchover. Change-Id: I014c28e71335672153df79be2110e7585d7a21c0 Related-Bug: 1553565
-rw-r--r--ansible/roles/heat/tasks/register.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/ansible/roles/heat/tasks/register.yml b/ansible/roles/heat/tasks/register.yml
index 3e4235fb2..e5e595c53 100644
--- a/ansible/roles/heat/tasks/register.yml
+++ b/ansible/roles/heat/tasks/register.yml
@@ -2,8 +2,8 @@
- name: Creating the Heat service and endpoint
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
-m kolla_keystone_service
- -a "service_name=heat
- service_type=orchestration
+ -a "service_name={{ item.service_name }}
+ service_type={{ item.service_type }}
description='Openstack Orchestration'
endpoint_region={{ openstack_region_name }}
url='{{ item.url }}'
@@ -18,12 +18,12 @@
delay: 5
run_once: True
with_items:
- - {'interface': 'admin', 'url': '{{ heat_admin_endpoint }}'}
- - {'interface': 'internal', 'url': '{{ heat_internal_endpoint }}'}
- - {'interface': 'public', 'url': '{{ heat_public_endpoint }}'}
- - {'interface': 'admin', 'url': '{{ heat_cfn_admin_endpoint }}'}
- - {'interface': 'internal', 'url': '{{ heat_cfn_internal_endpoint }}'}
- - {'interface': 'public', 'url': '{{ heat_cfn_public_endpoint }}'}
+ - {'interface': 'admin', 'url': '{{ heat_admin_endpoint }}', 'service_name': 'heat', 'service_type': 'orchestration'}
+ - {'interface': 'internal', 'url': '{{ heat_internal_endpoint }}', 'service_name': 'heat', 'service_type': 'orchestration'}
+ - {'interface': 'public', 'url': '{{ heat_public_endpoint }}', 'service_name': 'heat', 'service_type': 'orchestration'}
+ - {'interface': 'admin', 'url': '{{ heat_cfn_admin_endpoint }}', 'service_name': 'heat-cfn', 'service_type': 'cloudformation'}
+ - {'interface': 'internal', 'url': '{{ heat_cfn_internal_endpoint }}', 'service_name': 'heat-cfn', 'service_type': 'cloudformation'}
+ - {'interface': 'public', 'url': '{{ heat_cfn_public_endpoint }}', 'service_name': 'heat-cfn', 'service_type': 'cloudformation'}
- name: Creating the Heat project, user, and role
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost