Ask Your Question
0

neutron-l3-agent dead

asked 2014-02-17 17:35:12 -0500

Shiv gravatar image

updated 2014-02-17 19:31:36 -0500

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 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-04-01 06:50:52 -0500

vmwareprofessional gravatar image

Try "Yum install iproute'

edit flag offensive delete link more
0

answered 2014-02-17 21:25:01 -0500

laocius gravatar image

I ran into the same issue.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-02-17 17:35:12 -0500

Seen: 1,615 times

Last updated: Apr 01 '14