Bug 2116621

Summary: ovn-controller is not installing the group mod flows properly for load balancers
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn22.03Assignee: OVN Team <ovnteam>
Status: CLOSED ERRATA QA Contact: ying xu <yinxu>
Severity: high Docs Contact:
Priority: high    
Version: FDP 22.LCC: anusaxen, ctrautma, jiji, jishi, jniu, mmichels, nusiddiq, rkhan, zzhao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn22.03-22.03.0-81.el9fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-11 13:03:41 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:

Description OVN Bot 2022-08-09 04:06:52 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2112111

Comment 3 ying xu 2022-09-26 10:14:37 UTC
as it said in https://bugzilla.redhat.com/show_bug.cgi?id=2112111#c6

it is very difficult to reproduce, I tried the script as below:use the topo in case:kernel-kernel-networking-openvswitch-ovn-regression-bz1776712_broadcast_limit.noarch
ovs-vsctl set open . external_ids:ovn-ofctrl-wait-before-clear=5000
ovs-vsctl list open_vswitch .
sleep 5
for i in `seq 100 200`;do
        systemctl restart ovs-vswitchd
        sleep 1
        ovn-nbctl lb-add lb$i 2.2.2.$i 10.1.2.$i -- ls-lb-add s1 lb$i
        sleep 5
        count=`ovn-appctl -t ovn-controller group-table-list | awk '{print $2}' | sort | uniq | wc -l`
        if [ $count == $i ];then
                echo $count
        else
                echo $count
                break
        fi
        if [ `cat /var/log/openvswitch/ovs-vswitchd.log |grep error` ];then
                break;
        fi
        sleep 10
done

no errors found.

version:
# rpm -qa|grep ovn
ovn22.03-22.03.0-95.el8fdp.x86_64
ovn22.03-host-22.03.0-95.el8fdp.x86_64
ovn22.03-central-22.03.0-95.el8fdp.x86_64

set as verified.

Comment 4 ying xu 2022-09-27 01:12:20 UTC
(In reply to ying xu from comment #3)
> as it said in https://bugzilla.redhat.com/show_bug.cgi?id=2112111#c6
> 
> it is very difficult to reproduce, I tried the script as below:use the topo
> in
> case:kernel-kernel-networking-openvswitch-ovn-regression-
> bz1776712_broadcast_limit.noarch
> ovs-vsctl set open . external_ids:ovn-ofctrl-wait-before-clear=5000
> ovs-vsctl list open_vswitch .
> sleep 5
> for i in `seq 100 200`;do
>         systemctl restart ovs-vswitchd
>         sleep 1
>         ovn-nbctl lb-add lb$i 2.2.2.$i 10.1.2.$i -- ls-lb-add s1 lb$i
>         sleep 5
>         count=`ovn-appctl -t ovn-controller group-table-list | awk '{print
> $2}' | sort | uniq | wc -l`
>         if [ $count == $i ];then
>                 echo $count
>         else
>                 echo $count
>                 break
>         fi
>         if [ `cat /var/log/openvswitch/ovs-vswitchd.log |grep error` ];then
>                 break;
>         fi
>         sleep 10
> done
> 
> no errors found.
> 
> version:
> # rpm -qa|grep ovn
> ovn22.03-22.03.0-95.el8fdp.x86_64
> ovn22.03-host-22.03.0-95.el8fdp.x86_64
> ovn22.03-central-22.03.0-95.el8fdp.x86_64
> 
> set as verified.

sorry , the version is as below:
ovn22.03-22.03.0-95.el9fdp.x86_64
ovn22.03-central-22.03.0-95.el9fdp.x86_64
ovn22.03-host-22.03.0-95.el9fdp.x86_64

Comment 7 errata-xmlrpc 2022-10-11 13:03:41 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 (ovn22.03 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-2022:6879