Bug 2046274
| Summary: | [ovn-northd] Failure to reconcile duplicate SB Load Balancer entries. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Dumitru Ceara <dceara> |
| Component: | ovn-2021 | Assignee: | Dumitru Ceara <dceara> |
| Status: | CLOSED ERRATA | QA Contact: | ying xu <yinxu> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | FDP 21.K | CC: | anusaxen, ctrautma, dceara, jiji, jishi, mmichels, mnunes, skanakal, trozet, vlours |
| Target Milestone: | --- | Keywords: | CustomerScenariosInitiative |
| Target Release: | FDP 22.B | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ovn-2021-21.12.0-15.el8fdp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2045577 | Environment: | |
| Last Closed: | 2022-03-30 16:28:33 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: | |||
| Bug Blocks: | 2045577 | ||
|
Comment 1
Dumitru Ceara
2022-01-26 14:08:55 UTC
Fix sent for review: http://patchwork.ozlabs.org/project/ovn/list/?series=282940&state=* reproduced on version:
# rpm -qa|grep ovn
ovn-2021-central-21.12.0-11.el8fdp.x86_64
ovn-2021-21.12.0-11.el8fdp.x86_64
ovn-2021-host-21.12.0-11.el8fdp.x86_64
# ovn-nbctl list load_balancer
_uuid : 644e4c39-2e67-4aa5-9ce2-f3b1f4149199
external_ids : {}
health_check : []
ip_port_mappings : {}
name : lb0
options : {}
protocol : tcp
selection_fields : []
vips : {"192.168.1.100"="192.168.1.2"}
[root@dell-per740-53 acl]# ovn-sbctl list load_balancer
_uuid : e2c20d6f-932b-4eb4-b263-0f8ae0cccbc6
datapaths : [27f2d4e7-8429-40c3-9bca-d57ad57a509c]
external_ids : {lb_id="644e4c39-2e67-4aa5-9ce2-f3b1f4149199"}
name : lb0
options : {hairpin_orig_tuple="true"}
protocol : tcp
vips : {"192.168.1.100"="192.168.1.2"}
[root@dell-per740-53 acl]#
[root@dell-per740-53 acl]# dps=$(ovn-sbctl --bare --columns datapaths list Load_Balancer)
[root@dell-per740-53 acl]# nlb=$(ovn-nbctl --bare --columns _uuid list Load_Balancer)
[root@dell-per740-53 acl]# ovn-sbctl create Load_Balancer name=lb1 datapaths="$dps" external_ids="lb_id=$nlb"
b842f04b-3564-47b8-bd74-e7b0fe007e79
[root@dell-per740-53 acl]# ovn-sbctl list load_balancer --------------------here are two items.
_uuid : b842f04b-3564-47b8-bd74-e7b0fe007e79
datapaths : [27f2d4e7-8429-40c3-9bca-d57ad57a509c]
external_ids : {lb_id="644e4c39-2e67-4aa5-9ce2-f3b1f4149199"}
name : lb1
options : {}
protocol : []
vips : {}
_uuid : e2c20d6f-932b-4eb4-b263-0f8ae0cccbc6
datapaths : [27f2d4e7-8429-40c3-9bca-d57ad57a509c]
external_ids : {lb_id="644e4c39-2e67-4aa5-9ce2-f3b1f4149199"}
name : lb0
options : {hairpin_orig_tuple="true"}
protocol : tcp
vips : {"192.168.1.100"="192.168.1.2"}
verified on version:
# ovn-nbctl list load_balancer
_uuid : 96c14f1c-7152-4470-9cbe-a1753afe6916
external_ids : {}
health_check : []
ip_port_mappings : {}
name : lb0
options : {}
protocol : tcp
selection_fields : []
vips : {"192.168.1.100"="192.168.1.2"}
[root@dell-per740-53 acl]# ovn-sbctl list load_balancer
_uuid : c7f64b13-a56c-4af8-91b0-c7f850c94338
datapaths : [63810bb0-6fe3-48cb-83e5-52fb08c793f6]
external_ids : {lb_id="96c14f1c-7152-4470-9cbe-a1753afe6916"}
name : lb0
options : {hairpin_orig_tuple="true"}
protocol : tcp
vips : {"192.168.1.100"="192.168.1.2"}
[root@dell-per740-53 acl]#
[root@dell-per740-53 acl]# dps=$(ovn-sbctl --bare --columns datapaths list Load_Balancer)
[root@dell-per740-53 acl]# nlb=$(ovn-nbctl --bare --columns _uuid list Load_Balancer)
[root@dell-per740-53 acl]# ovn-sbctl create Load_Balancer name=lb1 datapaths="$dps" external_ids="lb_id=$nlb"
3e05685a-6d73-4aec-81b6-0b58c6e4d0b2
[root@dell-per740-53 acl]# ovn-nbctl --wait=sb sync
[root@dell-per740-53 acl]#
[root@dell-per740-53 acl]# ovn-sbctl list load_balancer --------------------------------only 1 item now.
_uuid : 3e05685a-6d73-4aec-81b6-0b58c6e4d0b2
datapaths : [63810bb0-6fe3-48cb-83e5-52fb08c793f6]
external_ids : {lb_id="96c14f1c-7152-4470-9cbe-a1753afe6916"}
name : lb0
options : {hairpin_orig_tuple="true"}
protocol : tcp
vips : {"192.168.1.100"="192.168.1.2"}
*** Bug 2059812 has been marked as a duplicate of this bug. *** 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 (ovn 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:1144 |