Ask Your Question
0

openvswitch-agent won't start

asked 2015-10-22 06:38:42 -0500

anonymous user

Anonymous

updated 2015-10-22 17:35:39 -0500

I am trying to install openstack environment as in the instacttion book I tried to install opencswitch I execute the command

systemctl stauts  neutron-openvswitch-agent.service

it finished with no errors but the status is like that

neutron-openvswitch-agent.service - OpenStack Neutron Open vSwitch Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-openvswitch-agent.service; enabled)
   Active: failed (Result: exit-code) since Tue 2015-10-20 12:21:58 EDT; 14s ago
  Process: 7224 ExecStart=/usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/neutron-openvswitch-agent --log-file /var/log/neutron/openvswitch-agent.log (code=exited, status=1/FAILURE)
 Main PID: 7224 (code=exited, status=1/FAILURE)

Oct 20 12:21:58 network neutron-openvswitch-agent[7224]: ovs_neutron_agent.ma...
Oct 20 12:21:58 network neutron-openvswitch-agent[7224]: File "/usr/lib/pytho...
Oct 20 12:21:58 network neutron-openvswitch-agent[7224]: common_config.init(s...
Oct 20 12:21:58 network neutron-openvswitch-agent[7224]: File "/usr/lib/pytho...
Oct 20 12:21:58 network neutron-openvswitch-agent[7224]: **kwargs)
Oct 20 12:21:58 network neutron-openvswitch-agent[7224]: File "/usr/lib/pytho...
Oct 20 12:21:58 network neutron-openvswitch-agent[7224]: raise ConfigFilesNot...
Oct 20 12:21:58 network neutron-openvswitch-agent[7224]: oslo_config.cfg.Conf...
Oct 20 12:21:58 network systemd[1]: neutron-openvswitch-agent.service: main...RE
Oct 20 12:21:58 network systemd[1]: Unit neutron-openvswitch-agent.service ...e.
Hint: Some lines were ellipsized, use -l to show in full.

I tried to check the log file under /var/log/neutron/openvswitch-agent.log but it wasn't there , I create the file and restart ,but it shown nothing

with status "-l"

neutron-openvswitch-agent.service - OpenStack Neutron Open vSwitch Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-openvswitch-agent.service; enabled)
   Active: failed (Result: exit-code) since Tue 2015-10-20 14:35:58 EDT; 11min ago
  Process: 7387 ExecStart=/usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/neutron-openvswitch-agent --log-file /var/log/neutron/openvswitch-agent.log (code=exited, status=1/FAILURE)
 Main PID: 7387 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/neutron-openvswitch-agent.service

Oct 20 14:35:58 network neutron-openvswitch-agent[7387]: ovs_neutron_agent.main()
Oct 20 14:35:58 network neutron-openvswitch-agent[7387]: File "/usr/lib/python2.7/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1731, in main
Oct 20 14:35:58 network neutron-openvswitch-agent[7387]: common_config.init(sys.argv[1:])
Oct 20 14:35:58 network neutron-openvswitch-agent[7387]: File "/usr/lib/python2.7/site-packages/neutron/common/config.py", line 185, in init
Oct 20 14:35:58 network neutron-openvswitch-agent[7387]: **kwargs)
Oct 20 14:35:58 network neutron-openvswitch-agent[7387]: File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1857, in __call__
Oct 20 14:35:58 network neutron-openvswitch-agent[7387]: raise ConfigFilesNotFoundError(self._namespace._files_not_found)
Oct 20 14:35:58 network neutron-openvswitch-agent[7387]: oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/plugin.ini
Oct 20 14:35:58 network systemd[1]: neutron-openvswitch-agent.service: main process exited, code=exited, status=1/FAILURE
Oct 20 14 ...
(more)
edit retag flag offensive close merge delete

Comments

Add to status command key "-l" and repost, -L ( at low register)

dbaxps gravatar imagedbaxps ( 2015-10-22 07:42:28 -0500 )edit

it did it :

majd.alshimali gravatar imagemajd.alshimali ( 2015-10-22 17:36:25 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-23 00:51:24 -0500

dbaxps gravatar image

The error is : Failed to find some config files: /etc/neutron/plugin.ini

On Controller it's a link to /etc/neutron/plugins/ml2/ml2_conf.ini
On Compute it'a a link to /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
On Liberty Compute it's a link to /etc/neutron/plugins/ml2/openvswitch_agent.ini
edit flag offensive delete link more

Comments

thanks :) alot

majd.alshimali gravatar imagemajd.alshimali ( 2015-10-23 06:55:27 -0500 )edit

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

2 followers

Stats

Asked: 2015-10-22 06:38:42 -0500

Seen: 983 times

Last updated: Oct 23 '15