Stderr: ‘RTNETLINK answers: No such process\n’

作者: admin 分类: openstack 发布时间: 2014-05-25 10:08 ė 6 没有评论

2014-05-25 09:58:48.157 5168 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 990c6961-2e2c-4204-a792-4bdad333cbdb.
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/dhcp_agent.py”, line 127, in call_driver
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent getattr(driver, action)(**action_kwargs)
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py”, line 166, in enable
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent reuse_existing=True)
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py”, line 857, in setup
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent self._set_default_route(network, port)
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py”, line 740, in _set_default_route
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent device.route.add_gateway(subnet.gateway_ip)
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py”, line 368, in add_gateway
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent self._as_root(*args)
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py”, line 217, in _as_root
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent kwargs.get(‘use_root_namespace’, False))
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py”, line 70, in _as_root
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent namespace)
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py”, line 81, in _execute
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent root_helper=root_helper)
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent File “/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py”, line 76, in execute
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent raise RuntimeError(m)
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent RuntimeError:
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent Command: [‘sudo’, ‘neutron-rootwrap’, ‘/etc/neutron/rootwrap.conf’, ‘ip’, ‘netns’, ‘exec’, ‘qdhcp-990c6961-2e2c-4204-a792-4bdad333cbdb’, ‘ip’, ‘route’, ‘replace’, ‘default’, ‘via’, ‘20.20.20.1’, ‘dev’, ‘ns-9e0b86a4-d2’]
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent Exit code: 2
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent Stdout: ”
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent Stderr: ‘RTNETLINK answers: No such process\n’
2014-05-25 09:58:48.157 5168 TRACE neutron.agent.dhcp_agent
2014-05-25 09:58:48.158 5168 INFO neutron.agent.dhcp_agent [-] Synchronizing state complete
^C

 

解决办法:ip netns exec qdhcp-990c6961-2e2c-4204-a792-4bdad333cbdb ip link set dev ns-9e0b86a4-d2 up

本文出自 小Q,转载时请注明出处及相应链接。

本文永久链接: http://www.linuxqq.com/archives/1219.html

0
更多
Ɣ回顶部