Fix inspector not found when noauth

Recently released ironic-inspector-client v3.0.0 no longer has a meaningful
default for 'inspector_url' argument - its default is None and in this
case endpoint resolution from keystone catalog is attempted.

This means that in bifrost we should now set explicit endpoint for
inspector in ironic's config file for noauth case.

Change-Id: I9948a3edc8e297059005bdb4065796c30003ee63
This commit is contained in:
Pavlo Shchelokovskyy 2017-12-05 13:56:34 +02:00
parent 4e967834a9
commit d81c122b85

View File

@ -73,13 +73,16 @@ use_web_server_for_images = true
enabled = true
{% endif %}
{% if enable_keystone is defined and enable_keystone | bool == true %}
auth_plugin = password
auth_type = 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
{% else %}
auth_type=none
endpoint_override=http://127.0.0.1:5050
{% endif %}
{% if enable_keystone is defined and enable_keystone | bool == true %}