[R2.20-Build 8]:Docker: veth interfaces for errored docker containers are not getting removed after containers deletion
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
High
|
Ignatious Johnson Christopher | |||
Trunk |
Fix Committed
|
High
|
Ignatious Johnson Christopher | |||
nova-docker |
Fix Committed
|
Undecided
|
Ignatious Johnson Christopher |
Bug Description
if docker container fail to launch and later deleted, then its veth interfaces are not getting deleted.
there are many veth interfaces with status DOWN (for deleted containers too, please see the snapshot)
root@nodec62:~# nova list --all-tenants
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 0bd72c54-
| eec1b0cf-
| 9e95ce6e-
| cce2e48d-
| 3fb640c4-
| e24bb66c-
+------
root@nodec62:~# ifconfig
docker0 Link encap:Ethernet HWaddr 56:84:7a:fe:97:99
inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:25:90:c5:59:8a
inet6 addr: fe80::225:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3948488 errors:0 dropped:0 overruns:0 frame:0
TX packets:3380203 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1371797400 (1.3 GB) TX bytes:689987324 (689.9 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8063 errors:0 dropped:0 overruns:0 frame:0
TX packets:8063 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1383708 (1.3 MB) TX bytes:1383708 (1.3 MB)
pkt0 Link encap:Ethernet HWaddr 8a:53:87:c9:8c:4c
inet6 addr: fe80::8853:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3155786 errors:0 dropped:0 overruns:0 frame:0
TX packets:3186874 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:687665086 (687.6 MB) TX bytes:494928085 (494.9 MB)
veth1361875b Link encap:Ethernet HWaddr fe:ee:99:b9:29:6d
inet6 addr: fe80::fcee:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2257 (2.2 KB) TX bytes:2022 (2.0 KB)
veth16121cf5 Link encap:Ethernet HWaddr 0a:e0:b5:d3:bb:de
inet6 addr: fe80::8e0:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2641 (2.6 KB) TX bytes:2106 (2.1 KB)
veth5eb047ef Link encap:Ethernet HWaddr 06:c1:0d:3c:ea:af
inet6 addr: fe80::4c1:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1710 (1.7 KB) TX bytes:1730 (1.7 KB)
veth61e11527 Link encap:Ethernet HWaddr 46:51:ec:d2:44:45
inet6 addr: fe80::4451:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2299 (2.2 KB) TX bytes:2022 (2.0 KB)
veth6abbe8a8 Link encap:Ethernet HWaddr c2:aa:97:d6:c4:a9
inet6 addr: fe80::c0aa:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2641 (2.6 KB) TX bytes:2350 (2.3 KB)
veth79d950b3 Link encap:Ethernet HWaddr b2:15:41:ec:b9:49
inet6 addr: fe80::b015:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:76 errors:0 dropped:0 overruns:0 frame:0
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:12099 (12.0 KB) TX bytes:7088 (7.0 KB)
veth7be3eb9f Link encap:Ethernet HWaddr 3a:6e:de:0e:36:ce
inet6 addr: fe80::386e:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:93 errors:0 dropped:0 overruns:0 frame:0
TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:21737 (21.7 KB) TX bytes:11408 (11.4 KB)
veth7d8ec904 Link encap:Ethernet HWaddr 36:81:0a:0f:f7:ce
inet6 addr: fe80::3481:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1817 (1.8 KB) TX bytes:1868 (1.8 KB)
veth93699ca3 Link encap:Ethernet HWaddr de:54:6d:69:84:b7
inet6 addr: fe80::dc54:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:77 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:12141 (12.1 KB) TX bytes:6410 (6.4 KB)
veth9878e6bd Link encap:Ethernet HWaddr e2:5a:d6:2a:2e:40
inet6 addr: fe80::e05a:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:13657 (13.6 KB) TX bytes:7608 (7.6 KB)
vethb5b020a4 Link encap:Ethernet HWaddr 4a:a2:b3:86:34:a7
inet6 addr: fe80::48a2:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2299 (2.2 KB) TX bytes:2014 (2.0 KB)
vethe16bab3b Link encap:Ethernet HWaddr f6:71:bc:af:77:5b
inet6 addr: fe80::f471:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:8038 (8.0 KB) TX bytes:6043 (6.0 KB)
vethe6def323 Link encap:Ethernet HWaddr aa:8c:71:46:4e:86
inet6 addr: fe80::a88c:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:182 errors:0 dropped:0 overruns:0 frame:0
TX packets:190 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:24605 (24.6 KB) TX bytes:18471 (18.4 KB)
vethec4622f4 Link encap:Ethernet HWaddr de:a0:47:5c:ec:59
inet6 addr: fe80::dca0:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1817 (1.8 KB) TX bytes:1850 (1.8 KB)
vethf0571e88 Link encap:Ethernet HWaddr 12:ad:db:04:ae:97
inet6 addr: fe80::10ad:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1817 (1.8 KB) TX bytes:1850 (1.8 KB)
vhost0 Link encap:Ethernet HWaddr 00:25:90:c5:59:8a
inet addr:10.204.217.102 Bcast:10.
inet6 addr: fe80::225:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:700378 errors:0 dropped:52 overruns:0 frame:0
TX packets:210470 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:231214997 (231.2 MB) TX bytes:89781260 (89.7 MB)
virbr0 Link encap:Ethernet HWaddr 4e:46:7e:47:35:fd
inet addr:192.168.122.1 Bcast:192.
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
setup info:
env.roledefs = {
'all': [host1,
'cfgm': [host1,
'openstack'
'control': [host2,host1],
'compute': [host3,host4],
'collector': [host2,host1],
'webui': [host1],
'database': [host1,
'build': [host_build],
}
env.hostnames = {
'all': ['nodec64', 'nodeg18', 'nodec62', 'nodec11', 'nodec12']
}
information type: | Proprietary → Public |
Fix proposed to branch: master /review. openstack. org/177972/ 3
Review: https:/