Public bug reported:

Linux Bridge agent always loads trunk extension, regardless of the
loaded service plugins. The trunk agent extension execute unnecessary
operations that slows down the agent execution.

For example:
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_ea7/792505/3/check
/neutron-fullstack-with-uwsgi_6/ea75d31/controller/logs/dsvm-fullstack-
logs/TestUninterruptedConnectivityOnL2AgentRestart.test_l2_agent_restart_LB
%2CFlat-network_/neutron-linuxbridge-agent--2021-05-25--
08-56-07-279444_log.txt

A new port is added. The trunk agent extension receives those events a executes 
the port processing:
2021-05-25 08:56:17.731 107232 DEBUG neutron_lib.callbacks.manager 
[req-58c1c8d4-c2a9-431c-a2a0-46f80be0e835 - - - - -] Notify callbacks 
['neutron.services.trunk.drivers.linuxbridge.agent.driver.LinuxBridgeTrunkDriver.agent_port_change-145314']
 for port_device, after_update _notify_loop 
/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/neutron_lib/callbacks/manager.py:192

...

2021-05-25 08:56:17.788 107232 DEBUG oslo_concurrency.lockutils [req-
58c1c8d4-c2a9-431c-a2a0-46f80be0e835 - - - - -] Acquired lock "trunk-
tapdd335ce5-14" lock /home/zuul/src/opendev.org/openstack/neutron/.tox
/dsvm-fullstack-gate/lib/python3.8/site-
packages/oslo_concurrency/lockutils.py:266


This lock is released at:
2021-05-25 08:56:17.829 107232 DEBUG oslo_concurrency.lockutils 
[req-58c1c8d4-c2a9-431c-a2a0-46f80be0e835 - - - - -] Releasing lock 
"trunk-tapdd335ce5-14" lock 
/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/oslo_concurrency/lockutils.py:282

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

Title:
  [LB] Linux Bridge agent always loads trunk extension, regardless of
  the loaded service plugins

Status in neutron:
  New

Bug description:
  Linux Bridge agent always loads trunk extension, regardless of the
  loaded service plugins. The trunk agent extension execute unnecessary
  operations that slows down the agent execution.

  For example:
  
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_ea7/792505/3/check
  /neutron-fullstack-with-uwsgi_6/ea75d31/controller/logs/dsvm-
  fullstack-
  logs/TestUninterruptedConnectivityOnL2AgentRestart.test_l2_agent_restart_LB
  %2CFlat-network_/neutron-linuxbridge-agent--2021-05-25--
  08-56-07-279444_log.txt

  A new port is added. The trunk agent extension receives those events a 
executes the port processing:
  2021-05-25 08:56:17.731 107232 DEBUG neutron_lib.callbacks.manager 
[req-58c1c8d4-c2a9-431c-a2a0-46f80be0e835 - - - - -] Notify callbacks 
['neutron.services.trunk.drivers.linuxbridge.agent.driver.LinuxBridgeTrunkDriver.agent_port_change-145314']
 for port_device, after_update _notify_loop 
/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/neutron_lib/callbacks/manager.py:192

  ...

  2021-05-25 08:56:17.788 107232 DEBUG oslo_concurrency.lockutils [req-
  58c1c8d4-c2a9-431c-a2a0-46f80be0e835 - - - - -] Acquired lock "trunk-
  tapdd335ce5-14" lock /home/zuul/src/opendev.org/openstack/neutron/.tox
  /dsvm-fullstack-gate/lib/python3.8/site-
  packages/oslo_concurrency/lockutils.py:266

  
  This lock is released at:
  2021-05-25 08:56:17.829 107232 DEBUG oslo_concurrency.lockutils 
[req-58c1c8d4-c2a9-431c-a2a0-46f80be0e835 - - - - -] Releasing lock 
"trunk-tapdd335ce5-14" lock 
/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/oslo_concurrency/lockutils.py:282

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to