Segment of ha network is deleted when a ha router is removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
sunzuohua |
Bug Description
The repro steps is as follows:
1.Create at least two ha router.
2.Delete one ha router.
Then the ha network is not deleted, but the segment of this ha network is deleted.
[root@cdpm01 ~]# neutron net-show 5edf9be2-
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+------
| Field | Value |
+------
| admin_state_up | True |
| availability_
| availability_zones | nova |
| created_at | 2017-11-
| description | |
| id | 5edf9be2-
| ipv4_address_scope | |
| ipv6_address_scope | |
| mtu | 1450 |
| name | HA network tenant a2794be2207a45b
| port_security_
| project_id | |
| provider:
| provider:
| provider:
| qos_policy_id | |
| revision_number | 5 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | a356ecf7-
| tags | |
| tenant_id | |
| updated_at | 2017-11-
+------
The reason:
1.When a ha router is deleted, neutron attempted to delete the ha network.
2.When deleting a network, the event:events.
3.After sending the event:events.
Mybe we should check if the network is in use before sending the event:events.
Or Check if the router being deleted is the last router belong to the tenant.
[1]https:/
[2]https:/
[3]https:/
Changed in neutron: | |
assignee: | nobody → sunzuohua (zuohuasun) |
description: | updated |