Reviewed: https://review.opendev.org/c/openstack/neutron/+/937527 Committed: https://opendev.org/openstack/neutron/commit/bedb19bb220664329597fc222d820df7ccbdca46 Submitter: "Zuul (22348)" Branch: master
commit bedb19bb220664329597fc222d820df7ccbdca46 Author: Rodolfo Alonso Hernandez <ralon...@redhat.com> Date: Wed Dec 11 10:08:36 2024 +0000 Prevent calling "monkey_patch" more than once This patch is adding a check to prevent calling ``eventlet.monkey_patch()`` more than once per execution. This patch is also preventing any import before this method has been called. Any import is moved after that. Closes-Bug: #2091538 Topic: eventlet-deprecation Change-Id: I675aaf124d6630b6827febb1e5a5f492ed874107 ** 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/2091538 Title: [eventlet-deprecation] The method ``eventlet.monkey_patch()`` is called more than once Status in neutron: Fix Released Bug description: If the method ``eventlet.monkey_patch()`` is called more than once, because of [1], present in eventlet 0.37.0, the existing RLocks are upgraded. This leads to an issue in the oslo.messaging library with using ``threading.Condition()``, based on RLock. Error log: https://paste.opendev.org/show/bwb1L0WAhKAODIWyiep1/ [1]https://github.com/eventlet/eventlet/commit/06ec82896ebb9a26edaf6e1ad4d63393990f15b7 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2091538/+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