Ironic inspector public endpoint has internal URL

Bug #1738418 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Unassigned

Bug Description

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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/528278
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=dda24c47bcc0df3695630fd473864c36cf487989
Submitter: Zuul
Branch: master

commit dda24c47bcc0df3695630fd473864c36cf487989
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: I32d475f288bb4a3834c13cc86f0c53b5437c3d25
    Closes-Bug: #1738418

Changed in kolla-ansible:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 6.0.0.0b3

This issue was fixed in the openstack/kolla-ansible 6.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/557589

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/pike)

Reviewed: https://review.openstack.org/557589
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a5f46f99b2f1c34205d29ad661be9f43cc8a4989
Submitter: Zuul
Branch: stable/pike

commit a5f46f99b2f1c34205d29ad661be9f43cc8a4989
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: I32d475f288bb4a3834c13cc86f0c53b5437c3d25
    Closes-Bug: #1738418
    (cherry picked from commit dda24c47bcc0df3695630fd473864c36cf487989)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.3

This issue was fixed in the openstack/kolla-ansible 5.0.3 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.