← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1216110] Re: metadata network handling causes stacktrace in nvp plugin

 

** Also affects: neutron/grizzly
   Importance: Undecided
       Status: New

** Changed in: neutron/grizzly
       Status: New => Fix Committed

** Changed in: neutron/grizzly
    Milestone: None => 2013.1.4

** Changed in: neutron
       Status: Fix Committed => Invalid

** Changed in: neutron
    Milestone: 2013.1.4 => None

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

Title:
  metadata network handling causes stacktrace in nvp plugin

Status in OpenStack Neutron (virtual network service):
  Invalid
Status in neutron grizzly series:
  Fix Committed

Bug description:
  Found this stacktrace on grizzly stable, when adding interface to
  router:

  Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/quantum/plugins/nicira/nicira_nvp_plugin/common/metadata_access.py", line 134, in _handle_meta
  data_access_network
  router_id)
  File "/usr/lib/python2.6/site-packages/quantum/plugins/nicira/nicira_nvp_plugin/common/metadata_access.py", line 64, in _create_metad
  ata_access_network
  {'network': net_data})
  File "/usr/lib/python2.6/site-packages/quantum/plugins/nicira/nicira_nvp_plugin/QuantumPlugin.py", line 932, in create_network
  tenant_id = self._get_tenant_id_for_create(context, net_data)
  File "/usr/lib/python2.6/site-packages/quantum/db/db_base_plugin_v2.py", line 87, in _get_tenant_id_for_create
  raise q_exc.AdminRequired(reason=reason)
  AdminRequired: User does not have admin privileges: Cannot create resource for another tenant
  2013-08-23 10:08:08 ERROR [quantum.api.v2.resource] add_router_interface failed
  Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/quantum/api/v2/resource.py", line 82, in resource
  result = method(request=request, **args)
  File "/usr/lib/python2.6/site-packages/quantum/api/v2/base.py", line 147, in _handle_action
  body, **kwargs)
  File "/usr/lib/python2.6/site-packages/quantum/plugins/nicira/nicira_nvp_plugin/QuantumPlugin.py", line 1796, in add_router_interface
  self._handle_metadata_access_network(context, router_id)
  File "/usr/lib/python2.6/site-packages/quantum/plugins/nicira/nicira_nvp_plugin/common/metadata_access.py", line 151, in _handle_meta
  data_access_network
  router_id)
  File "/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/orm/session.py", line 405, in __exit__
  raise
  TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

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