Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

neutron-l3-agent dead

Hi

neutron-l3-agent for me is not working. Neutron is isntalled on a dedicated CentOS 6.5 64 bit. SELINUX is disabled.

See the details below

openstack-status == neutron services == neutron-server: inactive (disabled on boot) neutron-dhcp-agent: active neutron-l3-agent: dead neutron-metadata-agent: active neutron-lbaas-agent: inactive (disabled on boot) neutron-openvswitch-agent: active == Support services == openvswitch: active messagebus: dead (disabled on boot)

service neutron-l3-agent status neutron-l3-agent dead but pid file exists

cat /var/log/neutron/l3-agent.log

2014-02-18 12:16:17.923 3162 INFO neutron.common.config [-] Logging enabled! 2014-02-18 12:16:17.923 3162 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver 2014-02-18 12:16:18.013 3162 CRITICAL neutron [-] Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'list'] Exit code: 255 Stdout: '' Stderr: 'Object "netns" is unknown, try "ip help".\n' 2014-02-18 12:16:18.013 3162 TRACE neutron Traceback (most recent call last): 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/bin/neutron-l3-agent", line 10, in <module> 2014-02-18 12:16:18.013 3162 TRACE neutron sys.exit(main()) 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 849, in main 2014-02-18 12:16:18.013 3162 TRACE neutron manager=manager) 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/service.py", line 208, in create 2014-02-18 12:16:18.013 3162 TRACE neutron periodic_fuzzy_delay=periodic_fuzzy_delay) 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/service.py", line 141, in __init__ 2014-02-18 12:16:18.013 3162 TRACE neutron self.manager = manager_class(host=host, args, *kwargs) 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 770, in __init__ 2014-02-18 12:16:18.013 3162 TRACE neutron super(L3NATAgentWithStateReport, self).__init__(host=host, conf=conf) 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 217, in __init__ 2014-02-18 12:16:18.013 3162 TRACE neutron self._destroy_router_namespaces(self.conf.router_id) 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 249, in _destroy_router_namespaces 2014-02-18 12:16:18.013 3162 TRACE neutron for ns in root_ip.get_namespaces(self.root_helper): 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 183, in get_namespaces 2014-02-18 12:16:18.013 3162 TRACE neutron output = cls._execute('', 'netns', ('list',), root_helper=root_helper) 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 81, in _execute 2014-02-18 12:16:18.013 3162 TRACE neutron root_helper=root_helper) 2014-02-18 12:16:18.013 3162 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 62, in execute 2014-02-18 12:16:18.013 3162 TRACE neutron raise RuntimeError(m) 2014-02-18 12:16:18.013 3162 TRACE neutron RuntimeError: 2014-02-18 12:16:18.013 3162 TRACE neutron Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'list'] 2014-02-18 12:16:18.013 3162 TRACE neutron Exit code: 255 2014-02-18 12:16:18.013 3162 TRACE neutron Stdout: '' 2014-02-18 12:16:18.013 3162 TRACE neutron Stderr: 'Object "netns" is unknown, try "ip help".\n' 2014-02-18 12:16:18.013 3162 TRACE neutron

Thanks

Shiv

neutron-l3-agent dead

Hi

neutron-l3-agent for me is not working. Neutron is isntalled on a dedicated CentOS 6.5 64 bit. SELINUX is disabled.

See the details below

openstack-status 
== neutron services ==
neutron-server:                         inactive  (disabled on boot)
neutron-dhcp-agent:                     active
neutron-l3-agent:                       dead
neutron-metadata-agent:                 active
neutron-lbaas-agent:                    inactive  (disabled on boot)
neutron-openvswitch-agent:              active
== Support services ==
openvswitch:                            active
messagebus:                             dead      (disabled on boot)

boot) service neutron-l3-agent status neutron-l3-agent dead but pid file exists

exists

cat /var/log/neutron/l3-agent.log

2014-02-18 12:16:17.923 3162 INFO neutron.common.config [-] Logging enabled!
2014-02-18 12:16:17.923 3162 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2014-02-18 12:16:18.013 3162 CRITICAL neutron [-] 
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'list']
Exit code: 255
Stdout: ''
Stderr: 'Object "netns" is unknown, try "ip help".\n'
2014-02-18 12:16:18.013 3162 TRACE neutron Traceback (most recent call last):
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/bin/neutron-l3-agent", line 10, in <module>
2014-02-18 12:16:18.013 3162 TRACE neutron     sys.exit(main())
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 849, in main
2014-02-18 12:16:18.013 3162 TRACE neutron     manager=manager)
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 208, in create
2014-02-18 12:16:18.013 3162 TRACE neutron     periodic_fuzzy_delay=periodic_fuzzy_delay)
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 141, in __init__
2014-02-18 12:16:18.013 3162 TRACE neutron     self.manager = manager_class(host=host, args, *kwargs)
*args, **kwargs)
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 770, in __init__
2014-02-18 12:16:18.013 3162 TRACE neutron     super(L3NATAgentWithStateReport, self).__init__(host=host, conf=conf)
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 217, in __init__
2014-02-18 12:16:18.013 3162 TRACE neutron     self._destroy_router_namespaces(self.conf.router_id)
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 249, in _destroy_router_namespaces
2014-02-18 12:16:18.013 3162 TRACE neutron     for ns in root_ip.get_namespaces(self.root_helper):
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 183, in get_namespaces
2014-02-18 12:16:18.013 3162 TRACE neutron     output = cls._execute('', 'netns', ('list',), root_helper=root_helper)
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 81, in _execute
2014-02-18 12:16:18.013 3162 TRACE neutron     root_helper=root_helper)
2014-02-18 12:16:18.013 3162 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 62, in execute
2014-02-18 12:16:18.013 3162 TRACE neutron     raise RuntimeError(m)
2014-02-18 12:16:18.013 3162 TRACE neutron RuntimeError: 
2014-02-18 12:16:18.013 3162 TRACE neutron Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'list']
2014-02-18 12:16:18.013 3162 TRACE neutron Exit code: 255
2014-02-18 12:16:18.013 3162 TRACE neutron Stdout: ''
2014-02-18 12:16:18.013 3162 TRACE neutron Stderr: 'Object "netns" is unknown, try "ip help".\n'
2014-02-18 12:16:18.013 3162 TRACE neutron 

neutron

Thanks

Shiv