yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #94270
[Bug 2073464] Re: [DHCP] Race condition when creating a network
Reviewed: https://review.opendev.org/c/openstack/neutron/+/924385
Committed: https://opendev.org/openstack/neutron/commit/7173bd4e988bcecab2aff4d8aed97af70408cbb5
Submitter: "Zuul (22348)"
Branch: master
commit 7173bd4e988bcecab2aff4d8aed97af70408cbb5
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Thu Jul 18 08:06:33 2024 +0000
[DHCP] Do not force the DHCP disable call in a network creation
During a network creation, the code added to support multiple network
segments [1] was first disabling any existing DHCP namespace (including
the namespace deletion, the driver removal and the DHCP port deletion)
and the re-creating it again. The execution of both actions one after
the other was triggering a race condition where the DHCP namespace was
left without the DHCP port.
[1]https://review.opendev.org/c/openstack/neutron/+/840421
Closes-Bug: #2073464
Change-Id: Ic688d1c721511868b7bd9943bb679c4cb91b1a60
** 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/2073464
Title:
[DHCP] Race condition when creating a network
Status in neutron:
Fix Released
Bug description:
When a new network is created, the code [1] first calls the DHCP
driver "disable" and then it calls "enable". That sometimes creates a
race condition where the namespace is deleted (including the existing
DHCP port). This section, that was supposed to be deleted after Zed
release, should be removed to avoid the mentioned race condition. For
example, for the network "79caa1c4-6e26-49c9-87b3-b8d5add13dbd" in
[1], the DHCP agent first deletes the namespace and then tries to
create it again, including the DHCP port.
Sometimes that leads to an incomplete state where the DHCP is not
present (the DHCP port must be present since the DHCP namespace
creation).
[1]https://paste.opendev.org/show/bueaIUiPNoAMuS7xnfmR/
[2]https://paste.opendev.org/show/bYBI4vMG9j4MXGyIpXyA/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2073464/+subscriptions
References