← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Hong Hui Xiao (xiaohhui)
         Status: New


** Tags: l3-dvr-backlog

** Changed in: neutron
     Assignee: (unassigned) => Hong Hui Xiao (xiaohhui)

** Tags added: l3-dvr-backlog

-- 
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:
  New

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


Follow ups