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
This commit is contained in:
Julia Kreger 2017-08-29 18:43:18 +00:00
parent e846a5d639
commit 6dd734a330

View File

@ -72,6 +72,15 @@ use_web_server_for_images = true
[inspector] [inspector]
enabled = true enabled = true
{% endif %} {% 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 %} {% if enable_keystone is defined and enable_keystone | bool == true %}
[keystone] [keystone]