- 论坛徽章:
- 0
|
按照你上述方法能解决掉 l3-agent.log日志中的错误。
[root@cloud01 quantum(keystone)]# cat linuxbridge-agent.log
2013-10-09 16:21:42 ERROR [quantum.plugins.linuxbridge.agent.linuxbridge_quantum_agent] Unable to add em1 to brq43b0168f-c4! Exception:
Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'brctl', 'addif', 'brq43b0168f-c4', 'em1']
Exit code: 1
Stdout: ''
Stderr: "device em1 is already a member of a bridge; can't enslave it to bridge brq43b0168f-c4.\n"
[root@cloud01 quantum(keystone)]# cat dhcp-agent.log
2013-10-09 16:32:32 WARNING [quantum.agent.linux.dhcp] FAILED VERSION REQUIREMENT FOR DNSMASQ. DHCP AGENT MAY NOT RUN CORRECTLY! Please ensure that its version is 2.59 or above!
2013-10-09 16:32:34 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 241, in plug
namespace2=namespace)
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", line 99, in add_veth
self.ensure_namespace(namespace2)
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-43b0168f-c4c5-4654-b362-3d048d6d8b69']
Exit code: 255
Stdout: ''
Stderr: 'Bind /proc/self/ns/net -> /var/run/netns/qdhcp-43b0168f-c4c5-4654-b362-3d048d6d8b69 failed: No such file or directory\n'
对于网络这块还往多指教! |
|