EndpointData.url should regurgitate my endpoint_override

Bug #1707993 reported by Eric Fried on 2017-08-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystoneauth
Low
Monty Taylor

Bug Description

If I've set up my ksa Adapter with an endpoint_override, and I call Adapter.get_endpoint_data, I expect the resulting EndpointData.url to represent my endpoint_override.

(Part of) the fix might be to set service_url=endpoint_override here [1].

[1] https://github.com/openstack/keystoneauth/blob/699fac136faa621d756096352850d2ef8507ef79/keystoneauth1/identity/base.py#L246

Changed in keystoneauth:
importance: Undecided → Low
status: New → Triaged

Fix proposed to branch: master
Review: https://review.openstack.org/491947

Changed in keystoneauth:
assignee: nobody → Eric Fried (efried)
status: Triaged → In Progress
Lance Bragstad (lbragstad) wrote :

Automatically unassigning due to inactivity.

Changed in keystoneauth:
assignee: Eric Fried (efried) → nobody
Changed in keystoneauth:
assignee: nobody → Monty Taylor (mordred)

Reviewed: https://review.openstack.org/491947
Committed: https://git.openstack.org/cgit/openstack/keystoneauth/commit/?id=8a963de05a7484e0269165e7547320e83407df1a
Submitter: Zuul
Branch: master

commit 8a963de05a7484e0269165e7547320e83407df1a
Author: Eric Fried <email address hidden>
Date: Tue Aug 8 17:41:30 2017 -0500

    Return the endpoint_override from EndpointData

    Setting up an Adapter with an endpoint_override, calling
    get_endpoint_data() on that adapter, and accessing the `url` @property
    of the resulting EndpointData now regurgitates the endpoint_override
    initially set on the Adapter.

    Change-Id: I1033c97a7b0e19a75fa0d3c5682cf18b75918514
    Closes-Bug: #1707993

Changed in keystoneauth:
status: In Progress → Fix Released

This issue was fixed in the openstack/keystoneauth 3.7.0 release.

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

Other bug subscribers