Skip to content

Instantly share code, notes, and snippets.

@hugespoon
Created June 27, 2013 15:16
Show Gist options
  • Save hugespoon/5877323 to your computer and use it in GitHub Desktop.
Save hugespoon/5877323 to your computer and use it in GitHub Desktop.
Openstack dhcp-agent.log
2013-06-27 10:15:44 INFO [quantum.agent.dhcp_agent] Synchronizing state
2013-06-27 10:15:45 ERROR [quantum.agent.dhcp_agent] Unable to enable dhcp.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 131, in call_driver
getattr(driver, action)()
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/dhcp.py", line 124, in enable
reuse_existing=True)
File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 554, in setup
namespace=namespace)
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/interface.py", line 190, in plug
namespace_obj = ip.ensure_namespace(namespace)
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 109, in ensure_namespace
ip = self.netns.add(name)
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 398, in add
self._as_root('add', name, use_root_namespace=True)
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 167, in _as_root
kwargs.get('use_root_namespace', False))
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 47, in _as_root
namespace)
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 58, in _execute
root_helper=root_helper)
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/utils.py", line 61, in execute
raise RuntimeError(m)
RuntimeError:
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'add', 'qdhcp-9de68bf8-ce09-4a3f-8ff1-6c91f428cb0e']
Exit code: 255
Stdout: ''
Stderr: 'Bind /proc/self/ns/net -> /var/run/netns/qdhcp-9de68bf8-ce09-4a3f-8ff1-6c91f428cb0e failed: No such file or directory\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment