The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 2208735 - Localnet port traffic is not load balanced on the localnet switch.
Summary: Localnet port traffic is not load balanced on the localnet switch.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn22.03
Version: FDP 23.A
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Mark Michelson
QA Contact: ying xu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-20 04:10 UTC by OVN Bot
Modified: 2023-08-21 02:08 UTC (History)
4 users (show)

Fixed In Version: ovn22.03-22.03.0-197.el8fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-21 02:08:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2893 0 None None None 2023-05-20 04:12:59 UTC
Red Hat Product Errata RHBA-2023:4682 0 None None None 2023-08-21 02:08:13 UTC

Description OVN Bot 2023-05-20 04:10:10 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2164652

Comment 3 ying xu 2023-07-17 07:47:33 UTC
verified on version:
# rpm -qa|grep ovn22.03
ovn22.03-central-22.03.0-218.el8fdp.x86_64
ovn22.03-22.03.0-218.el8fdp.x86_64
ovn22.03-host-22.03.0-218.el8fdp.x86_64

:: [ 03:03:31 ] :: [  BEGIN   ] :: Running 'systemctl start openvswitch'
:: [ 03:03:32 ] :: [   PASS   ] :: Command 'systemctl start openvswitch' (Expected 0, got 0)
:: [ 03:03:32 ] :: [  BEGIN   ] :: Running 'systemctl start ovn-northd'
:: [ 03:03:32 ] :: [   PASS   ] :: Command 'systemctl start ovn-northd' (Expected 0, got 0)
:: [ 03:03:32 ] :: [  BEGIN   ] :: Running 'ovn-nbctl set-connection ptcp:6641'
:: [ 03:03:32 ] :: [   PASS   ] :: Command 'ovn-nbctl set-connection ptcp:6641' (Expected 0, got 0)
:: [ 03:03:32 ] :: [  BEGIN   ] :: Running 'ovn-sbctl set-connection ptcp:6642'
:: [ 03:03:32 ] :: [   PASS   ] :: Command 'ovn-sbctl set-connection ptcp:6642' (Expected 0, got 0)
:: [ 03:03:32 ] :: [  BEGIN   ] :: Running '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'
:: [ 03:03:32 ] :: [   PASS   ] :: Command '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' (Expected 0, got 0)
:: [ 03:03:32 ] :: [  BEGIN   ] :: Running 'systemctl restart ovn-controller'
:: [ 03:03:33 ] :: [   PASS   ] :: Command 'systemctl restart ovn-controller' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lr-add rtr'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl lr-add rtr' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lrp-add rtr rtr-ls-pub 00:00:00:00:01:00 41.41.41.1/24'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl lrp-add rtr rtr-ls-pub 00:00:00:00:01:00 41.41.41.1/24' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lrp-add rtr rtr-ls-priv 00:00:00:00:02:00 42.42.42.1/24'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl lrp-add rtr rtr-ls-priv 00:00:00:00:02:00 42.42.42.1/24' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl ls-add ls-pub'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl ls-add ls-pub' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl ls-add ls-priv'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl ls-add ls-priv' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-add ls-pub ln'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-add ls-pub ln' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-type ln localnet'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-type ln localnet' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-addresses ln unknown'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-addresses ln unknown' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-options ln network_name=phys'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-options ln network_name=phys' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovs-vsctl set open . external-ids:ovn-bridge-mappings=phys:br-phys'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovs-vsctl set open . external-ids:ovn-bridge-mappings=phys:br-phys' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovs-vsctl add-br br-phys'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ovs-vsctl add-br br-phys' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ip a a dev br-phys 41.41.41.2/24'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ip a a dev br-phys 41.41.41.2/24' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ip link set dev br-phys up'
:: [ 03:03:33 ] :: [   PASS   ] :: Command '	ip link set dev br-phys up' (Expected 0, got 0)
:: [ 03:03:33 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-add ls-pub ls-pub-rtr'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-add ls-pub ls-pub-rtr' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-addresses ls-pub-rtr 00:00:00:00:01:00'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-addresses ls-pub-rtr 00:00:00:00:01:00' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-type ls-pub-rtr router'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-type ls-pub-rtr router' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-options ls-pub-rtr router-port=rtr-ls-pub'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-options ls-pub-rtr router-port=rtr-ls-pub' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-add ls-priv ls-priv-rtr'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-add ls-priv ls-priv-rtr' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-addresses ls-priv-rtr 00:00:00:00:02:00'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-addresses ls-priv-rtr 00:00:00:00:02:00' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-type ls-priv-rtr router'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-type ls-priv-rtr router' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-options ls-priv-rtr router-port=rtr-ls-priv'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-options ls-priv-rtr router-port=rtr-ls-priv' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-add ls-priv vm1'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-add ls-priv vm1' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lsp-set-addresses vm1 00:00:00:00:00:01'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovn-nbctl lsp-set-addresses vm1 00:00:00:00:00:01' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ip netns add vm1'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ip netns add vm1' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ovs-vsctl add-port br-int vm1 -- set interface vm1 type=internal'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ovs-vsctl add-port br-int vm1 -- set interface vm1 type=internal' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ip link set vm1 netns vm1'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ip link set vm1 netns vm1' (Expected 0, got 0)
:: [ 03:03:34 ] :: [  BEGIN   ] :: Running '	ip netns exec vm1 ip link set vm1 address 00:00:00:00:00:01'
:: [ 03:03:34 ] :: [   PASS   ] :: Command '	ip netns exec vm1 ip link set vm1 address 00:00:00:00:00:01' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running '	ip netns exec vm1 ip addr add 42.42.42.2/24 dev vm1'
:: [ 03:03:35 ] :: [   PASS   ] :: Command '	ip netns exec vm1 ip addr add 42.42.42.2/24 dev vm1' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running '	ip netns exec vm1 ip link set vm1 up'
:: [ 03:03:35 ] :: [   PASS   ] :: Command '	ip netns exec vm1 ip link set vm1 up' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running '	ip netns exec vm1 ip r a default via 42.42.42.1'
:: [ 03:03:35 ] :: [   PASS   ] :: Command '	ip netns exec vm1 ip r a default via 42.42.42.1' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running '	ovs-vsctl set Interface vm1 external_ids:iface-id=vm1'
:: [ 03:03:35 ] :: [   PASS   ] :: Command '	ovs-vsctl set Interface vm1 external_ids:iface-id=vm1' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running '	ovn-nbctl lb-add lb-test 66.66.66.66:666 42.42.42.2:4242 tcp'
:: [ 03:03:35 ] :: [   PASS   ] :: Command '	ovn-nbctl lb-add lb-test 66.66.66.66:666 42.42.42.2:4242 tcp' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running '	ovn-nbctl ls-lb-add ls-pub lb-test'
:: [ 03:03:35 ] :: [   PASS   ] :: Command '	ovn-nbctl ls-lb-add ls-pub lb-test' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running '	ip r a 66.66.66.66 via 41.41.41.1'
:: [ 03:03:35 ] :: [   PASS   ] :: Command '	ip r a 66.66.66.66 via 41.41.41.1' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running '	ip r a 42.42.42.0/24 via 41.41.41.1'
:: [ 03:03:35 ] :: [   PASS   ] :: Command '	ip r a 42.42.42.0/24 via 41.41.41.1' (Expected 0, got 0)
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running 'ip netns exec vm1 nc -v -k -l 42.42.42.2 4242&'
:: [ 03:03:35 ] :: [   PASS   ] :: Command 'ip netns exec vm1 nc -v -k -l 42.42.42.2 4242&' (Expected 0, got 0)
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Listening on 42.42.42.2:4242
:: [ 03:03:35 ] :: [  BEGIN   ] :: Running 'nc -v -z 66.66.66.66 666'
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connected to 66.66.66.66:666.
Ncat: 0 bytes sent, 0 bytes received in 0.06 seconds.
Ncat: Connection from 41.41.41.2.
Ncat: Connection from 41.41.41.2:40360.
:: [ 03:03:35 ] :: [   PASS   ] :: Command 'nc -v -z 66.66.66.66 666' (Expected 0, got 0)

set verified.

Comment 5 errata-xmlrpc 2023-08-21 02:08:08 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-2023:4682


Note You need to log in before you can comment on or make changes to this bug.