Bug 2130758 - Metadata LSP port, northd warning about "Unknown chassis '' set as options:requested-chassis"
Summary: Metadata LSP port, northd warning about "Unknown chassis '' set as options:re...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn22.03
Version: FDP 22.A
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ales Musil
QA Contact: Ehsan Elahi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-29 04:05 UTC by OVN Bot
Modified: 2022-11-03 00:27 UTC (History)
5 users (show)

Fixed In Version: ovn22.03-22.03.0-101.el9fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-03 00:27:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2324 0 None None None 2022-09-29 04:24:04 UTC
Red Hat Product Errata RHBA-2022:7394 0 None None None 2022-11-03 00:27:07 UTC

Description OVN Bot 2022-09-29 04:05:01 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2126400

Comment 3 Ehsan Elahi 2022-10-18 11:22:49 UTC
Verified on 

[root@wsfd-advnetlab156 ~]# rpm -qa |grep -E "ovn|openvswitch"
openvswitch2.17-2.17.0-49.el9fdp.x86_64
ovn22.03-central-22.03.0-106.el9fdp.x86_64
ovn22.03-host-22.03.0-106.el9fdp.x86_64
openvswitch-selinux-extra-policy-1.0-29.el9fdp.noarch
ovn22.03-22.03.0-106.el9fdp.x86_64

Also verified on: 

[root@wsfd-advnetlab156 ~]# rpm -qa |grep -E "ovn|openvswitch"
openvswitch2.17-2.17.0-49.el9fdp.x86_64
ovn22.06-central-22.06.0-64.el9fdp.x86_64
ovn22.06-host-22.06.0-64.el9fdp.x86_64
openvswitch-selinux-extra-policy-1.0-29.el9fdp.noarch
ovn22.06-22.06.0-64.el9fdp.x86_64


Here is the reproducer: 

############# Chassis HV0 ##########

systemctl start ovn-northd
systemctl start openvswitch
ovs-vsctl set open . external_ids:system-id=hv0
ovs-vsctl set open . external_ids:ovn-remote=tcp:172.16.1.1:6642
ovs-vsctl set open . external_ids:ovn-encap-type=geneve
ovs-vsctl set open . external_ids:ovn-encap-ip=172.16.1.2
systemctl start ovn-controller

ip netns add vm2
ip link add vm2 type veth peer name vm2_p
ip link set vm2 netns vm2
ip netns exec vm2 ip link set lo up
ip netns exec vm2 ip link set vm2 up
ip netns exec vm2 ip link set vm2 address 00:00:00:02:00:02
ip netns exec vm2 ip addr add 172.16.1.2/24 dev vm2
ip netns exec vm2 ip -6 addr add 3001::2/64 dev vm2
ovs-vsctl add-port br-int vm2_p
ip link set vm2_p up
ovs-vsctl set interface vm2_p external_ids:iface-id=ls1p2


############# Chassis HV1 ##########

systemctl start ovn-northd
ovn-nbctl set-connection ptcp:6641
ovn-sbctl set-connection ptcp:6642
systemctl start openvswitch
ovs-vsctl set open . external_ids:system-id=hv1
ovs-vsctl set open . external_ids:ovn-remote=tcp:172.16.1.1:6642
ovs-vsctl set open . external_ids:ovn-encap-type=geneve
ovs-vsctl set open . external_ids:ovn-encap-ip=172.16.1.1
systemctl start ovn-controller

ovn-nbctl ls-add ls1
ovn-nbctl lsp-add ls1 ls1p1
ovn-nbctl lsp-set-addresses ls1p1 "00:00:00:01:00:02 172.16.1.1 3001::1"
ovn-nbctl lsp-add ls1 ls1p2
ovn-nbctl lsp-set-addresses ls1p2 "00:00:00:02:00:02 172.16.1.2 3001::2"

ip netns add vm1
ip link add vm1 type veth peer name vm1_p
ip link set vm1 netns vm1
ip netns exec vm1 ip link set lo up
ip netns exec vm1 ip link set vm1 up
ip netns exec vm1 ip link set vm1 address 00:00:00:01:00:02
ip netns exec vm1 ip addr add 172.16.1.1/24 dev vm1
ip netns exec vm1 ip -6 addr add 3001::1/64 dev vm1
ovs-vsctl add-port br-int vm1_p
ip link set vm1_p up
ovs-vsctl set interface vm1_p external_ids:iface-id=ls1p1

ip netns exec vm1 ping 172.16.1.2 -c3 # Ping successful 

ovn-nbctl lsp-set-options ls1p2 requested-chassis=hv1

ip netns exec vm1 ping 172.16.1.2 -c3 # ping failed

ovn-nbctl lsp-set-options ls1p2 requested-chassis=hv0 
ip netns exec vm1 ping 172.16.1.2 -c3 # Ping successful

Comment 5 errata-xmlrpc 2022-11-03 00:27:00 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), 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:7394


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