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 ./stack.sh and now seeing
2015-02-20 08:29:16.036 | + cd /opt/stack/horizon
2015-02-20 08:29:16.037 | + ./run_tests.sh -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 ./run_tests.sh 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/manager.py", 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