[ovn][l3-ha] BFD monitoring not working for network down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
OVN version: 21.12.1
OVS version: 2.15.6
OpenStack version: Yoga
In my test environment, two nodes as HV Chassis and enabled these chassis to host gateways.
1. Add a network and subnet.
2. Add a router, then attach subnet to router.
3. Set router's external gateway.
4. Binding a floatingip to an instance.
Then if we use 'ip link set dev *** down' to make the physical tunnel interface down. The floatingip can't access.
# ovn-nbctl list Logical_Router_Port lrp-95c640e8-
_uuid : 2b3f9e79-
enabled : []
external_ids : {"neutron:
gateway_chassis : [11f482cd-
ha_chassis_group : []
ipv6_prefix : []
ipv6_ra_configs : {}
mac : "fa:16:3e:38:5b:50"
name : lrp-95c640e8-
networks : ["192.168.
options : {}
peer : []
We can't see the gateway_chassis priority changes.
# ovn-nbctl list gateway_chassis
_uuid : 11f482cd-
chassis_name : "d2692315-
external_ids : {}
name : lrp-95c640e8-
options : {}
priority : 2
_uuid : dc861c0a-
chassis_name : "00b6dd97-
external_ids : {}
name : lrp-95c640e8-
options : {}
priority : 1
After read the HA guide in OVN[1], it said we can set cpath_down config.
But there is no effective:
# ovn-nbctl --wait=hv set NB_Global . options:
# ovs-vsctl set interface ovn-d26923-0 bfd:cpath_down=true
In guide[2], we test three situations, it works for us:
(1) The gateway chassis is shutdown.
(2) The ovs-vswitchd is stopped.
(3) The ovn-controller is stopped.
[1] https:/
[2] https:/
description: | updated |