Reviewed: https://review.opendev.org/c/openstack/neutron/+/881742 Committed: https://opendev.org/openstack/neutron/commit/4109ee9bb44a1dbaf520c6bdb051c8f63328e23f Submitter: "Zuul (22348)" Branch: master
commit 4109ee9bb44a1dbaf520c6bdb051c8f63328e23f Author: Rodolfo Alonso Hernandez <[email protected]> Date: Thu Apr 27 15:36:13 2023 +0000 Use the new network HA parameter This patch implements the new network HA boolean field API extension. This field is an input only parameter for POST operations (creation). By default is "False". When enabled, the Neutron server will create a ``ha_router_networks`` register in the same transaction of the network creation. If by any circumstance (a race condition, for example), another ``ha_router_networks`` exists in the same project, a ``DBDuplicateEntry`` exception will be raised and the transaction will be rolled back. Partial-Bug: #2016198 Change-Id: Ie42c13ecbe4abcad9229b71f6942e393fd0f2e4e ** 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/2016198 Title: [L3][HA] race condition between first two router creations when tenant has no HA network Status in neutron: Fix Released Bug description: When the tenant creates the first HA router-1, neutron will try to create HA network for this project. But during the HA network creation procedure, we assume it has 2 steps: (1) create HA network (2) create subnet for this HA network another router-2 creation API call is comming, while HA network creation is just done the step (1). This router-2 creation API can retrieve the project HA network, and the HA network has no subnet. Because of the "[Open Discussion] neutron can create port from network which has no subnet" https://bugs.launchpad.net/neutron/+bug/2016197, router-2 will create HA ports without fixed IP. So this HA router-2 will not get UP forever in L3 agent side. In our production environment, we see many times of such issue. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2016198/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

