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 2144946

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.09Assignee: 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:26:24 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:51 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2126406

Comment 3 Jianlin Shi 2022-12-02 05:53:52 UTC
tested with reproducer in https://bugzilla.redhat.com/show_bug.cgi?id=2144940#c3:

reproduced on ovn22.09-22.09.0-11.el8:

+ ovn-nbctl --wait=hv set logical_router lr0 options:snat-ct-zone=0                                   
+ 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                                                                             
ls0-hv2 0                                                                                             
ls0-hv1 0                                                                                             
145a2a4e-1872-4157-823f-42027fbf7883_snat 2                                                           
145a2a4e-1872-4157-823f-42027fbf7883_dnat 4                                                           
0c910bf1-90a3-4ea9-a868-b2a169b8afa8_snat 0                                                           
0c910bf1-90a3-4ea9-a868-b2a169b8afa8_dnat 5                                                           
ls0-hv 0   

<=== multiple zone=0
                                                                                           
[root@dell-per750-18 bz2126406]#  rpm -qa | grep -E "openvswitch2.17|ovn22.09"                        
ovn22.09-central-22.09.0-11.el8fdp.x86_64                                                             
openvswitch2.17-2.17.0-65.el8fdp.x86_64                                                               
ovn22.09-22.09.0-11.el8fdp.x86_64                                                                     
ovn22.09-host-22.09.0-11.el8fdp.x86_64

Verified on ovn22.09-22.09.0-22.el8:

+ ovn-nbctl --wait=hv set logical_router lr0 options:snat-ct-zone=0                                   
+ 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                                                                             
ls0-hv2 1
ls0-hv1 2                                                                                             
48d1c192-cb80-42b5-b7e8-851fdf95fd73_snat 0                                                           
48d1c192-cb80-42b5-b7e8-851fdf95fd73_dnat 3                                                           
79305731-5e10-40d8-9814-3e30b71c5b9d_snat 5                                                           
79305731-5e10-40d8-9814-3e30b71c5b9d_dnat 6                                                           
ls0-hv 4

<=== only one zone=0

[root@dell-per750-18 bz2126406]# rpm -qa | grep -E "openvswitch2.17|ovn22.09"                         
ovn22.09-host-22.09.0-22.el8fdp.x86_64
openvswitch2.17-2.17.0-65.el8fdp.x86_64
ovn22.09-central-22.09.0-22.el8fdp.x86_64                                                             
ovn22.09-22.09.0-22.el8fdp.x86_64

Comment 5 errata-xmlrpc 2022-12-15 15:26:24 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.09 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:9063