Skip to content

Instantly share code, notes, and snippets.

@Govinda-Fichtner
Last active December 19, 2015 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Govinda-Fichtner/5933862 to your computer and use it in GitHub Desktop.
Save Govinda-Fichtner/5933862 to your computer and use it in GitHub Desktop.
Stderr: 'RTNETLINK answers: Network is unreachable\n' execute /opt/stack/quantum/quantum/agent/linux/utils.py:59
2013-07-05 13:17:39.317 25993 ERROR quantum.agent.dhcp_agent [-] Unable to enable dhcp.
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent Traceback (most recent call last):
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 131, in call_driver
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent getattr(driver, action)()
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/linux/dhcp.py", line 121, in enable
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent reuse_existing=True)
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 637, in setup
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent self._set_default_route(network)
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 566, in _set_default_route
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent device.route.add_gateway(subnet.gateway_ip)
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/linux/ip_lib.py", line 336, in add_gateway
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent self._as_root(*args)
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/linux/ip_lib.py", line 185, in _as_root
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent kwargs.get('use_root_namespace', False))
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/linux/ip_lib.py", line 65, in _as_root
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent namespace)
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/linux/ip_lib.py", line 76, in _execute
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent root_helper=root_helper)
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/linux/utils.py", line 61, in execute
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent raise RuntimeError(m)
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent RuntimeError:
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent Command: ['sudo', '/usr/local/bin/quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-30bbbb7a-4cf6-4031-ad32-ff29d87ddc86', 'ip', 'route', 'replace', 'default', 'via', '10.0.0.1', 'dev', 'tap5f4625f7-b0']
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent Exit code: 2
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent Stdout: ''
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent Stderr: 'RTNETLINK answers: Network is unreachable\n'
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent
2013-07-05 13:17:39.932 25993 DEBUG quantum.openstack.common.rpc.amqp [-] Making asynchronous cast on q-plugin... cast /opt/stack/quantum/quantum/openstack/common/rpc/amqp.py:545
2013-07-05 13:17:39.933 25993 DEBUG quantum.openstack.common.rpc.amqp [-] UNIQUE_ID is 30bd7309c7b04b13a90f46cf452209bc. _add_unique_id /opt/stack/quantum/quantum/openstack/common/rpc/amqp.py:325
2013-07-05 13:17:39.936 25993 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/lib/python2.7/dist-packages/amqp/channel.py:88
2013-07-05 13:17:39.936 25993 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/lib/python2.7/dist-packages/amqp/channel.py:70
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:6c:cb:d9 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
inet6 fe80::a00:27ff:fe6c:cbd9/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:7e:55:b5 brd ff:ff:ff:ff:ff:ff
inet 192.168.33.10/24 brd 192.168.33.255 scope global eth1
inet6 fe80::a00:27ff:fe7e:55b5/64 scope link
valid_lft forever preferred_lft forever
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
link/ether b6:df:ec:41:d0:fe brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
5: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether f6:b0:37:dc:84:41 brd ff:ff:ff:ff:ff:ff
6: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether a2:ac:14:98:26:4b brd ff:ff:ff:ff:ff:ff
inet 172.24.4.225/27 scope global br-ex
inet6 fe80::a0ac:14ff:fe98:264b/64 scope link
valid_lft forever preferred_lft forever
HOST_IP=192.168.33.10
#HOST_IP_IFACE=eth1
FLOATING_RANGE=192.168.33.224/27
FIXED_RANGE=10.11.12.0/24
FIXED_NETWORK_SIZE=256
#FLAT_INTERFACE=br100
PUBLIC_INTERFACE=eth1
# heat
#enable_service heat
#enable_service h-api
#enable_service h-api-cfn
#enable_service h-api-cw
#enable_service h-eng
# swift
#enable_service swift
#SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
#SWIFT_REPLICAS=1
# enable quantum
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service quantum
Q_PLUGIN="openvswitch"
ENABLE_TENANT_TUNNELS=true
ENABLE_TUNNEL_RANGES=1:100
ENABLE_TENANT_VLANS=false
#PHYSICAL_NETWORK=default
#LS_PHYSICAL_INTERFACE=eth1
#ENABLE_TENANT_VLANS=true
## Optional, to enable tempest configuration as part of devstack
#enable_service tempest
KEYSTONE_CATALOG_BACKEND=sql
API_RATE_LIMIT=False #If you're interested in using tempest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment