From 5f2429b51ab8736f7737391fa6206bb4b1509ee1 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 30 Aug 2017 14:05:08 +0000 Subject: [PATCH] Ensure inspector uses internal ironic interface Kolla-ansible typically configures services to access the internal API endpoint of other services, rather than the default public endpoint. This change ensures that this is the case for ironic inspector. Change-Id: I998f12435fc1bd306444f9a68bd7f99f5b78f6f8 Closes-Bug: #1740591 --- ansible/roles/ironic/templates/ironic-inspector.conf.j2 | 1 + .../notes/inspector-ironic-interface-6e98d6bc3d5713b8.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/inspector-ironic-interface-6e98d6bc3d5713b8.yaml diff --git a/ansible/roles/ironic/templates/ironic-inspector.conf.j2 b/ansible/roles/ironic/templates/ironic-inspector.conf.j2 index e38ce7a4f3..65353b8dc6 100644 --- a/ansible/roles/ironic/templates/ironic-inspector.conf.j2 +++ b/ansible/roles/ironic/templates/ironic-inspector.conf.j2 @@ -13,6 +13,7 @@ user_domain_id = {{ default_user_domain_id }} project_name = service username = {{ ironic_inspector_keystone_user }} password = {{ ironic_inspector_keystone_password }} +os_endpoint_type = internalURL [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/releasenotes/notes/inspector-ironic-interface-6e98d6bc3d5713b8.yaml b/releasenotes/notes/inspector-ironic-interface-6e98d6bc3d5713b8.yaml new file mode 100644 index 0000000000..43feee7463 --- /dev/null +++ b/releasenotes/notes/inspector-ironic-interface-6e98d6bc3d5713b8.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes an issue where the Bare Metal Inspection service was configured to + communicate with the Bare Metal service via the public API interface. + Communication is now via the internal API interface.