← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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 interpreted as a string, and this causes infinite recursion
into the __getattr__ method.

** Affects: neutron
     Importance: Undecided
     Assignee: Dane LeBlanc (leblancd)
         Status: New


** Tags: cisco

** Changed in: neutron
     Assignee: (unassigned) => Dane LeBlanc (leblancd)

-- 
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):
  New

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 interpreted as a string, and this causes infinite recursion
  into the __getattr__ method.

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


Follow ups

References