Update configuration to use Keystone v3

Update searchlight.conf's service_credentials options to use Keystone
v3 and reorder the install tasks so that the service is setup before
attempting an index sync.

Change-Id: I13b4fa07fae269a681c2075fb6be40aa5bffa40e
This commit is contained in:
Jimmy McCrory 2017-10-10 13:13:28 -07:00
parent 8b492e0f67
commit 92010a5265
2 changed files with 8 additions and 7 deletions

View File

@ -41,13 +41,12 @@
tags:
- searchlight-install
- include: searchlight_index_sync.yml
when: inventory_hostname == groups['searchlight_all'][0]
tags:
- searchlight-install
- include: searchlight_service_setup.yml
when: inventory_hostname == groups['searchlight_all'][0]
tags:
- searchlight-install
- include: searchlight_index_sync.yml
when: inventory_hostname == groups['searchlight_all'][0]
tags:
- searchlight-install

View File

@ -53,11 +53,13 @@ check_revocations_for_cached = False
[service_credentials]
# These are needed to make API calls to other services when indexing
auth_plugin = password
auth_type = password
# TODO (neillc) Ensure this user has admin privileges on nova, cinder etc
username = {{ searchlight_service_user_name }}
password = {{ searchlight_service_password }}
tenant_name = {{ searchlight_service_project_name }}
user_domain_id = {{ searchlight_service_user_domain_id }}
project_domain_id = {{ searchlight_service_project_domain_id }}
project_name = {{ searchlight_service_project_name }}
auth_url = {{ keystone_service_adminuri }}
# If resource_plugin.include_region_name is set, this value will be