openvswitch / ovs-issues

Issue tracker repo for Open vSwitch
10 stars 3 forks source link

The netdev datapath cann't detect veth disappear #313

Open danieldin95 opened 11 months ago

danieldin95 commented 11 months ago

When I remove a veth from kernel, and we cann't see a error by ovs-vsctl show, and others warning in ovs-vswitchd log.

[root@ovs ~]# ip link show dev a0
Device "a0" does not exist.
[root@ovs ~]# ovs-vsctl show
8598edaa-846f-45a2-a0a4-05fb054b5b93
    Bridge br-Bond1
        Port Bond1
            Interface eth1
            Interface eth2
        Port br-Bond1
            Interface br-Bond1
                type: internal
    Bridge br-int
        datapath_type: netdev
        Port a0
            Interface a0
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "2.16.2.20231029_30"

This cause to vswitchd cann't receive a data again from kernel when I readd it by ip link add a0 type veth peer name a1.