metadata-agent should reuse auth_token across eventlet threads

Bug #1152429 reported by Akihiro Motoki
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Oleg Bondarev

Bug Description

Discussion from https://bugs.launchpad.net/quantum/+bug/1148017
The fix for Grizzly has been committed but there is a point to be improved in future. This bug is to trace it.

The current implementation of quantumclient does not support passing auth_token when keystone auth is used. Thus metadata-agent is forced to initiate a client per API call. It would be better to share auth_token across eventlet threads to reduce the overhead of keystone round trip.

To do this, the following action items are needed:
- Add a support of auth_token passing even when keystone auth is used in quantumclient. (https://bugs.launchpad.net/python-quantumclient/+bug/1152427)
- Update metadata-agent to used a new quantumclient.

Tags: l3-ipam-dhcp
tags: added: l3-ipam-dhcp
Changed in quantum:
assignee: nobody → Oleg Bondarev (obondarev)
Changed in quantum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
importance: Undecided → Wishlist
milestone: none → havana-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/24646
Committed: http://github.com/openstack/quantum/commit/49c1c981b5850c21ebcef5667a1198e79a8a3da4
Submitter: Jenkins
Branch: master

commit 49c1c981b5850c21ebcef5667a1198e79a8a3da4
Author: Oleg Bondarev <email address hidden>
Date: Mon Mar 18 19:36:27 2013 +0400

    Metadata agent: reuse authentication info across eventlet threads

    Fixes bug 1152429

    Change-Id: Ib65f08a46feb14abc97c0c83e57d076abd372a2c

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-1 → 2013.2
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.