In a centralized VLAN network, when gateway Chassis and HA Chassis are not one node, layer 3 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
New
|
Undecided
|
Unassigned |
Bug Description
Cluster environment: two gateway nodes and one compute node (SRIOv)
1、Creating an internal VLAN 123.45.67.0/24
2、Create an external Flat network 192.168.1.0/24
3、Create a route, select the newly created VLAN and set the IP address of the subinterface to 123.45.67.1
4、Add an external gateway 192.168.1.10 to the router
5、Create an external port 123.45.67.10 based on the VLAN network for the SRIOv VM
6、The router external gateway port has a gateway chassis priority, and the default ha-chassis-group has a chassis priority
7、When the chassis priority of the external gateway of the router is inconsistent with that of the ha-chassis priority, SRIOV VM cannot carry out Layer 3 forwarding because it cannot learn the MAC of gateway 123.45.67.1.
For example,
(ovn-nb-
switch 67ada1b-
port test-sriov
port provnet-
tag:333
port dof2db65-
port route-interface1
switch 8910ae14-
port provnet-
port route-external-
router a9589135-
port lrp-route-
mac: "fa:16:3e:91:e1:f1"
port lrp-route-
mac: "fa:16:3e:89:13:ae"
gateway chassis:
nat 0f11292-
logical ip: "123.45.67.0/24"
type: "snat"
(ovn-nb-
lrp-route-
lrp-route-
(ovn-nb-
_uuid : bd2345c5-
chassis_name : "network-node1"
external_ids : {}
priority : 32764
_uuid : bd2345c5-
chassis_name : "network-node2"
external_ids : {}
priority : 32765
The sriov VM (123.45.67.111) to 123.45.67.1 fails because network-node2 does not respond to ARP requests