Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

neutron.agent.l3.router_info: Cannot create namespace file "...": File exists

Hi All,

I have just completed a clean installation following http://docs.openstack.org/liberty/install-guide-rdo/overview.html on CentOS 7 but am getting the below error when creating a new router through the GUI and CLI. All the ports are 'Status Down' on the 'Router Details' page.

Tried restarting the services and controller node but issue persists. Double checked my configuration files everythings looks correct from the OpenStack guide.

I don't see any errors in the other /var/log/neutron logs.


2016-01-19 18:24:02.793 914 ERROR neutron.agent.linux.utils [-] Command: ['ip', 'netns', 'add', u'qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48'] Exit code: 1 Stdin: Stdout: Stderr: Cannot create namespace file "/var/run/netns/qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48": File exists

2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info [-] Command: ['ip', 'netns', 'add', u'qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48'] Exit code: 1 Stdin: Stdout: Stderr: Cannot create namespace file "/var/run/netns/qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48": File exists 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Traceback (most recent call last): 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 356, in call 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info return func(args, *kwargs) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 694, in process 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self.process_external(agent) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 660, in process_external 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self._process_external_gateway(ex_gw_port, agent.pd) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 569, in _process_external_gateway 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self.external_gateway_added(ex_gw_port, interface_name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 534, in external_gateway_added 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info ex_gw_port, interface_name, self.ns_name, preserve_ips) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 496, in _external_gateway_added 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self._plug_external_gateway(ex_gw_port, interface_name, ns_name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 477, in _plug_external_gateway 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info prefix=EXTERNAL_DEV_PREFIX) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 252, in plug 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info bridge, namespace, prefix) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 483, in plug_new 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info namespace2=namespace) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 144, in add_veth 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self.ensure_namespace(namespace2) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 163, in ensure_namespace 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info ip = self.netns.add(name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 793, in add 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self._as_root([], ('add', name), use_root_namespace=True) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 280, in _as_root 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info use_root_namespace=use_root_namespace) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 80, in _as_root 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info log_fail_as_error=self.log_fail_as_error) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 89, in _execute 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info log_fail_as_error=log_fail_as_error) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 159, in execute 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info raise RuntimeError(m) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info RuntimeError: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Command: ['ip', 'netns', 'add', u'qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48'] 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Exit code: 1 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Stdin: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Stdout: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Stderr: Cannot create namespace file "/var/run/netns/qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48": File exists 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent [-] Failed to process compatible router '56bc779f-a82c-44a1-80d1-cc11253e4d48' 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Traceback (most recent call last): 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 498, in _process_router_update 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._process_router_if_compatible(router) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 441, in _process_router_if_compatible 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._process_added_router(router) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 449, in _process_added_router 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent ri.process(self) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 359, in call 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self.logger(e) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__ 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent six.reraise(self.type_, self.value, self.tb) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 356, in call 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent return func(args, *kwargs) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 694, in process 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self.process_external(agent) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 660, in process_external 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._process_external_gateway(ex_gw_port, agent.pd) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 569, in _process_external_gateway 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self.external_gateway_added(ex_gw_port, interface_name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 534, in external_gateway_added 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent ex_gw_port, interface_name, self.ns_name, preserve_ips) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 496, in _external_gateway_added 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._plug_external_gateway(ex_gw_port, interface_name, ns_name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 477, in _plug_external_gateway 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent prefix=EXTERNAL_DEV_PREFIX) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 252, in plug 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent bridge, namespace, prefix) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 483, in plug_new 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent namespace2=namespace) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 144, in add_veth 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self.ensure_namespace(namespace2) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 163, in ensure_namespace 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent ip = self.netns.add(name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 793, in add 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._as_root([], ('add', name), use_root_namespace=True) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 280, in _as_root 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent use_root_namespace=use_root_namespace) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 80, in _as_root 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent log_fail_as_error=self.log_fail_as_error) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 89, in _execute 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent log_fail_as_error=log_fail_as_error) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 159, in execute 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent raise RuntimeError(m) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent RuntimeError: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Command: ['ip', 'netns', 'add', u'qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48'] 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Exit code: 1 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Stdin: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Stdout: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Stderr: Cannot create namespace file "/var/run/netns/qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48": File exists 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent


neutron.agent.l3.router_info: Cannot create namespace file "...": File exists

Hi All,

