<div dir="ltr"><div><div><div>Looks like you missed installing the keystoneclient/middleware<br><br></div>Can you check you have keystoneclient/middleware/authtoken* ?<br><br></div><div>You server is failing while importing the above module. Due to this it is trying to load quantum configuration<br>
</div><div><br></div>-dheeru<br></div>@Community Sevice<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 28, 2013 at 10:47 AM, Jitendra Kumar Bhaskar <span dir="ltr"><<a href="mailto:jitendra.b@pramati.com" target="_blank">jitendra.b@pramati.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Kevin,<br><br></div>Can you please update the api-pase.ini in [filter:authtoken] to :<div class="im">
<br>[filter:authtoken]<br>paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory<br></div>auth_host=controllerauth_port = 35357<br>
auth_protocol = http<br>admin_user=neutron<br>admin_tenant_name=service<br>admin_password=password<br><br><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><div><div>Regards<b><br>Jitendra Bhaskar</b><br>

<br></div><br></div></div><br><div><div><div><br></div></div></div></div></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Thu, Nov 28, 2013 at 2:34 AM, <a href="mailto:kevin.breit@kevinbreit.net" target="_blank">kevin.breit@kevinbreit.net</a> <span dir="ltr"><<a href="mailto:kevin.breit@kevinbreit.net" target="_blank">kevin.breit@kevinbreit.net</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">

I am trying to start neutron-server on my network node but it is crashing. Here is the output followed by my api-paste.ini file. What is wrong? I have the exact same api-paste.ini file working on other server but it is crashing on my neutron node. Any suggestions?</div>

<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">

<div style="margin:0px">[root@networking neutron]# neutron-server</div><div style="margin:0px">2013-11-27 14:58:04.447 5336 INFO neutron.common.config [-] Logging enabled!</div><div style="margin:0px">2013-11-27 14:58:04.448 5336 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver</div>

<div style="margin:0px">2013-11-27 14:58:04.453 5336 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 ERROR neutron.common.config [-] Unable to load neutron from configuration file /etc/neutron/api-paste.ini.</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config Traceback (most recent call last):</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/neutron/common/config.py", line 144, in load_paste_app</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     app = deploy.loadapp("config:%s" % config_path, name=app_name)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 247, in loadapp</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     return loadobj(APP, uri, name=name, **kw)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 272, in loadobj</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     return context.create()</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 710, in create</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     return self.object_type.invoke(self)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 144, in invoke</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     **context.local_conf)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py", line 56, in fix_call</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     val = callable(*args, **kw)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in urlmap_factory</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     app = loader.get_app(app_name, global_conf=global_conf)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 350, in get_app</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     name=name, global_conf=global_conf).create()</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 710, in create</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     return self.object_type.invoke(self)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 144, in invoke</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     **context.local_conf)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py", line 56, in fix_call</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     val = callable(*args, **kw)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/neutron/auth.py", line 58, in pipeline_factory</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     filters = [loader.get_filter(n) for n in pipeline[:-1]]</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 354, in get_filter</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     name=name, global_conf=global_conf).create()</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 366, in filter_context</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     FILTER, name=name, global_conf=global_conf)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 458, in get_context</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     section)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     value = import_string(found_expr)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 22, in import_string</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     return pkg_resources.EntryPoint.parse("x=" + s).load(False)</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config     entry = __import__(self.module_name, globals(),globals(), ['__name__'])</div><div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config ImportError: No module named keystoneclient.middleware.auth_token</div>

<div style="margin:0px">2013-11-27 14:58:04.459 5336 TRACE neutron.common.config </div><div style="margin:0px">2013-11-27 14:58:04.463 5336 WARNING neutron.service [-] Attempting fallback to old Quantum api-paste config</div>

<div style="margin:0px">2013-11-27 14:58:04.464 5336 INFO neutron.common.config [-] Logging enabled!</div><div style="margin:0px">2013-11-27 14:58:04.464 5336 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 ERROR neutron.common.config [-] Unable to load quantum from configuration file /etc/neutron/api-paste.ini.</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config Traceback (most recent call last):</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/neutron/common/config.py", line 144, in load_paste_app</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config     app = deploy.loadapp("config:%s" % config_path, name=app_name)</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 247, in loadapp</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config     return loadobj(APP, uri, name=name, **kw)</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 271, in loadobj</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config     global_conf=global_conf)</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 296, in loadcontext</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config     global_conf=global_conf)</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 320, in _loadconfig</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config     return loader.get_context(object_type, name, global_conf)</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 408, in get_context</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config     object_type, name=name)</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 587, in find_config_section</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config     self.filename))</div><div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config LookupError: No section 'quantum' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/neutron/api-paste.ini</div>

<div style="margin:0px">2013-11-27 14:58:04.467 5336 TRACE neutron.common.config </div><div style="margin:0px">2013-11-27 14:58:04.468 5336 ERROR neutron.service [-] In serve_wsgi()</div><div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service Traceback (most recent call last):</div>

<div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 100, in serve_wsgi</div><div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service     service.start()</div>

<div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 65, in start</div><div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service     self.wsgi_app = _run_wsgi(self.app_name)</div>

<div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 109, in _run_wsgi</div><div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service     app = config.load_paste_app(app_name)</div>

<div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/neutron/common/config.py", line 151, in load_paste_app</div><div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service     raise RuntimeError(msg)</div>

<div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service RuntimeError: Unable to load quantum from configuration file /etc/neutron/api-paste.ini.</div><div style="margin:0px">2013-11-27 14:58:04.468 5336 TRACE neutron.service </div>

<div style="margin:0px">ERROR: Unable to load quantum from configuration file /etc/neutron/api-paste.ini.</div><div style="margin:0px"><div style="margin:0px">[root@networking neutron]# cat api-paste.ini </div><div style="margin:0px">

[composite:neutron]</div><div style="margin:0px">use = egg:Paste#urlmap</div><div style="margin:0px">/: neutronversions</div><div style="margin:0px">/v2.0: neutronapi_v2_0</div><div style="margin:0px"><br></div><div style="margin:0px">

[composite:neutronapi_v2_0]</div><div style="margin:0px">use = call:neutron.auth:pipeline_factory</div><div style="margin:0px">noauth = extensions neutronapiapp_v2_0</div><div style="margin:0px">keystone = authtoken keystonecontext extensions neutronapiapp_v2_0</div>

<div style="margin:0px"><br></div><div style="margin:0px">[filter:keystonecontext]</div><div style="margin:0px">paste.filter_factory = neutron.auth:NeutronKeystoneContext.factory</div><div style="margin:0px"><br></div><div style="margin:0px">

[filter:authtoken]</div><div style="margin:0px">paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory</div><div style="margin:0px">auth_host = controller</div><div style="margin:0px">auth_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a></div>

<div style="margin:0px">admin_user = neutron</div><div style="margin:0px">admin_tenant_name = service</div><div style="margin:0px">admin_password = pass</div><div style="margin:0px"><br></div><div style="margin:0px">[filter:extensions]</div>

<div style="margin:0px">paste.filter_factory = neutron.api.extensions:plugin_aware_extension_middleware_factory</div><div style="margin:0px"><br></div><div style="margin:0px">[app:neutronversions]</div><div style="margin:0px">

paste.app_factory = neutron.api.versions:Versions.factory</div><div style="margin:0px"><br></div><div style="margin:0px">[app:neutronapiapp_v2_0]</div><div style="margin:0px">paste.app_factory = neutron.api.v2.router:APIRouter.factory</div>

</div><div style="margin:0px"><br></div></div><br><div></div></div><br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>