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.
Description of problem:
fail to ping remote hv after two chassis claim lsp at the same time
Version-Release number of selected component (if applicable):
ovs_version: "2.9.0"
How reproducible:
everytime
Steps to Reproduce:
hv1 and hv0 are on two machines.Claim a logical port lsp0 with veth1 on chassis hv1 and hv0 at the same time,and the port is bond to hv1 successfully after I set the requested-chassis option for hv1.Then on hv1 I ping from veth2 to guest1,succeed.But failed to ping from veth2 to guest0 unless I remove the claimed lsp0 configuration on hv0.
+-----+ +-----+
| | | |
| hv1 | | hv0 |
guest1---| |---------| |------guest0
| | | |
+-----+ +-----+
|veth1 |veth1
| |
veth2 veth2
ovn-northd and ovn-controller is started on hv1:
[root@dell-per730-19 ~]# ovn-nbctl show
switch 0c96a118-2a66-49a5-8612-77458a20f7ce (s2)
port hv1_vm00_vnet1 <----------------------this is guest1's port
addresses: ["00e:ad:01:00:01 172.16.102.11 2001b8:102::11"]
port lsp0
addresses: ["3e:83:be:5d:5d:30 172.16.102.33 2001b8:102::33"]
port hv0_vm01_vnet1
addresses: ["00e:ad:00:01:01 172.16.102.22 2001b8:102::22"]
port hv1_vm01_vnet1
addresses: ["00e:ad:01:01:01 172.16.102.12 2001b8:102::12"]
port hv0_vm00_vnet1
addresses: ["00e:ad:00:00:01 172.16.102.21 2001b8:102::21"] <-----------------------this is guest0's port
[root@dell-per730-19 ~]# ovs-vsctl show
bb95cb3e-0bf2-4f4f-bf4b-dd49cc26ea22
Bridge br-int
fail_mode: secure
Port "hv1_vm00_vnet1"
Interface "hv1_vm00_vnet1"
Port "veth1"
Interface "veth1"
Port br-int
Interface br-int
type: internal
Port "hv1_vm01_vnet1"
Interface "hv1_vm01_vnet1"
Port "ovn-hv0-0"
Interface "ovn-hv0-0"
type: geneve
options: {csum="true", key=flow, remote_ip="20.0.0.26"}
ovs_version: "2.9.0"
[root@dell-per730-19 ~]# ip link show veth2
47: veth2@veth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 3e:83:be:5d:5d:30 brd ff:ff:ff:ff:ff:ff
[root@dell-per730-19 ~]#
[root@dell-per730-19 ~]# ovn-nbctl lsp-get-options lsp0
requested-chassis=hv1
[root@dell-per730-19 ~]# ovn-sbctl list Chassis
_uuid : 340aa369-f590-4cc5-af73-c443b6ba8492
encaps : [49f57c8f-91cd-4d9e-93d1-e3dbc9ac0ac6]
external_ids : {datapath-type="", iface-types="geneve,gre,internal,lisp,patch,stt,system,tap,vxlan", ovn-bridge-mappings=""}
hostname : "dell-per730-19.rhts.eng.pek2.redhat.com"
name : "hv1"
nb_cfg : 0
vtep_logical_switches: []
_uuid : 87330357-3438-430a-930d-939181ad9d77
encaps : [326c013a-8b6b-4b22-b53f-e7dcaff99194]
external_ids : {datapath-type="", iface-types="geneve,gre,internal,lisp,patch,stt,system,tap,vxlan", ovn-bridge-mappings=""}
hostname : "dell-per730-49.rhts.eng.pek2.redhat.com"
name : "hv0"
nb_cfg : 0
vtep_logical_switches: []
[root@dell-per730-19 ~]#
[root@dell-per730-19 ~]# ovs-vsctl get interface veth1 external-ids
{iface-id="lsp0"}
[root@dell-per730-19 ~]#
[root@dell-per730-19 ~]# ovn-nbctl lsp-get-options lsp0
requested-chassis=hv1
[root@dell-per730-19 ~]#
[root@dell-per730-19 ~]# ovn-sbctl --bare --columns chassis find port_binding logical_port=lsp0
340aa369-f590-4cc5-af73-c443b6ba8492
[root@dell-per730-19 ~]#
[root@dell-per730-19 ~]# ping 172.16.102.21
PING 172.16.102.21 (172.16.102.21) 56(84) bytes of data.
^C
--- 172.16.102.21 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
[root@dell-per730-19 ~]# ping 172.16.102.11
PING 172.16.102.11 (172.16.102.11) 56(84) bytes of data.
64 bytes from 172.16.102.11: icmp_seq=1 ttl=64 time=0.715 ms
^C
--- 172.16.102.11 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.715/0.715/0.715/0.000 ms
ovn-controller is started on hv0:
[root@dell-per730-49 ovn]# ip add show veth2
45: veth2@veth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether da:9f:4d:86:51:62 brd ff:ff:ff:ff:ff:ff
inet6 fe80:89f:4dff:fe86:5162/64 scope link
valid_lft forever preferred_lft forever
[root@dell-per730-49 ovn]# ovs-vsctl show
3b187b97-501a-494c-b322-b19ac5bcbcec
Bridge br-int
fail_mode: secure
Port "hv0_vm00_vnet1"
Interface "hv0_vm00_vnet1"
Port "ovn-hv1-0"
Interface "ovn-hv1-0"
type: geneve
options: {csum="true", key=flow, remote_ip="20.0.0.25"}
Port br-int
Interface br-int
type: internal
Port "veth1"
Interface "veth1"
Port "hv0_vm01_vnet1"
Interface "hv0_vm01_vnet1"
ovs_version: "2.9.0"
[root@dell-per730-49 ovn]# ovs-vsctl get interface veth1 external-ids
{iface-id="lsp0"}
[root@dell-per730-49 ovn]#
==============================================================================================
Then I clear the lsp0 related configuration on hv0,ping succeed:
hv0:
[root@dell-per730-49 ovn]# ovs-vsctl clear interface veth1 external-ids
[root@dell-per730-49 ovn]# ovs-vsctl get interface veth1 external-ids
{}
[root@dell-per730-49 ovn]#
hv1:
[root@dell-per730-19 ~]# ping 172.16.102.21
PING 172.16.102.21 (172.16.102.21) 56(84) bytes of data.
64 bytes from 172.16.102.21: icmp_seq=1 ttl=64 time=1.06 ms
64 bytes from 172.16.102.21: icmp_seq=2 ttl=64 time=0.253 ms
^C
--- 172.16.102.21 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.253/0.659/1.065/0.406 ms
[root@dell-per730-19 ~]#
Actual results:
Expected results:
Additional info:
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-2018:1962
Description of problem: fail to ping remote hv after two chassis claim lsp at the same time Version-Release number of selected component (if applicable): ovs_version: "2.9.0" How reproducible: everytime Steps to Reproduce: hv1 and hv0 are on two machines.Claim a logical port lsp0 with veth1 on chassis hv1 and hv0 at the same time,and the port is bond to hv1 successfully after I set the requested-chassis option for hv1.Then on hv1 I ping from veth2 to guest1,succeed.But failed to ping from veth2 to guest0 unless I remove the claimed lsp0 configuration on hv0. +-----+ +-----+ | | | | | hv1 | | hv0 | guest1---| |---------| |------guest0 | | | | +-----+ +-----+ |veth1 |veth1 | | veth2 veth2 ovn-northd and ovn-controller is started on hv1: [root@dell-per730-19 ~]# ovn-nbctl show switch 0c96a118-2a66-49a5-8612-77458a20f7ce (s2) port hv1_vm00_vnet1 <----------------------this is guest1's port addresses: ["00e:ad:01:00:01 172.16.102.11 2001b8:102::11"] port lsp0 addresses: ["3e:83:be:5d:5d:30 172.16.102.33 2001b8:102::33"] port hv0_vm01_vnet1 addresses: ["00e:ad:00:01:01 172.16.102.22 2001b8:102::22"] port hv1_vm01_vnet1 addresses: ["00e:ad:01:01:01 172.16.102.12 2001b8:102::12"] port hv0_vm00_vnet1 addresses: ["00e:ad:00:00:01 172.16.102.21 2001b8:102::21"] <-----------------------this is guest0's port [root@dell-per730-19 ~]# ovs-vsctl show bb95cb3e-0bf2-4f4f-bf4b-dd49cc26ea22 Bridge br-int fail_mode: secure Port "hv1_vm00_vnet1" Interface "hv1_vm00_vnet1" Port "veth1" Interface "veth1" Port br-int Interface br-int type: internal Port "hv1_vm01_vnet1" Interface "hv1_vm01_vnet1" Port "ovn-hv0-0" Interface "ovn-hv0-0" type: geneve options: {csum="true", key=flow, remote_ip="20.0.0.26"} ovs_version: "2.9.0" [root@dell-per730-19 ~]# ip link show veth2 47: veth2@veth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 3e:83:be:5d:5d:30 brd ff:ff:ff:ff:ff:ff [root@dell-per730-19 ~]# [root@dell-per730-19 ~]# ovn-nbctl lsp-get-options lsp0 requested-chassis=hv1 [root@dell-per730-19 ~]# ovn-sbctl list Chassis _uuid : 340aa369-f590-4cc5-af73-c443b6ba8492 encaps : [49f57c8f-91cd-4d9e-93d1-e3dbc9ac0ac6] external_ids : {datapath-type="", iface-types="geneve,gre,internal,lisp,patch,stt,system,tap,vxlan", ovn-bridge-mappings=""} hostname : "dell-per730-19.rhts.eng.pek2.redhat.com" name : "hv1" nb_cfg : 0 vtep_logical_switches: [] _uuid : 87330357-3438-430a-930d-939181ad9d77 encaps : [326c013a-8b6b-4b22-b53f-e7dcaff99194] external_ids : {datapath-type="", iface-types="geneve,gre,internal,lisp,patch,stt,system,tap,vxlan", ovn-bridge-mappings=""} hostname : "dell-per730-49.rhts.eng.pek2.redhat.com" name : "hv0" nb_cfg : 0 vtep_logical_switches: [] [root@dell-per730-19 ~]# [root@dell-per730-19 ~]# ovs-vsctl get interface veth1 external-ids {iface-id="lsp0"} [root@dell-per730-19 ~]# [root@dell-per730-19 ~]# ovn-nbctl lsp-get-options lsp0 requested-chassis=hv1 [root@dell-per730-19 ~]# [root@dell-per730-19 ~]# ovn-sbctl --bare --columns chassis find port_binding logical_port=lsp0 340aa369-f590-4cc5-af73-c443b6ba8492 [root@dell-per730-19 ~]# [root@dell-per730-19 ~]# ping 172.16.102.21 PING 172.16.102.21 (172.16.102.21) 56(84) bytes of data. ^C --- 172.16.102.21 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms [root@dell-per730-19 ~]# ping 172.16.102.11 PING 172.16.102.11 (172.16.102.11) 56(84) bytes of data. 64 bytes from 172.16.102.11: icmp_seq=1 ttl=64 time=0.715 ms ^C --- 172.16.102.11 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.715/0.715/0.715/0.000 ms ovn-controller is started on hv0: [root@dell-per730-49 ovn]# ip add show veth2 45: veth2@veth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether da:9f:4d:86:51:62 brd ff:ff:ff:ff:ff:ff inet6 fe80:89f:4dff:fe86:5162/64 scope link valid_lft forever preferred_lft forever [root@dell-per730-49 ovn]# ovs-vsctl show 3b187b97-501a-494c-b322-b19ac5bcbcec Bridge br-int fail_mode: secure Port "hv0_vm00_vnet1" Interface "hv0_vm00_vnet1" Port "ovn-hv1-0" Interface "ovn-hv1-0" type: geneve options: {csum="true", key=flow, remote_ip="20.0.0.25"} Port br-int Interface br-int type: internal Port "veth1" Interface "veth1" Port "hv0_vm01_vnet1" Interface "hv0_vm01_vnet1" ovs_version: "2.9.0" [root@dell-per730-49 ovn]# ovs-vsctl get interface veth1 external-ids {iface-id="lsp0"} [root@dell-per730-49 ovn]# ============================================================================================== Then I clear the lsp0 related configuration on hv0,ping succeed: hv0: [root@dell-per730-49 ovn]# ovs-vsctl clear interface veth1 external-ids [root@dell-per730-49 ovn]# ovs-vsctl get interface veth1 external-ids {} [root@dell-per730-49 ovn]# hv1: [root@dell-per730-19 ~]# ping 172.16.102.21 PING 172.16.102.21 (172.16.102.21) 56(84) bytes of data. 64 bytes from 172.16.102.21: icmp_seq=1 ttl=64 time=1.06 ms 64 bytes from 172.16.102.21: icmp_seq=2 ttl=64 time=0.253 ms ^C --- 172.16.102.21 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.253/0.659/1.065/0.406 ms [root@dell-per730-19 ~]# Actual results: Expected results: Additional info: