← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2099896] Re: [eventlet-removal] Remove the usage of eventlet in the Metadata agent

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/942916
Committed: https://opendev.org/openstack/neutron/commit/bc0741e689672eadc397e93858b15d21bca53759
Submitter: "Zuul (22348)"
Branch:    master

commit bc0741e689672eadc397e93858b15d21bca53759
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Thu Feb 27 15:41:50 2025 +0000

    [eventlet-removal] Remove eventlet in the Metadata Agent
    
    This patch removes the usage of eventlet in the Metadata Agent. The new
    metadata proxy is based on the implementation done in [1]. This new
    new implementation mimics the implementation of the
    ``UnixDomainWSGIServer`` class. The server listens to a file socket
    that is populated by the HAProxy instance running inside the
    network metadata namespace. The HAProxy writes the requests of the
    virtual machines on the Unix file socket and the metadata proxy
    sends the requests to the Nova metadata server.
    
    This implementation doesn't use ``oslo.services`` to spawn the
    processes or the local threads depending on the ``metadata_workers``
    configuration variable. Right now only the embedded form (local thread)
    is implemented (metadata_workers=0, the default value). Future
    implementations will enable again this configuration variable.
    
    [1]https://review.opendev.org/c/openstack/neutron/+/937545
    
    Closes-Bug: #2099896
    Change-Id: Ifadef192ef766a4f291643868686a98b591ddb40


** Changed in: neutron
       Status: In Progress => 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/2099896

Title:
  [eventlet-removal] Remove the usage of eventlet in the Metadata agent

Status in neutron:
  Fix Released

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 Metadata
  agent.

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

  The effort of implementing a metadata proxy server without eventlet
  has been done in [1]. Following this patch as reference, the Metadata
  agent should remove the usage of eventlet from its code base.

  [1]https://review.opendev.org/c/openstack/neutron/+/937545

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



References