endpoint_type being ignored

Bug #1367782 reported by Andy McCrae
36
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Critical
Andy McCrae
python-glanceclient (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Since the keystone-v3 patch this is broken.

:/opt/python-glanceclient# keystone endpoint-get --service image
+-----------------+---------------------------+
| Property | Value |
+-----------------+---------------------------+
| image.publicURL | http://192.168.100.90:9292 |
+-----------------+---------------------------+
:/opt/python-glanceclient# keystone endpoint-get --service image --endpoint-type internalURL+-------------------+---------------------------+
| Property | Value |
+-------------------+---------------------------+
| image.internalURL | http://192.168.0.2:9292 |
+-------------------+---------------------------+
:/opt/python-glanceclient# export OS_ENDPOINT_TYPE=internalURL
:/opt/python-glanceclient# glance -dv image-list
curl -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: ***' -H 'Content-Type: application/octet-stream' http://192.168.100.90:9292/v1/images/detail?sort_key=name&sort_dir=asc&limit=20

Changed in python-glanceclient:
assignee: nobody → Andy McCrae (andrew-mccrae)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

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

Changed in python-glanceclient:
status: New → In Progress
Changed in python-glanceclient:
importance: Undecided → High
Revision history for this message
Kevin Carter (kevin-carter) wrote :

This is effecting us too.

Revision history for this message
Kevin Carter (kevin-carter) wrote :

Bump.

Any ETA on getting this merged? At present Glance is unusable in Juno when using internalURL by default.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-glanceclient (Ubuntu):
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/120442
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=cbbfbc91c953f7b26b1883950ef94075f708c701
Submitter: Jenkins
Branch: master

commit cbbfbc91c953f7b26b1883950ef94075f708c701
Author: Andy McCrae <email address hidden>
Date: Wed Sep 10 15:40:43 2014 +0100

    Fix to ensure endpoint_type is used by _get_endpoint()

    * ks_session get_endpoint uses "interface" instead of "endpoint_type"

    Change-Id: I59e45423703774f6dc26c96644f83083832b0627
    Closes-Bug: #1367782

Changed in python-glanceclient:
status: In Progress → Fix Committed
Changed in python-glanceclient:
importance: High → Critical
Changed in python-glanceclient:
status: Fix Committed → Fix Released
Changed in python-glanceclient (Ubuntu):
status: Confirmed → Fix Released
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.