← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1432460] Re: neutron unit test fails with unexpected keyword "retry_on_request"

 

sudo pip install oslo.db --upgrade

After the above upgrade, oslo_db/api.py will be updated to the upstream.
And the bug is no longer happened.

** Changed in: neutron
       Status: New => Invalid

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

Title:
  neutron unit test fails with unexpected keyword "retry_on_request"

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  Now(2015,03,16) all neutron unit test fails, and export the following error.
  ===============
  Failed to import test module: neutron.tests.unit.test_extension_extended_attribute
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 445, in _find_test_path
      module = self._get_module_from_name(name)
    File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 384, in _get_module_from_name
      __import__(name)
    File "/home/stack/neutron/neutron/tests/unit/test_extension_extended_attribute.py", line 29, in <module>
      from neutron.plugins.ml2 import plugin as ml2_plugin
    File "/home/stack/neutron/neutron/plugins/ml2/plugin.py", line 89, in <module>
      extradhcpopt_db.ExtraDhcpOptMixin):
    File "/home/stack/neutron/neutron/plugins/ml2/plugin.py", line 591, in Ml2Plugin
      retry_on_request=True)
  TypeError: __init__() got an unexpected keyword argument 'retry_on_request'
  ==============

  This is due to the following fix:
  https://review.openstack.org/#/c/149261/

  In neutron/plugins/ml2/plugin.py
  Line 602
  "retry_on_request" is added.

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


References