metadata agent nova.conf uses admin endpoint for auth_url

Bug #1771709 reported by Xav Paice
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Gateway Charm
Triaged
Wishlist
Unassigned

Bug Description

We have a cloud where the public and admin endpoint addresses are on a separate network to most other services. The neutron-gateway units do not have an address on those networks, but do have an address which can reach the 'internal' endpoint.

In nova.conf, the nova-api-metadata.service (as configured by the neutron-gateway charm) has auth_url set to use the admin endpoint. This is not reachable.

We need to find a way to set that to use the internal endpoint for keystone.

Other charms which do have a use-internal-endpoints setting also seem to use the admin endpoint for auth_url, and the public endpoint for auth_uri (where set).

Revision history for this message
Xav Paice (xavpaice) wrote :

If I understand this correctly, the Keystone charm uses 'service_hostname': resolve_address(ADMIN) to set the relation data, which reflects right through to the neutron-gateway charm via the neutron-api charm and the identity relation there.

If we were to add an option to the keystone charm to supply the internal as well as admin hostname, we could then use the 'use-internal-endpoints' to collect the internal auth url address.

Revision history for this message
Pen Gale (pengale) wrote :

Agree that this is a useful feature. Added to wishlist for the charm!

Changed in charm-neutron-gateway:
importance: Undecided → Wishlist
status: New → Triaged
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.