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 2144933

Summary: ovn-controller seems to have installed two ct-zones with same ID
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn22.03Assignee: Mark Michelson <mmichels>
Status: CLOSED ERRATA QA Contact: Jianlin Shi <jishi>
Severity: high Docs Contact:
Priority: high    
Version: FDP 22.LCC: amusil, ctrautma, gparente, jiji, mmichels, palonsor
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-12-15 15:24:44 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-11-22 19:29:10 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2126406

Comment 4 Jianlin Shi 2022-12-02 05:34:36 UTC
with reproducer in https://bugzilla.redhat.com/show_bug.cgi?id=2144940#c3,
reproduced on ovn22.03-22.03.0-118.el9:

+ ovn-appctl -t ovn-controller exit --restart                                                         
+ ovs-vsctl set bridge br-int external_ids:ct-zone-ls0-hv=0                                           
+ ovs-vsctl set bridge br-int external_ids:ct-zone-ls0-hv1=0                                          
+ ovs-vsctl set bridge br-int external_ids:ct-zone-ls0-hv2=0                                          
+ systemctl start ovn-controller                                                                      
+ ovn-nbctl --wait=hv sync                                                                            
+ sleep 2                                                                                             
+ ovn-appctl ct-zone-list                                                                             
7500ebf2-a2ee-4573-b8c1-7e32a6250d3f_snat 1                                                           
ls0-hv1 0                                                                                             
ls0-hv2 0                                                                                             
bdcc96ba-cda9-4910-91b9-f36514a4992f_dnat 2                                                           
ls0-hv 0                                                                                              
7500ebf2-a2ee-4573-b8c1-7e32a6250d3f_dnat 6                                                           
bdcc96ba-cda9-4910-91b9-f36514a4992f_snat 0                                                           
[root@dell-per730-20 bz2126406]# rpm -qa | grep -E "ovn22.03|openvswitch2.17"                         
openvswitch2.17-2.17.0-57.el9fdp.x86_64                                                               
ovn22.03-22.03.0-118.el9fdp.x86_64                                                                    
ovn22.03-central-22.03.0-118.el9fdp.x86_64                                                            
ovn22.03-host-22.03.0-118.el9fdp.x86_64

<=== multiple zone=0

Verified on ovn22.03-22.03.0-125.el9:

+ ovn-appctl -t ovn-controller exit --restart
+ ovs-vsctl set bridge br-int external_ids:ct-zone-ls0-hv=0                                           
+ ovs-vsctl set bridge br-int external_ids:ct-zone-ls0-hv1=0
+ ovs-vsctl set bridge br-int external_ids:ct-zone-ls0-hv2=0                                          
+ systemctl start ovn-controller
+ ovn-nbctl --wait=hv sync
+ sleep 2
+ ovn-appctl ct-zone-list
240f9430-6755-4a0e-ab4f-8c61980fe5f0_snat 0                                                           
ls0-hv1 2                                                                                             
ls0-hv2 1
ls0-hv 3
240f9430-6755-4a0e-ab4f-8c61980fe5f0_dnat 5                                                           
3902605f-03e2-423c-a66d-08ef43d4ebbf_dnat 4                                                           
3902605f-03e2-423c-a66d-08ef43d4ebbf_snat 7                                                           
[root@dell-per730-20 bz2126406]# rpm -qa | grep -E "openvswitch2.17|ovn22.03"                         
openvswitch2.17-2.17.0-57.el9fdp.x86_64
ovn22.03-22.03.0-125.el9fdp.x86_64
ovn22.03-central-22.03.0-125.el9fdp.x86_64
ovn22.03-host-22.03.0-125.el9fdp.x86_64

<=== only one zone=0

Comment 6 errata-xmlrpc 2022-12-15 15:24:44 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:9060