Specifying incorrect tenant yields 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Dolph Mathews |
Bug Description
Steps to reproduce:
Using devstack:
> . openrc admin badtenant
> keystone --debug --auth_url=http://
Expected:
Some sort of auth error
Actual:
$ keystone --debug --auth_url=http://
connect: (127.0.0.1, 35357)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json
header: Vary: X-Auth-Token
header: Content-Length: 244
header: Date: Tue, 13 Mar 2012 22:51:32 GMT
No handlers could be found for logger "keystoneclient
send: 'GET /v2.0/OS-
reply: 'HTTP/1.1 500 Internal Server Error\r\n'
header: Content-Type: text/plain
header: Content-Length: 4999
header: Date: Tue, 13 Mar 2012 22:51:32 GMT
header: Connection: close
Traceback (most recent call last):
File "/usr/local/
load_
File "/opt/stack/
OpenStackId
File "/opt/stack/
args.
File "/opt/stack/
roles = kc.roles.list()
File "/opt/stack/
return self._list(
File "/opt/stack/
resp, body = self.api.get(url)
File "/opt/stack/
return self._cs_
File "/opt/stack/
**kwargs)
File "/opt/stack/
raise exceptions.
keystoneclient.
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
return app(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = request.
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = request.
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = request.
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = request.
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
resp = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
result = method(context, **params)
File "/opt/stack/
self.
File "/opt/stack/
creds[
AttributeError: 'NoneType' object has no attribute 'get'
. (HTTP 500)
Changed in keystone: | |
assignee: | nobody → Dolph Mathews (dolph) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in keystone: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-rc1 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/5313
Review: https:/