Add auth credentials for service_user

Having auth credentials in service_user is required to interact with
other services. Otherwise nova won't be properly authenticated,
for example during volume detach request.

Change-Id: Ifd607d3acfb18ee4d1de0b8dc39350419cae9c22
This commit is contained in:
Dmitriy Rabotyagov 2023-05-22 15:51:53 +02:00
parent 4b20549673
commit 00d59dcd41
1 changed files with 9 additions and 0 deletions

View File

@ -180,6 +180,15 @@ workers = {{ nova_conductor_workers | default(nova_api_threads) }}
[service_user]
send_service_user_token = {{ nova_service_token_roles_required | bool }}
region_name = {{ nova_service_region }}
auth_type = password
username = {{ nova_service_user_name }}
password = {{ nova_service_password }}
project_name = {{ nova_service_project_name }}
user_domain_id = {{ nova_service_user_domain_id }}
project_domain_id = {{ nova_service_project_domain_id }}
auth_url = {{ keystone_service_adminurl }}
insecure = {{ keystone_service_adminuri_insecure | bool }}
[keystone_authtoken]
insecure = {{ keystone_service_internaluri_insecure | bool }}