← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1286565] Re: Cisco Nexus: maximum recursion error in ConnectionContext.__del__

 

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

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

Title:
  Cisco Nexus: maximum recursion error in ConnectionContext.__del__

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  If DevStack is configured for the Cisco Nexus plugin with the latest DevStack, the following
  infinite recursion error is observed:
  Exception RuntimeError: 'maximum recursion depth exceeded' in <bound method
  ConnectionContext.__del__ of <neutron.openstack.common.rpc.amqp.ConnectionContext
  object at 0x403a3d0>> ignored

  An investigation shows that this failure triggered when the DB base plugin's
  _is_native_pagination_supported method is called. The infinite recursion begins
  when this exception is raised:

               raise AttributeError(
                   _("'%(model)s' object has no attribute '%(name)s'") %
                  {'model': self._model, 'name': name})

  in the PluginV2.__getattr__ method in
  neutron/plugins/cisco/network_plugin.py. The problem is that self._model
  object is being % mod'd as a string in the unicode message, and this
  causes many levels of recursion into deepcopy (a deepcopy for all objects
  embedded in this object).

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


References