The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 2035711 - ovs-ctl fails to restore the flows after restart ovs
Summary: ovs-ctl fails to restore the flows after restart ovs
Keywords:
Status: CLOSED DUPLICATE of bug 2029940
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch2.16
Version: FDP 21.J
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Timothy Redaelli
QA Contact: qding
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-27 06:48 UTC by liting
Modified: 2022-01-12 14:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-12 14:05:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-1698 0 None None None 2021-12-27 06:50:06 UTC

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 ***


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