← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1554392] Re: Set extra route for DVR might cause error

 

This is a known issue, since the router does not have an external
network interface in the router namespace and if you try to configure an
extra route pointing to the next hop which does not have a corresponding
interface in the router namespace.

This was a descision that we made since we don't want to complicate it
too much, but not adding the external routes in the router namespace and
only add it in the snat_namespace.

** Changed in: neutron
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1554392

Title:
  Set extra route for DVR might cause error

Status in neutron:
  Opinion

Bug description:
  With a DVR router. I have 
  external network: 172.24.4.0/24
  internal network: 10.0.0.0/24

  I want to set an extra route for it, so I execute the following
  command:

  neutron router-update router1 --route
  destination=20.0.0.0/24,nexthop=172.24.4.6

  But I get this error at the output of neutron-l3-agent.

  ERROR neutron.agent.linux.utils [-] Exit code: 2; Stdin: ; Stdout: ;
  Stderr: RTNETLINK answers: Network is unreachable

  The reason for it is that the DVR router will set extra route to snat
  and qrouter namespace. However, qrouter namespace will not have the
  route to external network, so error is reported when l3-agent try to
  add a route with nexthop to external network to qroute namespace.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1554392/+subscriptions


References