Ask Your Question
0

keystone api:get someting wrong

asked 2012-09-14 02:49:04 -0500

teddy-liu gravatar image

I want to operate keystone api . And read the ducument. http://docs.openstack.org/api/openstack-identity-service/2.0/content/ (http://docs.openstack.org/api/opensta...)

But it's really not tell us how to operate against the Keystone using SSL over HTTP (HTTPS) on TCP port 443.

And When I use http://192.168.1.151:5000/v2.0/users it shows below: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 336, in handle_one_response result = self.application(self.environ, start_response) File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 203, in __call__ return app(environ, start_response) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__ resp = self.call_func(req, args, *self.kwargs) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 210, in call_func return self.func(req, args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 299, in __call__ response = request.get_response(self.application) File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1086, in get_response application, catch_exc_info=False) File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1055, in call_application app_iter = application(self.environ, start_response) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__ resp = self.call_func(req, args, *self.kwargs) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 210, in call_func return self.func(req, args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 299, in __call__ response = request.get_response(self.application) File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1086, in get_response application, catch_exc_info=False) File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1055, in call_application app_iter = application(self.environ, start_response) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__ resp = self.call_func(req, args, *self.kwargs) File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 210, in call_func return self.func(req, args, *kwargs) File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 300, in __call__ return self.process_response(request, response) File "/usr/lib/python2.7/dist-packages/keystone/middleware/core.py", line 149, in process_response raise exception.Error(message=response.body) Error: <html> <head> <title>404 Not Found</title> </head> <body>

404 Not Found

The resource could not be found.

</body> </html>

Thanks!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-09-26 01:14:37 -0500

teddy-liu gravatar image

Thanks Joseph Heck, that solved my question.

edit flag offensive delete link more
0

answered 2012-09-25 19:07:11 -0500

heckj gravatar image

hi mnimonster -

the guide doesn't share anything around enabling SSL - and the error you posted in the question appears to be very unrelated. Adam Young has some pieces in his blog about running Keystone ( http://adam.younglogic.com/2012/04/keystone-httpd/ (http://adam.younglogic.com/2012/04/ke...) ) - and we have some files in the keystone repository for helping run keystone under Apache, with Apache HTTPD doing the SSL work.

edit flag offensive delete link more

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

Stats

Asked: 2012-09-14 02:49:04 -0500

Seen: 59 times

Last updated: Sep 26 '12