qrouter's local link route cannot be restored

Bug #1858086 reported by Zhangfeng HU
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Confirmed
Medium
LIU Yulong

Bug Description

When a virtual router connects a subnet of 192.168.1.0/24, the qrouter namespace generates a local link route like '192.168.1.0/24 dev qr-0f8e7575-3b proto kernel scope link src 192.168.1.1 metric 100'. If we add a self-defined route '192.168.1.0/24, nexthop 192.168.1.100' into the qrouter from dashboard, this route whll replace the prior local link route. Then we remove this self-defined route from dashboard, the route should be disappeared but the local link route cannot be restored, in which case all the vms in 192.168.1.0/24 are unreachable any more.

Changed in neutron:
importance: Undecided → Medium
tags: added: l3-dvr-backlog
Revision history for this message
Slawek Kaplonski (slaweq) wrote :

I just confirmed it on master branch. It is 100% reproducible.

Changed in neutron:
status: New → Confirmed
Revision history for this message
LIU Yulong (dragon889) wrote :

IMO, such route '192.168.1.0/24, nexthop 192.168.1.100' should not be allowed to add to router when it has subnet overlap this destination CIDR. More like an API bug, we should check the route destination CIDR.

LIU Yulong (dragon889)
Changed in neutron:
assignee: nobody → LIU Yulong (dragon889)
Revision history for this message
ZhouHeng (zhouhenglc) wrote :

Is this bug not fixed?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.