From 621d769b304de7e9d8880971e97e3e11920666df Mon Sep 17 00:00:00 2001 From: James Denton Date: Tue, 16 Nov 2021 09:51:31 -0600 Subject: [PATCH] Add [nova] section to ironic.conf This patch fixes at least one issue related to ironic-conductor and its inability to report to Nova based on lack of Nova-related configuration in ironic.conf. Change-Id: I96aac9f0f2c1e9bdb6ebd601ee3546ad13e0d927 --- templates/ironic.conf.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/ironic.conf.j2 b/templates/ironic.conf.j2 index ff65e1f0..008ebeef 100644 --- a/templates/ironic.conf.j2 +++ b/templates/ironic.conf.j2 @@ -174,6 +174,17 @@ cleaning_network = {{ ironic_neutron_cleaning_network_uuid | default(ironic_neut inspection_network = {{ ironic_neutron_inspection_network_uuid | default(ironic_neutron_inspection_network_name) | default(ironic_neutron_provisioning_network_uuid) | default(ironic_neutron_provisioning_network_name) | default('') }} {% endif %} +[nova] +auth_url = {{ keystone_service_adminurl }} +auth_type = password +# Keystone auth using ironic credentials +username = {{ ironic_service_user_name }} +password = {{ ironic_service_password }} +project_name = {{ ironic_service_project_name }} +user_domain_id = {{ ironic_service_user_domain_id }} +project_domain_id = {{ ironic_service_project_domain_id }} +insecure = {{ keystone_service_adminuri_insecure | bool }} + [oslo_concurrency] lock_path = {{ ironic_lock_path }}