Define keystone region name.

If multiple regions exist, keystone_authtoken should contain region_name.
This prevents the service from authenticating across regions.

Change-Id: I3e08385d91f5f913209dc944875c843828da3c2b
This commit is contained in:
Tim Laszlo 2016-07-22 12:36:35 -05:00
parent d86aeb65cb
commit f75d7195e3
2 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,7 @@ user_domain_id = {{ ironic_service_user_domain_id }}
project_name = {{ ironic_service_project_name }}
username = {{ ironic_service_user_name }}
password = {{ ironic_service_password }}
region_name = {{ keystone_service_region }}
memcached_servers = {{ memcached_servers }}

View File

@ -49,6 +49,7 @@ keystone_rabbitmq_password: "secrete"
keystone_rabbitmq_use_ssl: false
keystone_rabbitmq_port: 5672
keystone_rabbitmq_servers: 10.100.100.101
keystone_service_region: RegionOne
openrc_os_auth_url: "{{ keystone_service_internalurl }}"
openrc_os_password: "{{ keystone_auth_admin_password }}"
openrc_os_domain_name: "Default"