neutron router static routes ecmp doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Medium
|
Hong Hui Xiao |
Bug Description
Create 1 router and set gateway network, then create 2 static routes with same prefix.
~/devstack$ neutron router-show R2
+------
| Field | Value |
+------
| admin_state_up | True |
| availability_
| availability_zones | nova |
| distributed | False |
| external_
| ha | False |
| id | 1b2467b2-
| name | R2 |
| routes | {"destination": "1.1.1.0/24", "nexthop": "172.16.3.100"} |
| | {"destination": "1.1.1.0/24", "nexthop": "172.16.3.101"} |
| status | ACTIVE |
| tenant_id | d1694a63f75a422
+------
~/devstack$ sudo ip netns exec qrouter-
172.16.3.101 dev qg-4515a36e-77 lladdr 00:00:01:00:00:02 PERMANENT
172.16.3.100 dev qg-4515a36e-77 lladdr 00:00:01:00:00:01 PERMANENT
fe80::f816:
fe80::5863:
~/devstack$ sudo ip netns exec qrouter-
default via 172.16.3.1 dev qg-4515a36e-77
1.1.1.0/24 via 172.16.3.101 dev qg-4515a36e-77 ###ONLY 2nd route is installed.
172.16.3.0/24 dev qg-4515a36e-77 proto kernel scope link src 172.16.3.3
Changed in neutron: | |
status: | New → Incomplete |
status: | Incomplete → Won't Fix |
status: | Won't Fix → Confirmed |
importance: | Undecided → Medium |
summary: |
- neutron router static routes ecmp deesn't work + neutron router static routes ecmp doesn't work |
I think the problem is not "it doesn't work", but is "it doesn't support". In the back end, every extra route is added to router namespace by "ip route replace" command. So, you can only see the 2nd route for a duplicated destination cidr.
Change to the route update policy can resolve the problem, but HA router and DVR may need more attention. I will look into it.