Description of problem:
If there are several network endpoint types defined:
$ openstack endpoint list |grep neutron
| 097fb40857b64fdcaf609dbc8c85663b | region1 | neutron | network | True | admin | https://192.168.245.5:9696/ |
| 25ed4d64a9d44cb59f2f280038b722d9 | region1 | neutron | network | True | internal | https://192.168.245.5:9696/ |
| 42142cf6067248ab90c4771cb8a39bb0 | region1 | neutron | network | True | public | https://foobar.test:9696/ |
All "openstack network xxx" commands hit the public endpoint, even if OS_ENDPOINT_TYPE or --os-interface are specified.
Version-Release number of selected component (if applicable):
Red Hat OpenStack Platform 9
Steps to Reproduce:
1. See https://bugs.launchpad.net/python-openstackclient/+bug/1592368
Public endpoint is always hit
Specified endpoint should be hit (if defined)
The upstream fix was merged
Moving to post
There is a Mitaka (9.0) backport slowly making its way upstream.
The Mitaka patch merged upstream. Once upstream tags a new release we can rebase the new version into OSP9. I'll add a link to the rebase bug once it is open.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.