Ask Your Question
0

[neutron] router synchronizing failed [closed]

asked 2014-09-01 02:37:15 -0600

cerias gravatar image

Hallo Openstack community,

currently im testing openstack for your company. Its realy great except that i'm not able to get neutron working.

The l3_agent.log is throwing an error:

    2014-09-01 08:23:11.668 2226 ERROR neutron.agent.l3_agent [req-3ccd378a-f1ab-4f7f-9f15-4e239abeb70a None] Failed synchronizing routers
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent Traceback (most recent call last):
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 864, in _sync_routers_task
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent     self._process_routers(routers, all_routers=True)
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 768, in _process_routers
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent     target_ex_net_id = self._fetch_external_net_id()
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/l3_agent.py", line 337, in _fetch_external_net_id
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent     raise Exception(msg)
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent Exception: The 'gateway_external_network_id' option must be configured for this agent as Neutron has more than one external network.
2014-09-01 08:23:11.668 2226 TRACE neutron.agent.l3_agent

i have no idea on wich config i have an error. Also i can't ping the router from the external network neither the router from the vm instance but i can ping one intance from another instance.

c5ba3439-d7d4-4e55-a4c2-4d53beab692c
Bridge br-tun
    Port "gre-c0a8020a"
        Interface "gre-c0a8020a"
            type: gre
            options: {in_key=flow, local_ip="192.168.2.30", out_key=flow, remote_ip="192.168.2.10"}
    Port patch-int
        Interface patch-int
            type: patch
            options: {peer=patch-tun}
    Port br-tun
        Interface br-tun
            type: internal
    Port "gre-c0a8020b"
        Interface "gre-c0a8020b"
            type: gre
            options: {in_key=flow, local_ip="192.168.2.30", out_key=flow, remote_ip="192.168.2.11"}
    Port "gre-c0a8021f"
        Interface "gre-c0a8021f"
            type: gre
            options: {in_key=flow, local_ip="192.168.2.30", out_key=flow, remote_ip="192.168.2.31"}
Bridge br-ex
    Port "eth2"
        Interface "eth2"
    Port br-ex
        Interface br-ex
            type: internal
Bridge br-int
    fail_mode: secure
    Port patch-tun
        Interface patch-tun
            type: patch
            options: {peer=patch-int}
    Port "tap5c119211-38"
        tag: 1
        Interface "tap5c119211-38"
            type: internal
    Port br-int
        Interface br-int
            type: internal
ovs_version: "2.0.1"

Controller network is 192.168.100.0 Secound network for network/compute: 192.168.2.0

/etc/network/interfaces:

network:

  auto eth0
iface eth0 inet static
    address 192.168.1.60
    netmask 255.255.255.0
    gateway 192.168.1.254
    dns-nameservers 8.8.8.8
iface eth0 inet static
    address 192.168.100.30
    netmask 255.255.255.0
iface eth0 inet static
    address 192.168.3.99
    netmask 255.255.255.0

auto eth1
iface eth1 inet static
    address 192.168.2.30
    netmask 255.255.255.0

auto eth2
iface eth2 inet manual
    up ip link set dev $IFACE up
        down ip link set dev $IFACE down

auto br-ex
iface br-ex inet static
    address 192.168.1.134
    netmask 255.255.255.0
    gateway ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by cerias
close date 2014-09-01 07:47:48.322920

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-01 07:47:09 -0600

cerias gravatar image

problem solved.

wrong database entry on the network-node and also remove secound external network.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-01 02:37:15 -0600

Seen: 613 times

Last updated: Sep 01 '14