The ironic inspector public endpoint should point to the URL of inspector on the external network, but in fact points to the internal network.
openstack endpoint list --service baremetal-introspection
+----------------------------------+-----------+------------------+-------------------------+---------+-----------+----------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+------------------+-------------------------+---------+-----------+----------------------------+
| 3c551089a9ee4cda97181412ead97e41 | RegionOne | ironic-inspector | baremetal-introspection | True | admin | http://10.114.125.254:5050 |
| 5bab40d892834cf8ba3a9a01158bc538 | RegionOne | ironic-inspector | baremetal-introspection | True | internal | http://10.114.125.254:5050 |
| 8390be2956c9473cad6639920594b206 | RegionOne | ironic-inspector | baremetal-introspection | True | public | http://10.114.125.254:5050 |
+----------------------------------+-----------+------------------+-------------------------+---------+-----------+----------------------------+
For comparison, ironic:
openstack endpoint list --service baremetal
+----------------------------------+-----------+--------------+--------------+---------+-----------+----------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+--------------+---------+-----------+----------------------------+
| 0a8050694ed24335b44d06a44ca6bed5 | RegionOne | ironic | baremetal | True | public | http://10.114.129.254:6385 |
| 60d62f46437d496fa4934f7d40bcf93a | RegionOne | ironic | baremetal | True | admin | http://10.114.125.254:6385 |
| 738cce88c6a242d8bb2c86768f6b41e0 | RegionOne | ironic | baremetal | True | internal | http://10.114.125.254:6385 |
+----------------------------------+-----------+--------------+--------------+---------+-----------+----------------------------+
Tested on pike, CentOS 7.4.
Reviewed: https:/ /review. openstack. org/528278 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=dda24c47bcc 0df3695630fd473 864c36cf487989
Committed: https:/
Submitter: Zuul
Branch: master
commit dda24c47bcc0df3 695630fd473864c 36cf487989
Author: Mark Goddard <email address hidden>
Date: Fri Dec 15 13:52:49 2017 +0000
Fix ironic inspector public endpoint
Fixes a bug where the Baremetal Introspection service's public endpoint
registered in the Identity service referenced the internal API endpoint.
Also updates keystone endpoints for the Baremetal and Baremetal
Introspection services during reconfigure and upgrade operations.
Previously this was only done during deploy.
Change-Id: I32d475f288bb4a 3834c13cc86f0c5 3b5437c3d25
Closes-Bug: #1738418