openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #08369
Re: can't access keystone endpoint http://localhost:5000/v2.0
-
To:
openstack@xxxxxxxxxxxxxxxxxxx
-
From:
Rafael Durán Castañeda <rafadurancastaneda@xxxxxxxxx>
-
Date:
Wed, 07 Mar 2012 15:25:46 +0100
-
In-reply-to:
<CAByQ+9_jsZVGahMn7Xgtv=A9A+wS47=Sz3qExfa_hBnLZpV1Xw@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
On 03/07/2012 01:27 PM, Deepak Garg wrote:
@ Rafael
Can you post more details about the configurations and cmds you are using ?
It will be helpful if you also paste the keystone.conf file.
commands:
$ cd path/to/keystone
$ bin/keystone-all
$ curl http://localhost:35357/v2.0 (or curl http://localhost:5000/v2.0)
the keystone.conf is the default one:
https://github.com/openstack/keystone/blob/b68051cd13cc71ebd15cd478afedf0c5d07ebd4e/etc/keystone.conf
pip freeze (note I'm working on a custom backend so I use its virtualenv
instead of keystone's, even when I'm running 'plain' keystone):
Fabric==1.3.4
Jinja2==2.6
MySQL-python==1.2.3
Paste==1.7.5.1
PasteDeploy==1.5.0
Pygments==1.4
Routes==1.12.3
SQLAlchemy==0.7.4
Sphinx==1.1.2
Tempita==0.5.1
WebOb==1.0.8
WebTest==1.3.3
bvox-suds==0.4
colorama==0.2.4
coverage==3.5.1
decorator==3.3.2
distribute==0.6.19
docutils==0.8.1
eventlet==0.9.16
greenlet==0.3.2
httplib2==0.7.2
ipython==0.12
logilab-astng==0.23.1
logilab-common==0.57.1
lxml==2.3.2
mox==0.5.3
nose==1.0.0
nosexcover==1.0.7
-e
git+https://review.openstack.org/p/openstack-dev/openstack-nose.git@07bc64348a5514b9e37c2beacf65b10b8291f935#egg=openstack.nose_plugin-dev
pam==0.1.4
-e
git+intranet.bvox.net:/var/lib/gitrepos/parallels-backend--keystone.git@592a1325cd83c37536a54c4f9a4c67602d219aeb#egg=parallelsbackend-dev
-e
git+intranet.bvox.net:/var/lib/gitrepos/python-parallels.git@fe7d0858b908d84ae5ba69cb50ba3212bfe53af7#egg=parallelsclient-dev
passlib==1.5.3
pep8==0.6.1
prettytable==0.5
pycrypto==2.3
pylint==0.25.1
python-keystoneclient==2012.1
python-ldap==2.3.13
python-memcached==1.48
sqlalchemy-migrate==0.7.2
ssh==1.7.11
termcolor==1.1.0
unittest2==0.5.1
wsgiref==0.1.2
Traceback:
2012-03-07 15:15:09 DEBUG [eventlet.wsgi.server] 127.0.0.1 - -
[07/Mar/2012 15:15:09] "GET /v2.0 HTTP/1.1" 500 6030 0.008720
2012-03-07 15:15:20 DEBUG [root] ******************** REQUEST ENVIRON
********************
2012-03-07 15:15:20 DEBUG [root] SCRIPT_NAME = /v2.0
2012-03-07 15:15:20 DEBUG [root] webob.adhoc_attrs = {'response':
<Response at 0x1693390 200 OK>}
2012-03-07 15:15:20 DEBUG [root] REQUEST_METHOD = GET
2012-03-07 15:15:20 DEBUG [root] PATH_INFO =
2012-03-07 15:15:20 DEBUG [root] SERVER_PROTOCOL = HTTP/1.0
2012-03-07 15:15:20 DEBUG [root] HTTP_USER_AGENT = curl/7.21.6
(x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4
libidn/1.22 librtmp/2.3
2012-03-07 15:15:20 DEBUG [root] eventlet.posthooks = []
2012-03-07 15:15:20 DEBUG [root] SERVER_NAME = 127.0.0.1
2012-03-07 15:15:20 DEBUG [root] REMOTE_ADDR = 127.0.0.1
2012-03-07 15:15:20 DEBUG [root] eventlet.input =
<eventlet.wsgi.Input object at 0x12f3390>
2012-03-07 15:15:20 DEBUG [root] wsgi.url_scheme = http
2012-03-07 15:15:20 DEBUG [root] SERVER_PORT = 35357
2012-03-07 15:15:20 DEBUG [root] wsgi.input = <eventlet.wsgi.Input
object at 0x12f3390>
2012-03-07 15:15:20 DEBUG [root] HTTP_HOST = localhost:35357
2012-03-07 15:15:20 DEBUG [root] wsgi.multithread = True
2012-03-07 15:15:20 DEBUG [root] HTTP_ACCEPT = */*
2012-03-07 15:15:20 DEBUG [root] wsgi.version = (1, 0)
2012-03-07 15:15:20 DEBUG [root] openstack.context = {'token_id':
None, 'is_admin': False}
2012-03-07 15:15:20 DEBUG [root] GATEWAY_INTERFACE = CGI/1.1
2012-03-07 15:15:20 DEBUG [root] wsgi.run_once = False
2012-03-07 15:15:20 DEBUG [root] wsgi.errors = <open file '<stderr>',
mode 'w' at 0x7fc0d9990270>
2012-03-07 15:15:20 DEBUG [root] wsgi.multiprocess = False
2012-03-07 15:15:20 DEBUG [root] CONTENT_TYPE = text/plain
2012-03-07 15:15:20 DEBUG [root]
2012-03-07 15:15:20 DEBUG [root] ******************** REQUEST BODY
********************
2012-03-07 15:15:20 DEBUG [root]
2012-03-07 15:15:20 DEBUG [eventlet.wsgi.server] Traceback (most
recent call last):
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/eventlet/wsgi.py",
line 336, in handle_one_response
result = self.application(self.environ, start_response)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/paste/urlmap.py",
line 203, in __call__
return app(environ, start_response)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 208, in call_func
return self.func(req, *args, **kwargs)
File "/home/rafael/workspace/keystone/keystone/common/wsgi.py", line
282, in __call__
response = request.get_response(self.application)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1053, in get_response
application, catch_exc_info=False)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1022, in call_application
app_iter = application(self.environ, start_response)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 208, in call_func
return self.func(req, *args, **kwargs)
File "/home/rafael/workspace/keystone/keystone/common/wsgi.py", line
282, in __call__
response = request.get_response(self.application)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1053, in get_response
application, catch_exc_info=False)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1022, in call_application
app_iter = application(self.environ, start_response)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 208, in call_func
return self.func(req, *args, **kwargs)
File "/home/rafael/workspace/keystone/keystone/common/wsgi.py", line
282, in __call__
response = request.get_response(self.application)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1053, in get_response
application, catch_exc_info=False)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1022, in call_application
app_iter = application(self.environ, start_response)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 208, in call_func
return self.func(req, *args, **kwargs)
File "/home/rafael/workspace/keystone/keystone/common/wsgi.py", line
282, in __call__
response = request.get_response(self.application)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1053, in get_response
application, catch_exc_info=False)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1022, in call_application
app_iter = application(self.environ, start_response)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 208, in call_func
return self.func(req, *args, **kwargs)
File "/home/rafael/workspace/keystone/keystone/common/wsgi.py", line
305, in __call__
resp = req.get_response(self.application)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1053, in get_response
application, catch_exc_info=False)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/request.py",
line 1022, in call_application
app_iter = application(self.environ, start_response)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/webob/dec.py",
line 159, in __call__
return resp(environ, start_response)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/routes/middleware.py",
line 80, in __call__
config.environ = environ
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/routes/__init__.py",
line 22, in __setattr__
self.load_wsgi_environ(value)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/routes/__init__.py",
line 51, in load_wsgi_environ
result = mapper.routematch(path)
File
"/home/rafael/workspace/parallels-backend--keystone/.venv/local/lib/python2.7/site-packages/routes/mapper.py",
line 686, in routematch
raise RoutesException('URL or environ must be provided')
RoutesException: URL or environ must be provided
References