From 6dd734a330b568a791c02cddff994c794804d696 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Tue, 29 Aug 2017 18:43:18 +0000 Subject: [PATCH] Correct inspector ironic.conf params for authentication We apparently never really tried inspection, that or it was tested and worked with prior keystoneauth. Anyway, we need the parameters to have ironic call inspector when authentication is enabled, otherwise inspection fails. Change-Id: Ia5139c6f1536995d1d15ba711ea8ae4e428cb5b0 --- .../bifrost-ironic-install/templates/ironic.conf.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2 b/playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2 index 147229c45..ed614e02c 100644 --- a/playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2 +++ b/playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2 @@ -72,6 +72,15 @@ use_web_server_for_images = true [inspector] enabled = true {% endif %} +{% if enable_keystone is defined and enable_keystone | bool == true %} +auth_plugin = password +auth_url = {{ ironic.service_catalog.auth_url }} +username = {{ ironic.service_catalog.username }} +password = {{ ironic.service_catalog.password }} +user_domain_id = default +project_name = {{ ironic.service_catalog.project_name }} +project_domain_id = default +{% endif %} {% if enable_keystone is defined and enable_keystone | bool == true %} [keystone]