← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1972764] Re: [Wallaby] OVNPortForwarding._handle_lb_on_ls fails with TypeError: _handle_lb_on_ls() got an unexpected keyword argument 'context'

 

** 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/1972764

Title:
  [Wallaby] OVNPortForwarding._handle_lb_on_ls fails with TypeError:
  _handle_lb_on_ls() got an unexpected keyword argument 'context'

Status in neutron:
  Fix Released

Bug description:
  It's failing with below TraceBack:-

  2022-05-10 00:38:36.539 ERROR /var/log/containers/neutron/server.log: 15 ERROR neutron_lib.callbacks.manager [req-2e5ef575-b18c-4091-8c15-b37f6bcf0fdd f1840520501c41b2a6a534525f0f90a4 bf49659cd4cb40edb393b914198ce3c9 - default default] Error during notification for neutron.services.portforwarding.drivers.ovn.driver.OVNPortForwarding._handle_lb_on_ls-4305748 router_interface, after_create: TypeError: _handle_lb_on_ls() got an unexpected keyword argument 'context'
  2022-05-10 00:38:36.539 ERROR /var/log/containers/neutron/server.log: 15 ERROR neutron_lib.callbacks.manager Traceback (most recent call last):
  2022-05-10 00:38:36.539 ERROR /var/log/containers/neutron/server.log: 15 ERROR neutron_lib.callbacks.manager   File "/usr/lib/python3.9/site-packages/neutron_lib/callbacks/manager.py", line 197, in _notify_loop
  2022-05-10 00:38:36.539 ERROR /var/log/containers/neutron/server.log: 15 ERROR neutron_lib.callbacks.manager     callback(resource, event, trigger, **kwargs)
  2022-05-10 00:38:36.539 ERROR /var/log/containers/neutron/server.log: 15 ERROR neutron_lib.callbacks.manager TypeError: _handle_lb_on_ls() got an unexpected keyword argument 'context'
  2022-05-10 00:38:36.539 ERROR /var/log/containers/neutron/server.log: 15 ERROR neutron_lib.callbacks.manager 

  
  Was noticed in a TripleO job https://bugs.launchpad.net/tripleo/+bug/1972660.

  This method was added in
  https://review.opendev.org/q/I0c4d492887216cad7a8155dceb738389f2886376
  and backported till wallaby. Xena+ are ok, only wallaby impacted
  because before xena old notification format is used where arguments
  are passed as kwargs.

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



References