Ask Your Question

Neutron did not start error

asked 2015-02-19 02:11:52 -0600

nirmal gravatar image

updated 2015-02-19 04:51:47 -0600

dbaxps gravatar image

Am new to openstack and trying my hands with devstack first. After running ./ am repeatedly getting '[ERROR] /home/gubuntu/devstack/lib/neutron:694 Neutron did not start' I have verified my local.conf file with multiple forums and seem to be ok though. Can someone help please? Am running it on ubuntu 14.04 on my laptop.

My local.conf / localrc :

disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-l3
enable_service q-dhcp
enable_service neutron
enable_service q-fwaas
enable_service q-vpn
enable_service q-meta
enable_service q-metering
enable_service tempest
NOVA_USE_NEUTRON_API=v2 // Same result with this on or off
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-02-19 10:09:26 -0600

Check either the for errors - or look in the directory /var/log/neutron for logfiles.. something in there should shed some light.

Does running 'service neutron-server start' replicate the failure?

edit flag offensive delete link more

answered 2015-02-20 01:41:02 -0600

nirmal gravatar image

updated 2015-02-20 17:12:00 -0600

I checked q-svc.log and see ^[[01;31m2015-02-19 23:01:38.326 TRACE neutron.service ^[[01;35m^[[00mRuntimeError: Unable to load neutron from configuration file /etc/neutron/api-paste.ini.^M ^[[01;31m2015-02-19 23:01:38.326 TRACE neutron.service ^[[01;35m^[[00m^M ERROR: Unable to load neutron from configuration file /etc/neutron/api-paste.ini.^M q-svc failed to start^M

I see /etc/neutron/api-paste.ini i present.

Running "service neutron-sever start" gives neutron-server: unrecognized service.

I tried installing and starting neutron-server manually. It started. Then reran ./ and now seeing

2015-02-20 08:29:16.036 | + cd /opt/stack/horizon 2015-02-20 08:29:16.037 | + ./ -N --compilemessages 2015-02-20 08:29:16.760 | ImportError: Could not import settings 'openstack_dashboard.test.settings' (Is it on sys.path? Is there an import error in the settings file?): cannot import name types

However able to run ./ from opt/stack/horizon successfully.

Bit lost here. Any help would be appreciated. Have tried these steps from scratch on two different VMs and notebook and same behavior.

Here is my api-paste.init

[composite:neutron] use = egg:Paste#urlmap /: neutronversions /v2.0: neutronapi_v2_0

[composite:neutronapi_v2_0] use = call:neutron.auth:pipeline_factory noauth = request_id catch_errors extensions neutronapiapp_v2_0 keystone = request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0

[filter:request_id] paste.filter_factory = oslo.middleware:RequestId.factory

[filter:catch_errors] paste.filter_factory = oslo.middleware:CatchErrors.factory

[filter:keystonecontext] paste.filter_factory = neutron.auth:NeutronKeystoneContext.factory

[filter:authtoken] paste.filter_factory = keystonemiddleware.auth_token:filter_factory

[filter:extensions] paste.filter_factory = neutron.api.extensions:plugin_aware_extension_middleware_factory

[app:neutronversions] paste.app_factory = neutron.api.versions:Versions.factory

[app:neutronapiapp_v2_0] paste.app_factory = neutron.api.v2.router:APIRouter.factory

One more error I noticed in q-svc.log

^[[01;31m2015-02-20 14:39:17.661 TRACE neutron.common.config ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/", line 142, in _get_plugin_instance^M ^[[01;31m2015-02-20 14:39:17.661 TRACE neutron.common.config ^[[01;35m^[[00m raise ImportError(_("Plugin not found."))^M ^[[01;31m2015-02-20 14:39:17.661 TRACE neutron.common.config ^[[01;35m^[[00mImportError: Plugin not found.^M ^[[01;31m2015-02-20 14:39:17.661 TRACE neutron.common.config ^[[01;35m^[[00m^M

edit flag offensive delete link more


What does your /etc/neutron/api-paste.ini file actually contain?

The full errors from q-svc log would also be really helpful. :)

tedlit gravatar imagetedlit ( 2015-02-20 10:52:42 -0600 )edit

I did not change anything in the .ini file. Will send it out.

nirmal gravatar imagenirmal ( 2015-02-20 16:59:17 -0600 )edit

It appears that ERROR neutron.manager [^[[00;36m-^[[01;31m] ^[[01;35m^[[01;31mError loading plugin by name, No 'neutron.core_plugins' driver found, looking for 'neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2'^[[00m Above plugins are mentioned in neutron.conf. How do I get these?

nirmal gravatar imagenirmal ( 2015-02-20 17:23:15 -0600 )edit

That kinda implies your install isn't complete.. OVSNeutronPluginV2 should be part of neutron-plugin-openvswitch.

tedlit gravatar imagetedlit ( 2015-02-20 17:28:56 -0600 )edit

Thanks for the reply. I am running and nothing different. If I install openvswitch plugin manually and then, it fails with ImportError: Could not import settings 'openstack_dashboard.test.settings' Any steps am missing here...

nirmal gravatar imagenirmal ( 2015-02-20 18:51:26 -0600 )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

1 follower


Asked: 2015-02-19 02:11:52 -0600

Seen: 3,936 times

Last updated: Feb 20 '15