Bug 1293381
Summary: | HA network tenants are not deleted | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Attila Fazekas <afazekas> | |
Component: | openstack-neutron | Assignee: | Nir Magnezi <nmagnezi> | |
Status: | CLOSED ERRATA | QA Contact: | Alexander Stafeyev <astafeye> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.0 (Liberty) | CC: | amuller, chrisw, jschluet, mlopes, nyechiel, oblaut, tfreger, yeylon | |
Target Milestone: | ga | Keywords: | Triaged | |
Target Release: | 8.0 (Liberty) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-neutron-7.0.1-4 | Doc Type: | Bug Fix | |
Doc Text: |
Prior to this update, when the last HA router of a tenant was deleted, the HA network belonging to the tenant was not removed. This happened in certain scenarios, such as the 'router delete' API call, which raised an exception since the router had been deleted. That scenario was possible due to a race condition between HA router 'create' and 'delete' operations. As a result of this issue, HA network tenants were not deleted.
This update resolves the race condition, and now catches the exceptions 'ObjectDeletedError' and 'NetworkInUse' when a user deletes the last HA router, and also moves the HA network deleting procedure under the 'ha_network exist' check block. In addition, the fix checks whether or not HA routers are present, and deletes the HA network when the last HA router is deleted.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1301399 (view as bug list) | Environment: | ||
Last Closed: | 2016-04-07 21:20:24 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1301399 |
Description
Attila Fazekas
2015-12-21 15:44:47 UTC
We recently fixed this u/s (Linked u/s bug and two patches). We backported it to upstream stable/liberty, now we'll backport it to OSP 8 branch. I just checked and the latest OSP 8 rebase caught the first patch (207395) but not the second (259580), so just that one needed. [stack@instack ~]$ rpm -qa |grep openstack-neut openstack-neutron-7.0.1-8.el7ost.noarch Did the reproduction steps. No HA network seen after deleted all tenants/users and routers. neutron net-list +--------------------------------------+------+-----------------------------------------------------+ | id | name | subnets | +--------------------------------------+------+-----------------------------------------------------+ | 2273e9a2-9517-4107-b1d5-7e8d6e28a8ac | nova | bd4f6ffb-3f38-4d57-9fa4-daae49483948 172.16.23.0/24 | +--------------------------------------+------+-----------------------------------------------------+ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0603.html |