Error when starting neutron-l3-agent and neutron-dhcp-agent in LXD container

asked 2016-05-09 16:46:51 -0600

zinv gravatar image

Currently I am running LXD on Ubuntu 15.10. I have created two containers running 16.04, controller and compute. Ive gone ahead and installed and setup all services. The only issue I am having is with neutron-l3-agent and neutron-dhcp-agent. After completing configuration I am seeing the following errors:

neutron-l3-agent.log:

2016-05-09 19:31:40.558 5045 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'link', 'add', 'tap2d9c4091-9c', 'type', 'veth', 'peer', 'name', 'qr-2d9c4091-9c', 'netns', 'qrouter-9b021858-d363-4e0b-9691-6cedc2af5bcb'] create_process /usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:84
2016-05-09 19:31:41.390 5045 ERROR neutron.agent.linux.utils [-] Exit code: 2; Stdin: ; Stdout: ; Stderr: RTNETLINK answers: File exists

2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info [-] Exit code: 2; Stdin: ; Stdout: ; Stderr: RTNETLINK answers: File exists
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info Traceback (most recent call last):
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/common/utils.py", line 371, in call
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info return func(*args, **kwargs)
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py", line 960, in process
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info self._process_internal_ports(agent.pd)
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py", line 477, in _process_internal_ports
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info self.internal_network_added(p)
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py", line 400, in internal_network_added
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info mtu=port.get('mtu'))
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py", line 374, in _internal_network_added
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info prefix=prefix, mtu=mtu)
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 248, in plug
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info bridge, namespace, prefix, mtu)
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 447, in plug_new
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info namespace2=namespace)
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 174, in add_veth
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info self._as_root([], 'link', tuple(args))
2016-05-09 19:31:41.394 5045 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py ...
(more)
edit retag flag offensive close merge delete