Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

neutron-l3-agent Network Unreachable

I'm trying to setup a openstack compute node. The instances I'm trying to run will start but don't have a network connection to "the outside". The problem is that the neutron-l3-agent does not start the router properly.

Here is the stacktrace from neutron-l3-agent:

2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent [-] Failed to process compatible router: 0c55a0ae-5ec9-41e6-bf78-92041294b52a: pyroute2.netlink.exceptions.NetlinkError: (101, 'Network is unreachable') 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent Traceback (most recent call last): 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/l3/agent.py", line 774, in _process_routers_if_compatible 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent self._process_router_if_compatible(router) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/l3/agent.py", line 617, in _process_router_if_compatible 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent self._process_updated_router(router) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/l3/agent.py", line 658, in _process_updated_router 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent ri.process() 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/common/utils.py", line 169, in call 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent self.logger(e) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent self.force_reraise() 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent six.reraise(self.type_, self.value, self.tb) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/six.py", line 703, in reraise 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent raise value 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/common/utils.py", line 166, in call 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent return func(*args, **kwargs) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/l3/router_info.py", line 1218, in process 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent self.process_external() 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/l3/router_info.py", line 983, in process_external 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent self._process_external_gateway(ex_gw_port) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/l3/router_info.py", line 865, in _process_external_gateway 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent self.external_gateway_added(ex_gw_port, interface_name) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/l3/router_info.py", line 816, in external_gateway_added 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent ex_gw_port, interface_name, self.ns_name, preserve_ips) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/l3/router_info.py", line 793, in _external_gateway_added 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent device.route.add_gateway(ip) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/linux/ip_lib.py", line 606, in add_gateway 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent scope=scope) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/linux/ip_lib.py", line 644, in add_route 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent table=table, metric=metric, scope=scope, **kwargs) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/neutron/agent/linux/ip_lib.py", line 1488, in add_ip_route 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent metric=metric, scope=scope, **kwargs) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/oslo_privsep/priv_context.py", line 245, in _wrap 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent return self.channel.remote_call(name, args, kwargs) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent File "/openstack/venvs/neutron-20.1.0.dev162/lib/python3.7/site-packages/oslo_privsep/daemon.py", line 204, in remote_call 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent raise exc_type(*result[2]) 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent pyroute2.netlink.exceptions.NetlinkError: (101, 'Network is unreachable') 2020-04-26 15:38:24.846 1506 ERROR neutron.agent.l3.agent

I've already checked, that the outside network is reachable (ping to the ip from my local pc). My network is setup using systemd-networkd and I've setup the network br-mgmt, br-storage, br-vlan, br-vxlan and br-vlan-veth (the veth interface I've setup since I have only one physical network interface).

Has anyone a clue what is going on and why I'm getting the error message?

Tanks