Hello,
When I add a second chassis to ha_chassis_group that is referenced by a logical
router port, the chassisredirect type port in OVN_Sourthbound db gets unbound
because bfd reports its state down despite that BFD control packets are seen by
tcpdump on both chassis. The stats on tunnel interfaces show 0 receive packets
and non-zero transmit ones. The tunnel seems to be working because if I start
linux containers on each chassis, they can communicate to each other.
Here are some data:
ovs-vsctl find interface name=ovn-700f2f-0
_uuid : 4be5bded-3ac5-4dce-925c-127eabfa8947
admin_state : up
bfd : {enable="true"}
bfd_status : {diagnostic="No Diagnostic", flap_count="0",
forwarding="false", remote_diagnostic="No Diagnostic", remote_state=down,
state=down}
cfm_fault : []
cfm_fault_status : []
cfm_flap_count : []
cfm_health : []
cfm_mpid : []
cfm_remote_mpids : []
cfm_remote_opstate : []
duplex : []
error : []
external_ids : {}
ifindex : 32
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current : []
link_resets : 0
link_speed : []
link_state : up
lldp : {}
mac : []
mac_in_use : "46:77:87:1b:d1:73"
mtu : []
mtu_request : []
name : ovn-700f2f-0
ofport : 38
ofport_request : []
options : {csum="true", key=flow, remote_ip="10.230.185.137"}
other_config : {}
statistics : {rx_bytes=0, rx_packets=0, tx_bytes=4396524,
tx_packets=66614}
status : {tunnel_egress_iface=eth0, tunnel_egress_iface_carrier=up}
type : geneve
ovs-vsctl find interface name=ovn-c2baf3-0
_uuid : 48ef30f5-4cdc-4abe-a28f-e77b8a3e6697
admin_state : up
bfd : {enable="true"}
bfd_status : {diagnostic="No Diagnostic", flap_count="0",
forwarding="false", remote_diagnostic="No Diagnostic", remote_state=down,
state=down}
cfm_fault : []
cfm_fault_status : []
cfm_flap_count : []
cfm_health : []
cfm_mpid : []
cfm_remote_mpids : []
cfm_remote_opstate : []
duplex : []
error : []
external_ids : {}
ifindex : 13
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current : []
link_resets : 0
link_speed : []
link_state : up
lldp : {}
mac : []
mac_in_use : "0a:96:5d:04:c4:25"
mtu : []
mtu_request : []
name : ovn-c2baf3-0
ofport : 7
ofport_request : []
options : {csum="true", key=flow, remote_ip="10.230.185.129"}
other_config : {}
statistics : {rx_bytes=0, rx_packets=0, tx_bytes=5117376,
tx_packets=77536}
status : {tunnel_egress_iface=eth0, tunnel_egress_iface_carrier=up}
type : geneve
tcpdump -ntli genev_sys_6081 -Xe -s 100
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on genev_sys_6081, link-type EN10MB (Ethernet), snapshot length 100
bytes
46:77:87:1b:d1:73 > 00:23:20:00:00:01, ethertype IPv4 (0x0800), length 66:
169.254.1.1.49158 > 169.254.1.0.3784: BFDv1, Control, State Down, Flags:
[none], length: 24
0x0000: 45c0 0034 0000 0000 ff11 64fb a9fe 0101 E..4......d.....
0x0010: a9fe 0100 c006 0ec8 0020 0000 2040 0318 .............@..
0x0020: 4515 34b9 0000 0000 000f 4240 000f 4240 [email protected]@
0x0030: 0000 0000 ....
46:77:87:1b:d1:73 > 00:23:20:00:00:01, ethertype IPv4 (0x0800), length 66:
169.254.1.1.49158 > 169.254.1.0.3784: BFDv1, Control, State Down, Flags:
[none], length: 24
0x0000: 45c0 0034 0000 0000 ff11 64fb a9fe 0101 E..4......d.....
0x0010: a9fe 0100 c006 0ec8 0020 0000 2040 0318 .............@..
0x0020: 4515 34b9 0000 0000 000f 4240 000f 4240 [email protected]@
0x0030: 0000 0000 ....
46:77:87:1b:d1:73 > 00:23:20:00:00:01, ethertype IPv4 (0x0800), length 66:
169.254.1.1.49158 > 169.254.1.0.3784: BFDv1, Control, State Down, Flags:
[none], length: 24
0x0000: 45c0 0034 0000 0000 ff11 64fb a9fe 0101 E..4......d.....
0x0010: a9fe 0100 c006 0ec8 0020 0000 2040 0318 .............@..
0x0020: 4515 34b9 0000 0000 000f 4240 000f 4240 [email protected]@
0x0030: 0000 0000 ....
Messages logged in /var/log/openvswitch/ovs-vswitchd.log
2021-05-22T04:30:44.881Z|01540|bfd(monitor10)|DBG|ovn-700f2f-0: Sending BFD
Message.
vers:1 diag:"No Diagnostic" state:down mult:3 length:24
flags: none
my_disc:0x451534b9 your_disc:0x0
min_tx:1000000us (1000ms)
min_rx:1000000us (1000ms)
min_rx_echo:0us (0ms) Forwarding: false
Detect Multiplier: 3
Concatenated Path Down: false
TX Interval: Approx 1000ms
RX Interval: Approx 1000ms
Detect Time: now -268868363ms
Next TX Time: now -1ms
Last TX Time: now -871ms
Local Flags: none
Local Session State: down
Local Diagnostic: No Diagnostic
Local Discriminator: 0x451534b9
Local Minimum TX Interval: 1000ms
Local Minimum RX Interval: 1000ms
Remote Flags: none
Remote Session State: down
Remote Diagnostic: No Diagnostic
Remote Discriminator: 0x0
Remote Minimum TX Interval: 0ms
Remote Minimum RX Interval: 1ms
Remote Detect Multiplier: 0
The versions of both ovn and ovs are the latest, built from master git repos in
alpine-3.13.
Do I miss anything?
Thank you!
[unknown.png]
Arkadi Poliakevitch | Enterprise Applications
e. [email protected]<mailto:[email protected]>
w. timbredigital.co.nz<http://timbredigital.co.nz/> |
[cid:[email protected]]
<https://www.linkedin.com/company/15163106/> |
[cid:[email protected]] <https://twitter.com/timbrenz>
timbre Digital is the trading name of Push Digital Limited, company
registration number 6009928. This email and any attachment to it are
confidential. Unless you are the intended recipient, you may not use, copy or
disclose either the message or any information contained in the message. If you
are not the intended recipient, you should delete this email and notify the
sender immediately. Any views or opinions expressed in this email are those of
the sender only, unless otherwise stated. All copyright in any of the material
in this email is reserved. All emails, incoming and outgoing, may be recorded
and monitored for legitimate business purposes. We exclude all liability for
any loss or damage arising or resulting from the receipt, use or transmission
of this email to the fullest extent permitted by law.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss