Comment 2 for bug 1765941

Revision history for this message
Pulkit Tandon (pulkitt) wrote :

There is no inconsistencies observed for "kubectl get pod -o wide" output.
The problem will be observed while creating new pods.
Some Vlan value will internally be allocated to a resource which was deleted at the agent.

Following are the CNI logs of a scenario where I got stuck which are suspected to be because of the same reason:

I : 3821 : 2018/04/20 23:46:35 vrouter.go:176: Get from vrouter passed. Result &{VmUuid: Nw: Ip: Plen:0 Gw: Dns: Mac:02:22:77:17:c8:44 VlanId:3}
I : 3821 : 2018/04/20 23:46:35 macvlan.go:289: Initialized MacVlan interface {CniIntf:{containerId:44aca3e86ce4873e93339e77eca27c66e47389552fc6930ede832a5d0ca79d17 containerUuid:20b6239c-4494-11e8-97a1-02125a1cf9ff containerIfName:eth0 containerNamespace:/proc/3802/ns/net mtu:1500} ParentIfName:eth0 vlanIfName:vlan20b6239c-44 vlanId:3 containerTmpIfName:mac20b6239c-44}
I : 3821 : 2018/04/20 23:46:35 macvlan.go:266: {CniIntf:{containerId:44aca3e86ce4873e93339e77eca27c66e47389552fc6930ede832a5d0ca79d17 containerUuid:20b6239c-4494-11e8-97a1-02125a1cf9ff containerIfName:eth0 containerNamespace:/proc/3802/ns/net mtu:1500} ParentIfName:eth0 vlanIfName:vlan20b6239c-44 vlanId:3 containerTmpIfName:mac20b6239c-44}
I : 3821 : 2018/04/20 23:46:35 macvlan.go:233: Creating MacVlan interface {CniIntf:{containerId:44aca3e86ce4873e93339e77eca27c66e47389552fc6930ede832a5d0ca79d17 containerUuid:20b6239c-4494-11e8-97a1-02125a1cf9ff containerIfName:eth0 containerNamespace:/proc/3802/ns/net mtu:1500} ParentIfName:eth0 vlanIfName:vlan20b6239c-44 vlanId:3 containerTmpIfName:mac20b6239c-44}
I : 3821 : 2018/04/20 23:46:35 macvlan.go:50: Creating vlan interface {CniIntf:{containerId:44aca3e86ce4873e93339e77eca27c66e47389552fc6930ede832a5d0ca79d17 containerUuid:20b6239c-4494-11e8-97a1-02125a1cf9ff containerIfName:eth0 containerNamespace:/proc/3802/ns/net mtu:1500} ParentIfName:eth0 vlanIfName:vlan20b6239c-44 vlanId:3 containerTmpIfName:mac20b6239c-44}
E : 3821 : 2018/04/20 23:46:35 macvlan.go:78: Error creating vlan interface vlan20b6239c-44 vlan-id 3parent-intf eth0. Error : file exists
E : 3821 : 2018/04/20 23:46:35 macvlan.go:237: Error creating vlan interface {CniIntf:{containerId:44aca3e86ce4873e93339e77eca27c66e47389552fc6930ede832a5d0ca79d17 containerUuid:20b6239c-4494-11e8-97a1-02125a1cf9ff containerIfName:eth0 containerNamespace:/proc/3802/ns/net mtu:1500} ParentIfName:eth0 vlanIfName:vlan20b6239c-44 vlanId:3 containerTmpIfName:mac20b6239c-44}. Error file exists