Ask Your Question
0

Neutron linuxbridge agent starts and then goes to failed state in the controller node of openstack

asked 2017-03-01 05:20:47 -0600

anonymous user

Anonymous

updated 2017-03-23 13:41:12 -0600

rbowen gravatar image

I have been following the rdo guide for openstack installation on RHEL 7.

I have configured all the other steps successfully but this one where we configure the controller node with networking services :

#systemctl start neutron-server.service \
  neutron-linuxbridge-agent.service neutron-dhcp-agent.service \
  neutron-metadata-agent.service

All the nova.conf,metadata_agent.ini,neutron.conf,ml2_conf.ini,linuxbridge_agent.ini,l3_agent.ini,dhcp_agent.ini files have been configured and modified as required.I have checked them multiple times.

The weird thing is that ,after i start the neutron-linuxbridge-agent.service,it starts and i can see the status as running and then in another second it goes to the failed state..

Attaching the logs for neutron-linuxbridge-agent.service and also the state of the service after i start and check the status after sometime.

Log error is as:

2017-03-01 00:41:49.433 28608 INFO neutron.common.config [-] Logging enabled!
2017-03-01 00:41:49.433 28608 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 9.2.0
2017-03-01 00:41:49.434 28608 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'eth1'}
2017-03-01 00:41:49.434 28608 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {}
2017-03-01 00:41:49.439 28608 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Agent initialized successfully, now running... 
2017-03-01 00:41:49.446 28608 WARNING stevedore.named [req-0acc7899-0be4-4996-9976-7603f8bab1c7 - - - - -] Could not load neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service [req-0acc7899-0be4-4996-9976-7603f8bab1c7 - - - - -] Error starting thread.
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service Traceback (most recent call last):
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 708, in run_service
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service     service.start()
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 154, in wrapper
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service     return f(*args, **kwargs)
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 87, in start
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service     self.setup_rpc()
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 154, in wrapper
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service     return f(*args, **kwargs)
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 154, in setup_rpc
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service     self.context, self.sg_plugin_rpc, defer_refresh_firewall=True)
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 76, in __init__
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service     self.init_firewall(defer_refresh_firewall, integration_bridge)
2017-03-01 00:41:49.457 28608 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 90, in init_firewall
2017-03-01 00 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-24 13:36:25 -0600

tze gravatar image

Your broblem is in sudo wrap at your agent. Check if sudo works on agents. Maybe broblem with neutron os account or sudo files (/etc/sudoers, /etc/sudoers.d).

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: 2017-03-01 05:20:47 -0600

Seen: 198 times

Last updated: Mar 24