I have just completed a clean installation following http://docs.openstack.org/liberty/install-guide-rdo/overview.html on CentOS 7 but am getting the below error when creating a new router through the GUI and CLI. All the ports are 'Status Down' on the 'Router Details' page.

Tried restarting the services and controller node but issue persists. Double checked my configuration files everythings looks correct from the OpenStack guide.

I don't see any errors in the other /var/log/neutron logs.


2016-01-19 18:24:02.793 914 ERROR neutron.agent.linux.utils [-]
Command: ['ip', 'netns', 'add', u'qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48']
Exit code: 1
Stdin:
Stdout:
Stderr: Cannot create namespace file "/var/run/netns/qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48": File exists

exists 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info [-] Command: ['ip', 'netns', 'add', u'qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48'] Exit code: 1 Stdin: Stdout: Stderr: Cannot create namespace file "/var/run/netns/qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48": File exists 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Traceback (most recent call last): 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 356, in call 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info return func(args, *kwargs) func(*args, **kwargs) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 694, in process 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self.process_external(agent) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 660, in process_external 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self._process_external_gateway(ex_gw_port, agent.pd) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 569, in _process_external_gateway 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self.external_gateway_added(ex_gw_port, interface_name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 534, in external_gateway_added 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info ex_gw_port, interface_name, self.ns_name, preserve_ips) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 496, in _external_gateway_added 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self._plug_external_gateway(ex_gw_port, interface_name, ns_name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 477, in _plug_external_gateway 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info prefix=EXTERNAL_DEV_PREFIX) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 252, in plug 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info bridge, namespace, prefix) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 483, in plug_new 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info namespace2=namespace) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 144, in add_veth 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self.ensure_namespace(namespace2) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 163, in ensure_namespace 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info ip = self.netns.add(name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 793, in add 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info self._as_root([], ('add', name), use_root_namespace=True) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 280, in _as_root 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info use_root_namespace=use_root_namespace) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 80, in _as_root 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info log_fail_as_error=self.log_fail_as_error) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 89, in _execute 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info log_fail_as_error=log_fail_as_error) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 159, in execute 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info raise RuntimeError(m) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info RuntimeError: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Command: ['ip', 'netns', 'add', u'qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48'] 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Exit code: 1 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Stdin: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Stdout: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info Stderr: Cannot create namespace file "/var/run/netns/qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48": File exists 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.router_info 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent [-] Failed to process compatible router '56bc779f-a82c-44a1-80d1-cc11253e4d48' 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Traceback (most recent call last): 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 498, in _process_router_update 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._process_router_if_compatible(router) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 441, in _process_router_if_compatible 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._process_added_router(router) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 449, in _process_added_router 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent ri.process(self) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 359, in call 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self.logger(e) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__ 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent six.reraise(self.type_, self.value, self.tb) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 356, in call 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent return func(args, *kwargs) func(*args, **kwargs) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 694, in process 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self.process_external(agent) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 660, in process_external 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._process_external_gateway(ex_gw_port, agent.pd) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 569, in _process_external_gateway 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self.external_gateway_added(ex_gw_port, interface_name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 534, in external_gateway_added 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent ex_gw_port, interface_name, self.ns_name, preserve_ips) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 496, in _external_gateway_added 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._plug_external_gateway(ex_gw_port, interface_name, ns_name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 477, in _plug_external_gateway 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent prefix=EXTERNAL_DEV_PREFIX) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 252, in plug 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent bridge, namespace, prefix) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 483, in plug_new 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent namespace2=namespace) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 144, in add_veth 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self.ensure_namespace(namespace2) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 163, in ensure_namespace 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent ip = self.netns.add(name) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 793, in add 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent self._as_root([], ('add', name), use_root_namespace=True) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 280, in _as_root 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent use_root_namespace=use_root_namespace) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 80, in _as_root 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent log_fail_as_error=self.log_fail_as_error) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 89, in _execute 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent log_fail_as_error=log_fail_as_error) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 159, in execute 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent raise RuntimeError(m) 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent RuntimeError: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Command: ['ip', 'netns', 'add', u'qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48'] 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Exit code: 1 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Stdin: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Stdout: 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent Stderr: Cannot create namespace file "/var/run/netns/qrouter-56bc779f-a82c-44a1-80d1-cc11253e4d48": File exists 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent 2016-01-19 18:24:02.865 914 ERROR neutron.agent.l3.agent


neutron.agent.l3.agent --------------------------------------------------------------------------