tap interface in OVS is not removed after service removed in Swarm mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-libnetwork |
New
|
Undecided
|
Unassigned |
Bug Description
Reproduce step
1. create a service with Kuryr driver network and checks Neutron ports are created for the service
$ neutron port-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+------
| id | name | tenant_id | mac_address | fixed_ips |
+------
| 299a12ef-99dd-452a- | | 669ad66d0f7b427
| bce8-e74a69ef0a24 | | | | 45-c2f9718ca2fb", "ip_address": |
| | | | | "192.168.0.6"} |
| 339c7192-
| cde87a4e1c59 | | | | 45-c2f9718ca2fb", "ip_address": |
| | | | | "192.168.0.2"} |
| 648e4034-
| 7f9be4fd6ab3 | 93ec4fc685caab3
| | ort | | | "192.168.0.7"} |
| b0ecc74c-44cf-4f3d- | kuryr-unbound-port | 669ad66d0f7b427
| 9fd4-d1ac2fbf785a | | | | 45-c2f9718ca2fb", "ip_address": |
| | | | | "192.168.0.12"} |
+------
2. also checks qvo interface is created in br-int and qbr linux bridge is created.
Bridge br-int
Controller "tcp:127.
fail_mode: secure
Port br-int
Port "tap339c7192-27"
tag: 2
Port "qvo648e4034-c0"
tag: 2
Port patch-tun
Port int-br-ex
ovs_version: "2.6.1"
$ sudo brctl show
bridge name bridge id STP enabled interfaces
docker0 8000.0242b85e4d9c no
qbr648e4034-c0 8000.4e628aefd1dc no qvb648e4034-c0
3. remove the service and check Neutron ports for the service removed well.
$ openstack port list
+------
| ID | Name | MAC Address | Fixed IP Addresses | Status |
+------
| 299a12ef-
| 339c7192-
+------
4. but the qvo and qbr still exist
Bridge br-int
Controller "tcp:127.
fail_mode: secure
Port br-int
Port "tap339c7192-27"
tag: 2
Port "qvo648e4034-c0"
tag: 4095
Port patch-tun
Port int-br-ex
ovs_version: "2.6.1"
$ sudo brctl show
bridge name bridge id STP enabled interfaces
docker0 8000.0242b85e4d9c no
qbr648e4034-c0 8000.4e628aefd1dc no qvb648e4034-c0
Error logs from Kuryr plugin
2017-07-29 07:50:53.696 12 ERROR kuryr_libnetwor
Changed in kuryr-libnetwork: | |
status: | New → Invalid |
Changed in kuryr-libnetwork: | |
status: | Invalid → New |
description: | updated |