← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1078490] Re: l3-agent failed to set default route when gateway_ip of subnet is outside cidr

 

Let's fix this in H

** Changed in: quantum
       Status: Expired => Confirmed

** Changed in: quantum
    Milestone: None => havana-1

** Changed in: quantum
   Importance: Undecided => Low

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

Title:
  l3-agent failed to set default route when gateway_ip of subnet is
  outside cidr

Status in OpenStack Quantum (virtual network service):
  Confirmed

Bug description:
  quantum net-create net-ext --router:external
  quantum subnet-create --gateway 10.3.3.1 net-ext 10.2.2.0/24
  quantum router-create r1
  quantum router-gateway-set r1 ext-net

  2012-11-13 14:22:12    DEBUG [quantum.agent.linux.utils] Running command: sudo /opt/stack/quantum/bin/quantum-rootwrap /etc/quantum/rootwrap.conf ip netns exec qrouter-ab903988-25ce-41a2-848b-6544f6e7d1e0 ip -4 addr add 10.2.2.2/24 brd 10.2.2.255 scope global dev qg-f71a48e9-0b
  2012-11-13 14:22:12    DEBUG [quantum.agent.linux.utils] Command: ['sudo', '/opt/stack/quantum/bin/quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ab903988-25ce-41a2-848b-6544f6e7d1e0', 'ip', '-4', 'addr', 'add', '10.2.2.2/24', 'brd', '10.2.2.255', 'scope', 'global', 'dev', 'qg-f71a48e9-0b']
  Exit code: 0
  Stdout: ''
  Stderr: ''
  2012-11-13 14:22:12    DEBUG [quantum.agent.linux.utils] Running command: sudo /opt/stack/quantum/bin/quantum-rootwrap /etc/quantum/rootwrap.conf ip netns exec qrouter-ab903988-25ce-41a2-848b-6544f6e7d1e0 route add default gw 10.3.3.1
  2012-11-13 14:22:12    DEBUG [quantum.agent.linux.utils] Command: ['sudo', '/opt/stack/quantum/bin/quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-ab903988-25ce-41a2-848b-6544f6e7d1e0', 'route', 'add', 'default', 'gw', '10.3.3.1']
  Exit code: 7
  Stdout: ''
  Stderr: 'SIOCADDRT: No such process\n'

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