← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1256572] Re: metadata API neutron V2 requests are Unauthorized

 

This is a dup of #1255577.

** Changed in: nova
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1256572

Title:
  metadata API neutron V2 requests are Unauthorized

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Since NOva commit 1c1371c78b990447aeaa4377b512f8887e6ff3ce  (Users
  with admin role in Nova should not re-auth with Neutron) I'm now
  seeing the following nova-api errors:

  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/api/metadata/handler.py", line 136, in _handle_remote_ip_request
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler     meta_data = self.get_metadata_by_remote_address(remote_address)
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/api/metadata/handler.py", line 78, in get_metadata_by_remote_address
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler     data = base.get_metadata_by_address(self.conductor_api, address)
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/api/metadata/base.py", line 466, in get_metadata_by_address
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler     fixed_ip = network.API().get_fixed_ip_by_address(ctxt, address)
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 680, in get_fixed_ip_by_address
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler     uuid_maps = self._get_instance_uuids_by_ip(context, address)
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 582, in _get_instance_uuids_by_ip
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler     data = neutronv2.get_client(context).list_ports(**search_opts)
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/network/neutronv2/__init__.py", line 69, in get_client
  Nov 30 19:38:09 localhost nova-api[2103]: 2013-11-30 19:38:09,852.852 2193 TRACE nova.api.metadata.handler     raise exceptions.Unauthorized()

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