[Mainline-Build 2667]: lots of errored veth interfaces in agent introspect
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.22.x |
Fix Committed
|
Critical
|
Ignatious Johnson Christopher | |||
Trunk |
Fix Committed
|
Critical
|
Ignatious Johnson Christopher |
Bug Description
there are lots of errored veth interfaces in agent introspect.(on docker host)
looks like deleted container's veth interfaces are not cleaned up.
vif cmd show 3 interfaces with vrf 65535 but in introspect there are many more errored interfaces.
root@nodec62:~# vif --list
Vrouter Interface Table
Flags: P=Policy, X=Cross Connect, S=Service Chain, Mr=Receive Mirror
Mt=Transmit Mirror, Tc=Transmit Checksum Offload, L3=Layer 3, L2=Layer 2
D=DHCP, Vp=Vhost Physical, Pr=Promiscuous, Vnt=Native Vlan Tagged
Mnp=No MAC Proxy, Dpdk=DPDK PMD Interface, Rfl=Receive Filtering Offload, Mon=Interface is Monitored
Uuf=Unknown Unicast Flood, Vof=VLAN insert/strip offload
vif0/0 OS: p1p1 (Speed 1000, Duplex 1)
Vrf:0 Flags:L3L2Vp MTU:1514 Ref:29
RX packets:6658508 bytes:525299115 errors:0
TX packets:986464 bytes:353956111 errors:0
vif0/1 OS: vhost0
Vrf:0 Flags:L3L2 MTU:1514 Ref:3
RX packets:924633 bytes:338407570 errors:0
TX packets:6609946 bytes:510492664 errors:0
vif0/2 OS: pkt0
RX packets:26424 bytes:2602336 errors:0
TX packets:3941387 bytes:394182302 errors:0
vif0/98 OS: NULL
RX packets:1162 bytes:143861 errors:0
TX packets:638 bytes:64838 errors:0
vif0/99 OS: NULL
RX packets:46 bytes:7742 errors:0
TX packets:324 bytes:36459 errors:0
vif0/100 OS: NULL
RX packets:11 bytes:794 errors:0
TX packets:4 bytes:224 errors:0
vif0/4350 OS: pkt3
RX packets:5 bytes:434 errors:0
TX packets:5 bytes:364 errors:0
vif0/4351 OS: pkt1
RX packets:0 bytes:0 errors:0
TX packets:0 bytes:0 errors:0
please see the snapshot attached.
setup info:
env.roledefs = {
'all': [host1,
'cfgm': [host1],
'openstack'
'control': [host1,host2],
'compute': [host3,host4],
'collector': [host1,host2],
'webui': [host1],
'database': [host1],
'build': [host_build],
}
env.hostnames = {
'all': ['nodec64', 'nodeg18', 'nodec62', 'nodec12']
}
Changed in juniperopenstack: | |
milestone: | none → r3.0-fcs |
importance: | Undecided → Critical |
no longer affects: | juniperopenstack/r2.20 |
information type: | Proprietary → Public |
Agent has not received delete for 7faf9421- e7ff-4a2f- 86ed-726b779396 25 which is in error state.
http:// nodec62: 8085/Snh_ SandeshTraceReq uest?x= Config
2015-11-10 16:10:08.450 CfgOpenstackCon nect: op = Connect version = 1 file = controller/ src/vnsw/ agent/openstack /instance_ service_ server. cc line = 157 StaleCleaner Walk invoked. controller/ src/vnsw/ agent/openstack /instance_ service_ server. cc 695 src/vnsw/ agent/openstack /instance_ service_ server. cc 723 Port: op = Add port_uuid = 7faf9421- e7ff-4a2f- 86ed-726b779396 25 instance_uuid = 623ee4ec- 7c92-422c- 909f-8b23562d68 67 vn_uuid = 8da702a5- 5bf0-4f93- 842d-1b24ae3742 cd ip_address = 10.1.1.3 tap_name = veth7faf9421 mac_address = 02:7f:af:94:21:e7 display_name = vmc0 hostname = vmc0 host = version = 1 tx_vlan_id = -1 rx_vlan_id = -1 vm_project_uuid = b9862e78- 28f1-47f4- aa84-3f2fe15769 f7 port_type = CfgIntVMPort ip6_address = file = controller/ src/vnsw/ agent/openstack /instance_ service_ server. cc line = 143 7c92-422c- 909f-8b23562d68 67 vn = 8da702a5- 5bf0-4f93- 842d-1b24ae3742 cd ip = 10.1.1.3 op = ADD version = 1 tx_vlan_id = 65535 rx_vlan_id = 65535 vm_project = b9862e78- 28f1-47f4- aa84-3f2fe15769 f7 port_type = CfgIntVMPort ip6 = :: file = controller/ src/vnsw/ agent/cfg/ cfg_interface. cc line = 125
2015-11-10 16:11:08.273 CfgIntfInfo: InterfaceConfig
2015-11-10 16:11:08.273 CfgIntfWalkDone: 1 controller/
2015-11-10 16:42:42.646 CfgOpenstackAdd
2015-11-10 16:42:42.646 CfgIntfTrace: intf = veth7faf9421 vm_name = vmc0 vm = 623ee4ec-