Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 2035711

Summary: ovs-ctl fails to restore the flows after restart ovs
Product: Red Hat Enterprise Linux Fast Datapath Reporter: liting <tli>
Component: openvswitch2.16Assignee: Timothy Redaelli <tredaelli>
Status: CLOSED DUPLICATE QA Contact: qding
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 21.JCC: atragler, ctrautma, jhsiao, ralongi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-12 14:05:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description liting 2021-12-27 06:48:55 UTC
Description of problem:


Version-Release number of selected component (if applicable):
[root@dell-per730-50 ~]# rpm -qa|grep openvswitch
openvswitch2.16-2.16.0-32.el8fdp.x86_64
openvswitch-selinux-extra-policy-1.0-23.el8fdp.noarch
kernel-kernel-networking-openvswitch-common-2.0-187.noarch


How reproducible:


Steps to Reproduce:
1.  
ovs-vsctl add-br br0
ovs-ofctl del-flows br0
ovs-ofctl add-flow br0 "ip,nw_proto=2 actions=drop"
ovs-ofctl add-flow br0 in_port=1,idle_timeout=0,actions=output:1
ovs-ofctl add-flow br0 in_port=2,idle_timeout=0,actions=output:2
ovs-ofctl dump-flows br0 

2. /usr/share/openvswitch/scripts/ovs-ctl restart
3.ovs-ofctl dump-flows br0

Actual results:
The step 3 flow result:
[root@dell-per730-50 ~]# ovs-ofctl dump-flows br0
 cookie=0x0, duration=10822.254s, table=0, n_packets=0, n_bytes=0, priority=0 actions=NORMAL

The step 1 flow result:
[root@dell-per730-50 ~]# ovs-ofctl dump-flows br0 
 cookie=0x0, duration=0.831s, table=0, n_packets=0, n_bytes=0, igmp actions=drop
 cookie=0x0, duration=0.827s, table=0, n_packets=0, n_bytes=0, in_port=1 actions=output:1
 cookie=0x0, duration=0.823s, table=0, n_packets=0, n_bytes=0, in_port=2 actions=output:2


Expected results:
The step1 and step3 flow result should be same. 

Additional info:
https://beaker.engineering.redhat.com/jobs/6136189

Comment 1 Timothy Redaelli 2022-01-12 11:12:06 UTC
Hi,
do you have the same problem if you use systemctl reload openvswitch or you use /usr/share/openvswitch/scripts/ovs-systemd-reload?

Comment 2 Timothy Redaelli 2022-01-12 14:05:55 UTC

*** This bug has been marked as a duplicate of bug 2029940 ***