Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1635344

Summary: ovn-trace: ct_lb action not implemented
Product: Red Hat Enterprise Linux 7 Reporter: lorenzo bianconi <lorenzo.bianconi>
Component: openvswitch2.10Assignee: lorenzo bianconi <lorenzo.bianconi>
Status: CLOSED ERRATA QA Contact: haidong li <haili>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: atelang, atragler, ctrautma, dcbw, fleitner, haili, igkioka, kfida, ovs-qe, qding
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.10-2.10.0-11.el7fdn Doc Type: Enhancement
Doc Text:
This update adds the ct_lb action in the ovn-trace utility. As a result, it is now possible to test and debug load balancing rules in OVN with the ovn-trace command.
Story Points: ---
Clone Of: 1623529 Environment:
Last Closed: 2019-01-07 08:51:12 UTC Type: Bug
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: 1623529    
Bug Blocks:    

Comment 3 haidong li 2018-12-03 03:04:22 UTC
this issue is verified on latest version:
[root@hp-dl388g8-19 ovn]#  ovn-nbctl get logical_switch s2 load_balancer
[3e6b58db-3b75-4158-899f-8edc157010e3]
[root@hp-dl388g8-19 ovn]#
[root@hp-dl388g8-19 ovn]# ovn-nbctl list load_balancer 3e6b58db-3b75-4158-899f-8edc157010e3
_uuid               : 3e6b58db-3b75-4158-899f-8edc157010e3
external_ids        : {}
name                : ""
protocol            : []
vips                : {"300::1"="2001:db8:103::11,2001:db8:103::12", "[300::1]:8000"="[2001:db8:103::11]:80,[2001:db8:103::12]:80"}
[root@hp-dl388g8-19 ovn]# 
[root@hp-dl388g8-19 ovn]# ovn-trace --ct=new --detail  s2  'inport == "hv1_vm00_vnet1" &&  ip6.dst == 300::1 && ip6.src == 2001:db8:102::11 && tcp.dst == 8000'
# tcp6,reg14=0x2,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,ipv6_src=2001:db8:102::11,ipv6_dst=300::1,ipv6_label=0x00000,nw_tos=0,nw_ecn=0,nw_ttl=0,tp_src=0,tp_dst=8000,tcp_flags=0

ingress(dp="s2", inport="hv1_vm00_vnet1")
-----------------------------------------
 0. ls_in_port_sec_l2 (ovn-northd.c:3824): inport == "hv1_vm00_vnet1", priority 50, uuid 009cf26b
    next;
 4. ls_in_pre_lb (ovn-northd.c:3221): ip && ip6.dst == 300::1, priority 100, uuid 0dd3448c
    reg0[0] = 1;
    next;
 5. ls_in_pre_stateful (ovn-northd.c:3244): reg0[0] == 1, priority 100, uuid 67f17811
    ct_next;

ct_next(ct_state=new|trk)
-------------------------
10. ls_in_stateful (ovn-northd.c:3736): ct.new && ip6.dst == 300::1 && tcp.dst == 8000, priority 120, uuid bd3f3b92
    ct_lb([2001:db8:103::11]:80, [2001:db8:103::12]:80);

ct_lb
-----
16. ls_in_l2_lkup: no match (implicit drop)
[root@hp-dl388g8-19 ovn]#

Comment 5 errata-xmlrpc 2019-01-07 08:51:12 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, 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-2019:0029