← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2087946] [NEW] [eventlet-deprecation] Remove the usage of eventlet in the SR-IOV agent

 

Public bug reported:

References:
* https://etherpad.opendev.org/p/oct2024-ptg-neutron
* https://etherpad.opendev.org/p/neutron-eventlet-deprecation

Remove the import and usage of the eventlet library in the SR-IOV agent.

============================================================

This agent doesn’t use ``oslo_service.launch``.

The only ``eventlet`` resource used in this agent is the RPC consumers. But that could be changed in https://github.com/openstack/neutron-lib/blob/90fa9948fd3b36d121ec5fa0b8004404f6d86b45/neutron_lib/rpc.py#L225 changing the default ``eventlet`` executor used (possible inputs: “eventlet” and “threading”).
* https://review.opendev.org/c/openstack/neutron-lib/+/930716

This agent, with minimal effort, should be ready to be migrated to
``threading`` instead of ``eventlet``. Of course, the CI testing is
missing due to the HW limitations.

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

Title:
  [eventlet-deprecation] Remove the usage of eventlet in the SR-IOV
  agent

Status in neutron:
  New

Bug description:
  References:
  * https://etherpad.opendev.org/p/oct2024-ptg-neutron
  * https://etherpad.opendev.org/p/neutron-eventlet-deprecation

  Remove the import and usage of the eventlet library in the SR-IOV
  agent.

  ============================================================

  This agent doesn’t use ``oslo_service.launch``.

  The only ``eventlet`` resource used in this agent is the RPC consumers. But that could be changed in https://github.com/openstack/neutron-lib/blob/90fa9948fd3b36d121ec5fa0b8004404f6d86b45/neutron_lib/rpc.py#L225 changing the default ``eventlet`` executor used (possible inputs: “eventlet” and “threading”).
  * https://review.opendev.org/c/openstack/neutron-lib/+/930716

  This agent, with minimal effort, should be ready to be migrated to
  ``threading`` instead of ``eventlet``. Of course, the CI testing is
  missing due to the HW limitations.

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