Can't delete a v4 csnat port when there is a v6 router interface attached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Hong Hui Xiao |
Bug Description
Reproduce:
1) I enable DVR in devstack. After installation, there is a DVR, an ipv4+ipv6 router gateway in DVR, an ipv4 router interface in DVR, and an ipv6 router interface in DVR.
2) I want to use delete the v4 subnet. So, I delete the ipv4 router gateway.
[fedora@normal-dvr devstack]$ neutron router-
Removed interface from router router1.
3) I try to delete the v4 subnet, but neutron server tell me that the subnet can't be deleted, because there is still port(s) being used.
[fedora@normal-dvr devstack]$ neutron subnet-delete private-subnet
Unable to complete operation on subnet d0282930-
4) Check the port-list, I found the csnat port is still there.
[fedora@normal-dvr devstack]$ neutron port-list
+------
| id | name | mac_address | fixed_ips |
+------
| bf042acf-
+------
5) But look into the snat namespace, there is no such port there.
Then I can't delete the subnet, because the port is there. I can't delete the port, because the port has a device owner network:
This problem will not be reproduce if there is no ipv6 subnet attached to DVR.
Expect: Can use ipv4 no matter if there is ipv6 subnet attached to DVR.
Changed in neutron: | |
assignee: | nobody → Hong Hui Xiao (xiaohhui) |
tags: | added: l3-dvr-backlog |
tags: | added: ipv6 |
Changed in neutron: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/315926
Review: https:/