<div dir="ltr">Thats cool kevin. Your poblem is resolved.<div><br></div><div>-Dheeru</div><div>@Community Service</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 28, 2013 at 8:38 PM, Kevin Breit <span dir="ltr"><<a href="mailto:kevin.breit@kevinbreit.net" target="_blank">kevin.breit@kevinbreit.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That was indeed the fix. I needed to install python-keystoneclient and it worked immediately. Thank you.<div class="im">
<br>
<br>
On 28 Nov 2013, at 1:36, dheeru wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Looks like you missed installing the keystoneclient/middleware<br>
<br>
Can you check you have keystoneclient/middleware/<u></u>authtoken* ?<br>
<br>
You server is failing while importing the above module. Due to this it is<br>
trying to load quantum configuration<br>
<br>
-dheeru<br>
@Community Sevice<br>
<br>
<br>
On Thu, Nov 28, 2013 at 10:47 AM, Jitendra Kumar Bhaskar <<br>
<a href="mailto:jitendra.b@pramati.com" target="_blank">jitendra.b@pramati.com</a>> wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi Kevin,<br>
<br>
Can you please update the api-pase.ini in [filter:authtoken] to :<br>
<br>
[filter:authtoken]<br>
paste.filter_factory = keystoneclient.middleware.<u></u>auth_token:filter_factory<br>
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>
<br>
Regards<br></div>
*Jitendra Bhaskar*<div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
On Thu, Nov 28, 2013 at 2:34 AM, <a href="mailto:kevin.breit@kevinbreit.net" target="_blank">kevin.breit@kevinbreit.net</a> <<br>
<a href="mailto:kevin.breit@kevinbreit.net" target="_blank">kevin.breit@kevinbreit.net</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am trying to start neutron-server on my network node but it is<br>
crashing. Here is the output followed by my api-paste.ini file. What is<br>
wrong? I have the exact same api-paste.ini file working on other server but<br>
it is crashing on my neutron node. Any suggestions?<br>
<br>
[root@networking neutron]# neutron-server<br>
2013-11-27 14:58:04.447 5336 INFO neutron.common.config [-] Logging<br>
enabled!<br>
2013-11-27 14:58:04.448 5336 ERROR neutron.common.legacy [-] Skipping<br>
unknown group key: firewall_driver<br>
2013-11-27 14:58:04.453 5336 INFO neutron.common.config [-] Config paste<br>
file: /etc/neutron/api-paste.ini<br>
2013-11-27 14:58:04.459 5336 ERROR neutron.common.config [-] Unable to<br>
load neutron from configuration file /etc/neutron/api-paste.ini.<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config Traceback (most<br>
recent call last):<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/neutron/common/<u></u>config.py", line 144, in<br>
load_paste_app<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config app =<br>
deploy.loadapp("config:%s" % config_path, name=app_name)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 247, in loadapp<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config return<br>
loadobj(APP, uri, name=name, **kw)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 272, in loadobj<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config return<br>
context.create()<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 710, in create<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config return<br>
self.object_type.invoke(self)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 144, in invoke<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config<br>
**context.local_conf)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/util.<u></u>py",<br>
line 56, in fix_call<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config val =<br>
callable(*args, **kw)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/paste/urlmap.py", line 25, in<br>
urlmap_factory<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config app =<br>
loader.get_app(app_name, global_conf=global_conf)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 350, in get_app<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config name=name,<br>
global_conf=global_conf).<u></u>create()<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 710, in create<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config return<br>
self.object_type.invoke(self)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 144, in invoke<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config<br>
**context.local_conf)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/util.<u></u>py",<br>
line 56, in fix_call<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config val =<br>
callable(*args, **kw)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/neutron/auth.py", line 58, in<br>
pipeline_factory<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config filters =<br>
[loader.get_filter(n) for n in pipeline[:-1]]<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 354, in get_filter<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config name=name,<br>
global_conf=global_conf).<u></u>create()<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 366, in filter_context<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config FILTER,<br>
name=name, global_conf=global_conf)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 458, in get_context<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config section)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 517, in _context_from_explicit<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config value =<br>
import_string(found_expr)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 22, in import_string<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config return<br>
pkg_resources.EntryPoint.<u></u>parse("x=" + s).load(False)<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/pkg_resources.py", line 1948, in load<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config entry =<br>
__import__(self.module_name, globals(),globals(), ['__name__'])<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config ImportError: No<br>
module named keystoneclient.middleware.<u></u>auth_token<br>
2013-11-27 14:58:04.459 5336 TRACE neutron.common.config<br>
2013-11-27 14:58:04.463 5336 WARNING neutron.service [-] Attempting<br>
fallback to old Quantum api-paste config<br>
2013-11-27 14:58:04.464 5336 INFO neutron.common.config [-] Logging<br>
enabled!<br>
2013-11-27 14:58:04.464 5336 ERROR neutron.common.legacy [-] Skipping<br>
unknown group key: firewall_driver<br>
2013-11-27 14:58:04.467 5336 INFO neutron.common.config [-] Config paste<br>
file: /etc/neutron/api-paste.ini<br>
2013-11-27 14:58:04.467 5336 ERROR neutron.common.config [-] Unable to<br>
load quantum from configuration file /etc/neutron/api-paste.ini.<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config Traceback (most<br>
recent call last):<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/neutron/common/<u></u>config.py", line 144, in<br>
load_paste_app<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config app =<br>
deploy.loadapp("config:%s" % config_path, name=app_name)<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 247, in loadapp<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config return<br>
loadobj(APP, uri, name=name, **kw)<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 271, in loadobj<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config<br>
global_conf=global_conf)<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 296, in loadcontext<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config<br>
global_conf=global_conf)<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 320, in _loadconfig<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config return<br>
loader.get_context(object_<u></u>type, name, global_conf)<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 408, in get_context<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config object_type,<br>
name=name)<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config File<br>
"/usr/lib/python2.6/site-<u></u>packages/PasteDeploy-1.5.0-<u></u>py2.6.egg/paste/deploy/<u></u>loadwsgi.py",<br>
line 587, in find_config_section<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config<br>
self.filename))<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config LookupError: No<br>
section 'quantum' (prefixed by 'app' or 'application' or 'composite' or<br>
'composit' or 'pipeline' or 'filter-app') found in config<br>
/etc/neutron/api-paste.ini<br>
2013-11-27 14:58:04.467 5336 TRACE neutron.common.config<br>
2013-11-27 14:58:04.468 5336 ERROR neutron.service [-] In serve_wsgi()<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service Traceback (most recent<br>
call last):<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service File<br>
"/usr/lib/python2.6/site-<u></u>packages/neutron/service.py", line 100, in<br>
serve_wsgi<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service service.start()<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service File<br>
"/usr/lib/python2.6/site-<u></u>packages/neutron/service.py", line 65, in start<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service self.wsgi_app =<br>
_run_wsgi(self.app_name)<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service File<br>
"/usr/lib/python2.6/site-<u></u>packages/neutron/service.py", line 109, in<br>
_run_wsgi<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service app =<br>
config.load_paste_app(app_<u></u>name)<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service File<br>
"/usr/lib/python2.6/site-<u></u>packages/neutron/common/<u></u>config.py", line 151, in<br>
load_paste_app<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service raise<br>
RuntimeError(msg)<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service RuntimeError: Unable<br>
to load quantum from configuration file /etc/neutron/api-paste.ini.<br>
2013-11-27 14:58:04.468 5336 TRACE neutron.service<br>
ERROR: Unable to load quantum from configuration file<br>
/etc/neutron/api-paste.ini.<br>
[root@networking neutron]# cat api-paste.ini<br>
[composite:neutron]<br>
use = egg:Paste#urlmap<br>
/: neutronversions<br>
/v2.0: neutronapi_v2_0<br>
<br>
[composite:neutronapi_v2_0]<br>
use = call:neutron.auth:pipeline_<u></u>factory<br>
noauth = extensions neutronapiapp_v2_0<br>
keystone = authtoken keystonecontext extensions neutronapiapp_v2_0<br>
<br>
[filter:keystonecontext]<br>
paste.filter_factory = neutron.auth:<u></u>NeutronKeystoneContext.factory<br>
<br>
[filter:authtoken]<br>
paste.filter_factory = keystoneclient.middleware.<u></u>auth_token:filter_factory<br>
auth_host = controller<br>
auth_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a><br>
admin_user = neutron<br>
admin_tenant_name = service<br>
admin_password = pass<br>
<br>
[filter:extensions]<br>
paste.filter_factory =<br>
neutron.api.extensions:plugin_<u></u>aware_extension_middleware_<u></u>factory<br>
<br>
[app:neutronversions]<br>
paste.app_factory = neutron.api.versions:Versions.<u></u>factory<br>
<br>
[app:neutronapiapp_v2_0]<br>
paste.app_factory = neutron.api.v2.router:<u></u>APIRouter.factory<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Mailing list:<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe :<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Mailing list:<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe :<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
<br>
<br>
</div></div></blockquote></blockquote>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>-dheeru<br></div>@Community Service<br></div>
</div>