Fix the "Creating the Zun service and endpoint" failed
- fix the zun deploy failed - remove the unnecessary register Change-Id: I06bbad44de3f391a1c8939e8a587feababebc986 Closes-Bug: #1677665
This commit is contained in:
parent
aa68c84463
commit
90bf34f0aa
@ -3,8 +3,8 @@
|
|||||||
kolla_toolbox:
|
kolla_toolbox:
|
||||||
module_name: "kolla_keystone_service"
|
module_name: "kolla_keystone_service"
|
||||||
module_args:
|
module_args:
|
||||||
service_name: "{{ item.service_name }}"
|
service_name: "zun"
|
||||||
service_type: "{{ item.service_type }}"
|
service_type: "container"
|
||||||
description: "Container Service"
|
description: "Container Service"
|
||||||
endpoint_region: "{{ openstack_region_name }}"
|
endpoint_region: "{{ openstack_region_name }}"
|
||||||
url: "{{ item.url }}"
|
url: "{{ item.url }}"
|
||||||
@ -13,10 +13,6 @@
|
|||||||
auth: "{{ '{{ openstack_zun_auth }}' }}"
|
auth: "{{ '{{ openstack_zun_auth }}' }}"
|
||||||
module_extra_vars:
|
module_extra_vars:
|
||||||
openstack_zun_auth: "{{ openstack_zun_auth }}"
|
openstack_zun_auth: "{{ openstack_zun_auth }}"
|
||||||
register: zun_endpoint
|
|
||||||
until: zun_endpoint|success
|
|
||||||
retries: 10
|
|
||||||
delay: 5
|
|
||||||
run_once: True
|
run_once: True
|
||||||
with_items:
|
with_items:
|
||||||
- {'interface': 'admin', 'url': '{{ zun_admin_endpoint }}'}
|
- {'interface': 'admin', 'url': '{{ zun_admin_endpoint }}'}
|
||||||
@ -35,8 +31,4 @@
|
|||||||
auth: "{{ '{{ openstack_zun_auth }}' }}"
|
auth: "{{ '{{ openstack_zun_auth }}' }}"
|
||||||
module_extra_vars:
|
module_extra_vars:
|
||||||
openstack_zun_auth: "{{ openstack_zun_auth }}"
|
openstack_zun_auth: "{{ openstack_zun_auth }}"
|
||||||
register: zun_user
|
|
||||||
until: zun_user|success
|
|
||||||
retries: 10
|
|
||||||
delay: 5
|
|
||||||
run_once: True
|
run_once: True
|
||||||
|
Loading…
Reference in New Issue
Block a user