Bug 2162822
| Summary: | OVN is not respecting the ct zone request from ovnk | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | OVN Bot <ovn-bot> |
| Component: | ovn22.03 | Assignee: | Mark Michelson <mmichels> |
| Status: | CLOSED ERRATA | QA Contact: | Jianlin Shi <jishi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | FDP 22.L | CC: | ctrautma, dceara, jiji, mmichels |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovn22.03-22.03.0-146.el8fdp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-03-16 10:24:50 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
2023-01-21 05:06:24 UTC
reproduced on ovn22.03-22.03.0-125.el8: [root@wsfd-advnetlab16 bz2160403]# bash -x rep.sh + systemctl start openvswitch + systemctl start ovn-northd + ovn-nbctl set-connection ptcp:6641 + ovn-sbctl set-connection ptcp:6642 + ovs-vsctl set open . external_ids:system-id=hv1 external_ids:ovn-remote=tcp:127.0.0.1:6642 external_ids:ovn-encap-type=geneve external_ids:ovn-encap-ip=127.0.0.1 + systemctl restart ovn-controller + ovn-nbctl --wait=hv sync + ovn-sbctl list datapath_binding + ovn-nbctl lr-add lr0 -- set Logical_Router lr0 options:snat-ct-zone=666 -- lrp-add lr0 lrp-gw 01:00:00:00:00:01 172.16.0.1 -- lrp-set-gateway-chassis lrp-gw hv1 + ovn-nbctl --wait=hv sync ++ ovn-sbctl find datapath_bind external_ids:name=lr0 ++ awk '/_uuid/{print $3}' + lr_uuid=1fe418d8-8591-40fb-ba0f-ee967bf6ae7c ++ ovn-appctl -t ovn-controller ct-zone-list + ct_zones='1fe418d8-8591-40fb-ba0f-ee967bf6ae7c_dnat 1 1fe418d8-8591-40fb-ba0f-ee967bf6ae7c_snat 2' ++ printf '1fe418d8-8591-40fb-ba0f-ee967bf6ae7c_dnat 1 1fe418d8-8591-40fb-ba0f-ee967bf6ae7c_snat 2' ++ grep 1fe418d8-8591-40fb-ba0f-ee967bf6ae7c_snat ++ cut -d ' ' -f 2 + zone_num=2 + test 2 -eq 666 + echo 1 1 [root@wsfd-advnetlab16 bz2160403]# rpm -qa | grep -E "ovn22.03|openvswitch2.17" python3-openvswitch2.17-2.17.0-60.el8fdp.x86_64 ovn22.03-central-22.03.0-125.el8fdp.x86_64 openvswitch2.17-2.17.0-60.el8fdp.x86_64 ovn22.03-22.03.0-125.el8fdp.x86_64 ovn22.03-host-22.03.0-125.el8fdp.x86_64 Verified on ovn22.03-22.03.0-157.el8: + ovn-nbctl --wait=hv sync ++ ovn-sbctl find datapath_bind external_ids:name=lr0 ++ awk '/_uuid/{print $3}' + lr_uuid=efcb08ed-5244-46eb-8853-a2a495c2149f ++ ovn-appctl -t ovn-controller ct-zone-list + ct_zones='efcb08ed-5244-46eb-8853-a2a495c2149f_dnat 1 efcb08ed-5244-46eb-8853-a2a495c2149f_snat 666' ++ printf 'efcb08ed-5244-46eb-8853-a2a495c2149f_dnat 1 efcb08ed-5244-46eb-8853-a2a495c2149f_snat 666' ++ grep efcb08ed-5244-46eb-8853-a2a495c2149f_snat ++ cut -d ' ' -f 2 + zone_num=666 + test 666 -eq 666 + echo 0 0 [root@wsfd-advnetlab16 bz2160403]# rpm -qa | grep -E "ovn22.03|openvswitch2.17" python3-openvswitch2.17-2.17.0-60.el8fdp.x86_64 ovn22.03-22.03.0-157.el8fdp.x86_64 openvswitch2.17-2.17.0-60.el8fdp.x86_64 ovn22.03-central-22.03.0-157.el8fdp.x86_64 ovn22.03-host-22.03.0-157.el8fdp.x86_64 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-2023:1292 |