Support refresh token if token is passed to the constructor

Bug #1152427 reported by Akihiro Motoki
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Low
Oleg Bondarev

Bug Description

From the discussion in https://bugs.launchpad.net/quantum/+bug/1148017 and https://review.openstack.org/#/c/23659,
there is a case where keystone auth is used and auth_token is passed when Client is instantiated.

The following is quoted from my review comment in https://review.openstack.org/#/c/23659
----
In the current implementation, when non-None token is passed in the constructor Client(), we also needs to pass end_pointurl, but we don't know the end_pointurl at this point. This behavior of quantumclient is implemented before keystone auth is introduced and we can improve it at the client side.
----

Changed in python-quantumclient:
assignee: nobody → Oleg Bondarev (obondarev)
Changed in python-quantumclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-quantumclient (master)

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

Changed in python-quantumclient:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-quantumclient (master)

Reviewed: https://review.openstack.org/24639
Committed: http://github.com/openstack/python-quantumclient/commit/a54dd21fcb6d730bdf53fd8f9d808762f2ff071b
Submitter: Jenkins
Branch: master

commit a54dd21fcb6d730bdf53fd8f9d808762f2ff071b
Author: Oleg Bondarev <email address hidden>
Date: Mon Mar 18 17:53:00 2013 +0400

    Handle auth_token and endpoint_url if passed to the http client constructor

    Fixes bug 1152427

    Change-Id: Ic7811d928fd00cde0a72f451b5ede8351092a54c

Changed in python-quantumclient:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
milestone: none → 2.2.1-2.2.6
status: Fix Committed → 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.