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:
parent
4e967834a9
commit
d81c122b85
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user