← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2071920] [NEW] The periodic workers service should run only ``PeriodicWorker`` instances

 

Public bug reported:

In [1], a new service was created to execute the ML2 plugin periodic
workers. However, this is not only executing the periodic workers but
also other plugin workers (for example, in ML2/OVN, the maintenance
worker). Same as done in [2], the method retrieving the plugin workers
should filter out those with worker_process_count>=1.

[1]https://review.opendev.org/c/openstack/neutron/+/922110
[2]https://github.com/openstack/neutron/blob/cfab008eef3d11055ad16b8dd0d49aaa1801bc95/neutron/service.py#L278-L281

** Affects: neutron
     Importance: Medium
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
   Importance: Undecided => Medium

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

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

Title:
  The periodic workers service should run only ``PeriodicWorker``
  instances

Status in neutron:
  New

Bug description:
  In [1], a new service was created to execute the ML2 plugin periodic
  workers. However, this is not only executing the periodic workers but
  also other plugin workers (for example, in ML2/OVN, the maintenance
  worker). Same as done in [2], the method retrieving the plugin workers
  should filter out those with worker_process_count>=1.

  [1]https://review.opendev.org/c/openstack/neutron/+/922110
  [2]https://github.com/openstack/neutron/blob/cfab008eef3d11055ad16b8dd0d49aaa1801bc95/neutron/service.py#L278-L281

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



Follow ups