
Due to a few issue that exist between keystone v3 and v2.0 the endpoint needs to be created as v2.0. If it is created as v3, v2.0 queries will not see the endpoint. https://bugs.launchpad.net/keystone/+bug/1470635 Change-Id: Ie7ff88b8cbb23b3ca149cb6e8d5a18a427d22038 Partially-Implements: blueprint ansible-service
22 lines
1.1 KiB
YAML
22 lines
1.1 KiB
YAML
---
|
|
# "detach: False" ensures we will be able to wait until the database bootstrap
|
|
# is finished. We can also check the exit code and catch errors if the database
|
|
# initialization does not successfully finish
|
|
- include: ../../bootstrap.yml
|
|
vars:
|
|
container_detach: False
|
|
container_environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
KEYSTONE_ADMIN_PASSWORD: "{{ keystone_admin_password }}"
|
|
REGION_NAME: "{{ openstack_region_name }}"
|
|
PUBLIC_URL: "http://{{ kolla_external_address }}:{{ keystone_public_port }}/v2.0"
|
|
INTERNAL_URL: "http://{{ kolla_internal_address }}:{{ keystone_public_port }}/v2.0"
|
|
ADMIN_URL: "http://{{ kolla_internal_address }}:{{ keystone_admin_port }}/v2.0"
|
|
OS_TOKEN: "{{ keystone_admin_token }}"
|
|
OS_URL: "http://{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ keystone_admin_port }}/v2.0"
|
|
container_image: "{{ docker_keystone_image_full }}"
|
|
container_name: "bootstrap_keystone"
|
|
container_volumes:
|
|
- "{{ node_config_directory }}/keystone/:/opt/kolla/keystone/:ro"
|