Fix ironic interface option for ironic-inspector

The correct option to use is valid_interfaces [1], not os_endpoint_type.
The os_endpoint_type option was removed in Train.

[1] https://docs.openstack.org/ironic-inspector/wallaby/configuration/sample-config.html

Change-Id: I3906d7b9a2bebfe5c323cba5f80add3e932468c8
Closes-Bug: #1995246
Related-Bug: #1990675
This commit is contained in:
Mark Goddard 2022-10-31 09:40:40 +00:00
parent f15cb4dda3
commit fa96fd1a2f
2 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,7 @@ user_domain_id = {{ default_user_domain_id }}
project_name = service project_name = service
username = {{ ironic_inspector_keystone_user }} username = {{ ironic_inspector_keystone_user }}
password = {{ ironic_inspector_keystone_password }} password = {{ ironic_inspector_keystone_password }}
os_endpoint_type = internalURL valid_interfaces = internal
cafile = {{ openstack_cacert }} cafile = {{ openstack_cacert }}
region_name = {{ openstack_region_name }} region_name = {{ openstack_region_name }}
{% else %} {% else %}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue with ``ironic-inspector`` using the wrong option to
configure the interface used to communicate with the Ironic API.
`LP#1995246 <https://bugs.launchpad.net/kolla-ansible/+bug/1995246>`_