This is related to localport incremental processing; OVN-only reproducer, in a sandbox: $ ovn-nbctl ls-add ls $ ovn-nbctl lsp-add ls lp1 -- lsp-set-type lp1 localport $ ovn-nbctl lsp-add ls vm1 $ ovs-vsctl add-port br-int lp1 -- set interface lp1 external_ids:iface-id=lp1 $ ovs-vsctl add-port br-int vm1 -- set interface vm1 external_ids:iface-id=vm1 $ sleep 1 $ ovs-ofctl dump-flows br-int | grep output cookie=0xf8c0fc0d, duration=40.301s, table=65, n_packets=0, n_bytes=0, idle_age=40, priority=100,reg15=0x1,metadata=0x1 actions=output:1 cookie=0xb6c1703b, duration=40.301s, table=65, n_packets=0, n_bytes=0, idle_age=40, priority=100,reg15=0x2,metadata=0x1 actions=output:2 $ ovs-vsctl del-port lp1 $ ovs-vsctl add-port br-int lp1 -- set interface lp1 external_ids:iface-id=lp1 $ sleep 1 $ ovs-ofctl dump-flows br-int | grep output cookie=0xf8c0fc0d, duration=21.288s, table=65, n_packets=0, n_bytes=0, idle_age=21, priority=100,reg15=0x1,metadata=0x1 actions=output:1 <<< This is STALE. cookie=0xb6c1703b, duration=21.288s, table=65, n_packets=0, n_bytes=0, idle_age=21, priority=100,reg15=0x2,metadata=0x1 actions=output:2 $ ovn-appctl -t ovn-controller recompute $ ovs-ofctl dump-flows br-int | grep output cookie=0xb6c1703b, duration=44.114s, table=65, n_packets=0, n_bytes=0, idle_age=44, priority=100,reg15=0x2,metadata=0x1 actions=output:2 cookie=0xf8c0fc0d, duration=44.114s, table=65, n_packets=0, n_bytes=0, idle_age=44, hard_age=0, priority=100,reg15=0x1,metadata=0x1 actions=output:3 $ ovs-ofctl show br-int OFPT_FEATURES_REPLY (xid=0x2): dpid:00002a0e5212c19b n_tables:254, n_buffers:0 capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst 2(vm1): addr:aa:55:aa:55:00:19 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max 3(lp1): addr:aa:55:aa:55:00:1a config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max
Upstream patch posted: http://patchwork.ozlabs.org/project/ovn/patch/76be2426a9e56cdc87173004be2e32d440c796e0.1620918724.git.lorenzo.bianconi@redhat.com/
*** Bug 1965897 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (ovn2.13 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:2507