← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2089940] Re: [WSGI] Make ``TunnelTypeDriverBase.sync_allocations`` compatible with WSGI

 

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

commit dce01d7550642ec478eaeb19deded4c974134ea9
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Mon Dec 2 09:23:00 2024 +0000

    Fast exit when initially creating tunnel allocations
    
    If the database tunnel allocations match the current configuration, no
    other operation is done. During the initiallization, if several workers
    try to execute this method, only the first one will update the
    allocations. The next workers will check that the database is correctly
    updated and will exit this method.
    
    Closes-Bug: #2089940
    Related-Bug: #2083570
    Change-Id: I208ba38bff9191cabcc1325fec516d0b0179c97c


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

Title:
  [WSGI] Make ``TunnelTypeDriverBase.sync_allocations`` compatible with
  WSGI

Status in neutron:
  Fix Released

Bug description:
  The method ``TunnelTypeDriverBase.sync_allocations`` is executed by
  all workers and that could happen usually at the same time during the
  initialization.

  Logs:
  https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_6ee/936429/6/check/neutron-
  ovn-tempest-ipv6-only-ovs-release-
  wsgi-2/6eeb718/controller/logs/screen-neutron-api.txt

  Snippet: https://paste.opendev.org/show/bpUykVnIBOqBImRNjYR1/

  This issue is also related to
  https://bugs.launchpad.net/neutron/+bug/2083570

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



References