3 of the 4 original issues in the first post are now fixed, and the one that isn't is addressed by a separate bug report:
1. NetworkNotFound: fixed by the introduction of _create_ha_interfaces_and_ensure_network 2. IpAddressGenerationFailure: https://bugs.launchpad.net/neutron/+bug/1562887 3. DBReferenceError: Opened a separate bug, https://bugs.launchpad.net/neutron/+bug/1533460, and fixed by https://review.openstack.org/#/c/260303/ 4. HA Network Attribute Error: fixed by the introduction of _create_ha_interfaces_and_ensure_network I think this bug can be closed. ** 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/1533440 Title: Race between deleting last HA router and a new HA router API call Status in neutron: Fix Released Bug description: During the delete of tenant last HA router, neutron will also delete the HA network which can be racy if a new HA router API call is coming concurrently. Some known exceptions: 1. NetworkNotFound: (HA network not found when create HA router HA port) 2. IpAddressGenerationFailure: (HA port created failed due to the concurrently HA subnet deletion) 3. DBReferenceError(IntegrityError): (HA network was deleted by concurrently operation, e.g. deleting the last HA router) 4. HA Network Attribute Error http://paste.openstack.org/show/490140/ Consider using the Rally to do the following steps to reproduce the race exceptions: 1. Create 200+ tenant, each one has 2 or more user 2. Create ONLY 1 router for each tenant 3. Concurently do the following: (1) one user try to delete the LAST HA router (2) other user try to create some HA router To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1533440/+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