Bug 2029944
| Summary: | Restoring saved flows ovs-ofctl: [...] field igmp missing value | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Salvatore Daniele <sdaniele> |
| Component: | openvswitch2.13 | Assignee: | Open vSwitch development team <ovs-team> |
| Status: | CLOSED ERRATA | QA Contact: | Rick Alongi <ralongi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | FDP 20.E | CC: | amorenoz, ctrautma, jhsiao, msantana, ralongi, sdaniele |
| Target Milestone: | --- | ||
| Target Release: | FDB 18.04 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openvswitch2.13-2.13.0-140.el8fdp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1982743 | Environment: | |
| Last Closed: | 2022-02-24 17:47:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1982743 | ||
| Bug Blocks: | 2029938, 2029940 | ||
|
Description
Salvatore Daniele
2021-12-07 15:56:15 UTC
# Reproduced issue using openvswitch2.13-2.13.0-139.el8fdp:
[root@netqe9 ~]# uname -r
4.18.0-193.6.3.el8_2.x86_64
[root@netqe9 ~]# rpm -qa | grep openvswitch
openvswitch-selinux-extra-policy-1.0-28.el8fdp.noarch
openvswitch2.13-2.13.0-139.el8fdp.x86_64
[root@netqe9 ~]# /usr/share/openvswitch/scripts/ovs-ctl start
ovsdb-server is already running.
ovs-vswitchd is already running.
Enabling remote OVSDB managers [ OK ]
[root@netqe9 ~]# ovs-vsctl add-br br0
[root@netqe9 ~]# ovs-ofctl del-flows br0
[root@netqe9 ~]# ovs-ofctl add-flow br0 "ip,nw_proto=2 actions=drop"
[root@netqe9 ~]# ovs-ofctl add-flow br0 in_port=1,idle_timeout=0,actions=output:1
[root@netqe9 ~]# ovs-ofctl add-flow br0 in_port=2,idle_timeout=0,actions=output:2
[root@netqe9 ~]# ovs-ofctl dump-flows br0
cookie=0x0, duration=19.871s, table=0, n_packets=0, n_bytes=0, igmp actions=drop
cookie=0x0, duration=12.277s, table=0, n_packets=0, n_bytes=0, in_port=1 actions=output:1
cookie=0x0, duration=6.306s, table=0, n_packets=0, n_bytes=0, in_port=2 actions=output:2
[root@netqe9 ~]# /usr/share/openvswitch/scripts/ovs-ctl restart
Saving flows [ OK ]
Exiting ovsdb-server (21444) [ OK ]
Starting ovsdb-server [ OK ]
system ID not configured, please use --system-id ... failed!
Configuring Open vSwitch system IDs [ OK ]
Exiting ovs-vswitchd (21903) [ OK ]
Starting ovs-vswitchd [ OK ]
Restoring saved flows ovs-ofctl: /tmp/ovs-save.fZSLMp2gAa/br0.flows.dump:1: field igmp missing value
[ OK ]
Enabling remote OVSDB managers [ OK ]
[root@netqe9 ~]# ovs-ofctl dump-flows br0
cookie=0x0, duration=11.553s, table=0, n_packets=0, n_bytes=0, priority=0 actions=NORMAL
[root@netqe9 ~]#
# Verified fix using openvswitch2.13-2.13.0-143.el8fdp:
[root@netqe9 ~]# rpm -qa | grep openvswitch
openvswitch2.13-2.13.0-143.el8fdp.x86_64
openvswitch-selinux-extra-policy-1.0-28.el8fdp.noarch
[root@netqe9 ~]# /usr/share/openvswitch/scripts/ovs-ctl start
ovsdb-server is already running.
ovs-vswitchd is already running.
Enabling remote OVSDB managers [ OK ]
[root@netqe9 ~]# ovs-vsctl add-br br0
[root@netqe9 ~]# ovs-ofctl del-flows br0
[root@netqe9 ~]# ovs-ofctl add-flow br0 "ip,nw_proto=2 actions=drop"
[root@netqe9 ~]# ovs-ofctl add-flow br0 in_port=1,idle_timeout=0,actions=output:1
[root@netqe9 ~]# ovs-ofctl add-flow br0 in_port=2,idle_timeout=0,actions=output:2
[root@netqe9 ~]# ovs-ofctl dump-flows br0
cookie=0x0, duration=17.741s, table=0, n_packets=0, n_bytes=0, igmp actions=drop
cookie=0x0, duration=10.505s, table=0, n_packets=0, n_bytes=0, in_port=1 actions=output:1
cookie=0x0, duration=4.951s, table=0, n_packets=0, n_bytes=0, in_port=2 actions=output:2
[root@netqe9 ~]# /usr/share/openvswitch/scripts/ovs-ctl restart
Saving flows [ OK ]
Exiting ovsdb-server (37467) [ OK ]
Starting ovsdb-server [ OK ]
system ID not configured, please use --system-id ... failed!
Configuring Open vSwitch system IDs [ OK ]
Exiting ovs-vswitchd (37559) [ OK ]
Starting ovs-vswitchd [ OK ]
Restoring saved flows [ OK ]
Enabling remote OVSDB managers [ OK ]
[root@netqe9 ~]# ovs-ofctl dump-flows br0
cookie=0x0, duration=14.594s, table=0, n_packets=0, n_bytes=0, igmp actions=drop
cookie=0x0, duration=14.594s, table=0, n_packets=0, n_bytes=0, in_port=1 actions=output:1
cookie=0x0, duration=14.594s, table=0, n_packets=0, n_bytes=0, in_port=2 actions=output:2
[root@netqe9 ~]#
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 (openvswitch2.13 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-2022:0675 |