The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1956748 - [ovn] Missing/wrong openflow rules after ofport change
Summary: [ovn] Missing/wrong openflow rules after ofport change
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn2.13
Version: FDP 21.I
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: lorenzo bianconi
QA Contact: Fei Liu
URL:
Whiteboard:
: 1965897 (view as bug list)
Depends On: 1908391
Blocks: 1970948
TreeView+ depends on / blocked
 
Reported: 2021-05-04 10:59 UTC by Jakub Libosvar
Modified: 2021-08-26 05:58 UTC (History)
18 users (show)

Fixed In Version: ovn2.13-20.12.0-120.el7fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1908391
: 1970948 (view as bug list)
Environment:
Last Closed: 2021-06-21 14:44:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-1297 0 None None None 2021-08-11 13:58:10 UTC
Red Hat Product Errata RHBA-2021:2507 0 None None None 2021-06-21 14:46:02 UTC

Comment 1 Dumitru Ceara 2021-05-04 12:15:55 UTC
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

Comment 14 Sandeep Yadav 2021-06-14 05:54:04 UTC
*** Bug 1965897 has been marked as a duplicate of this bug. ***

Comment 16 errata-xmlrpc 2021-06-21 14:44:39 UTC
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


Note You need to log in before you can comment on or make changes to this bug.