diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index 473cf5baf6..51392a40b8 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -218,7 +218,11 @@ max_attempts = 10 [placement] auth_type = password +{% if orchestration_engine == 'KUBERNETES' %} +auth_url = {{ keystone_admin_url }} +{% else %} auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }} +{% endif %} username = {{ placement_keystone_user }} password = {{ placement_keystone_password }} user_domain_name = default