← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1909038] [NEW] TypeError: lrp_set_options() takes 2 positional arguments but 3 were given

 

Public bug reported:

I see the following error when restarting the neutron process on master
devstack deployment:

TypeError: lrp_set_options() takes 2 positional arguments but 3 were
given

Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics [None req-be925f41-7b5f-4e04-893a-282cdbb5d137 None None] Failed to call immediate 'neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance.DBInconsistenciesPeriodics.check_for_fragmentation_support' (it runs every 600.00 seconds): TypeError: lrp_set_options() takes 2 positional arguments but 3 were given
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics Traceback (most recent call last):
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/usr/local/lib/python3.8/dist-packages/futurist/periodics.py", line 293, in run
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     work()
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/usr/local/lib/python3.8/dist-packages/futurist/periodics.py", line 67, in __call__
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     return self.callback(*self.args, **self.kwargs)
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/usr/local/lib/python3.8/dist-packages/futurist/periodics.py", line 181, in decorator
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     return f(*args, **kwargs)
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/opt/stack/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py", line 548, in check_for_fragmentation_support
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     self._ovn_client.set_gateway_mtu(context, net)
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/opt/stack/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py", line 1624, in set_gateway_mtu
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     commands.append(self._nb_idl.lrp_set_options(lrp_name, options))
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics TypeError: lrp_set_options() takes 2 positional arguments but 3 were given
Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  TypeError: lrp_set_options() takes 2 positional arguments but 3 were
  given

Status in neutron:
  New

Bug description:
  I see the following error when restarting the neutron process on
  master devstack deployment:

  TypeError: lrp_set_options() takes 2 positional arguments but 3 were
  given

  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics [None req-be925f41-7b5f-4e04-893a-282cdbb5d137 None None] Failed to call immediate 'neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance.DBInconsistenciesPeriodics.check_for_fragmentation_support' (it runs every 600.00 seconds): TypeError: lrp_set_options() takes 2 positional arguments but 3 were given
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics Traceback (most recent call last):
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/usr/local/lib/python3.8/dist-packages/futurist/periodics.py", line 293, in run
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     work()
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/usr/local/lib/python3.8/dist-packages/futurist/periodics.py", line 67, in __call__
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     return self.callback(*self.args, **self.kwargs)
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/usr/local/lib/python3.8/dist-packages/futurist/periodics.py", line 181, in decorator
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     return f(*args, **kwargs)
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/opt/stack/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py", line 548, in check_for_fragmentation_support
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     self._ovn_client.set_gateway_mtu(context, net)
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics   File "/opt/stack/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py", line 1624, in set_gateway_mtu
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics     commands.append(self._nb_idl.lrp_set_options(lrp_name, options))
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics TypeError: lrp_set_options() takes 2 positional arguments but 3 were given
  Dec 22 21:02:06 stack neutron-server[200078]: ERROR futurist.periodics

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


Follow ups