← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1199174] Re: Metadata agent dies with AttributeError: 'Client' object has no attribute 'get_auth_info'

 

** Changed in: neutron
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1199174

Title:
  Metadata agent dies with AttributeError: 'Client' object has no
  attribute 'get_auth_info'

Status in OpenStack Neutron (virtual network service):
  Won't Fix

Bug description:
  On the havana-1 branch, I got in a situation where I updated the
  quantum code to havana-1 but the python-quantumclient was still at
  2.2.0.  I got the following stack trace:

  2013-07-08 14:14:36.240 14431 ERROR quantum.agent.metadata.agent [-] Unexpected error.
  2013-07-08 14:14:36.240 14431 TRACE quantum.agent.metadata.agent Traceback (most recent call last):
  2013-07-08 14:14:36.240 14431 TRACE quantum.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/quantum/agent/metadata/agent.py", line 94, in __call__
  2013-07-08 14:14:36.240 14431 TRACE quantum.agent.metadata.agent     instance_id = self._get_instance_id(req)
  2013-07-08 14:14:36.240 14431 TRACE quantum.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/quantum/agent/metadata/agent.py", line 126, in _get_instance_id
  2013-07-08 14:14:36.240 14431 TRACE quantum.agent.metadata.agent     self.auth_info = qclient.get_auth_info()
  2013-07-08 14:14:36.240 14431 TRACE quantum.agent.metadata.agent AttributeError: 'Client' object has no attribute 'get_auth_info'
  2013-07-08 14:14:36.240 14431 TRACE quantum.agent.metadata.agent 
  2013-07-08 16:04:25.678 14431 DEBUG quantum.agent.metadata.agent [-] Request: GET /2009-04-04/meta-data/instance-id HTTP/1.0^M

  get_auth_info did not show up until very shortly after 2.2.1.

  The master branch now has an appropriately updated dependency on
  python-quantumclient.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1199174/+subscriptions