keystoneclient call to get users for tenant yields 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Dean Troyer |
Bug Description
Steps to reproduce:
> keystone --debug --username admin --password secrete --tenant_name admin --auth-url http://
Expected:
List of users in the admin tenant
Actual:
keystone --debug --username admin --password secrete --tenant_name admin --auth-url http://
connect: (127.0.0.1, 5000)
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; charset=UTF-8
header: Content-Length: 1980
header: Date: Tue, 14 Feb 2012 18:28:25 GMT
connect: (192.168.2.10, 35357)
send: u'GET /v2.0/tenants/
reply: 'HTTP/1.1 500 Internal Server Error\r\n'
header: Content-Type: text/plain
header: Content-Length: 4095
header: Date: Tue, 14 Feb 2012 18:28:25 GMT
header: Connection: close
No handlers could be found for logger "keystoneclient
Traceback (most recent call last):
File "/usr/local/
load_
File "/opt/stack/
OpenStackId
File "/opt/stack/
args.
File "/opt/stack/
users = kc.users.
File "/opt/stack/
"users")
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 = req.get_
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 = req.get_
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 = req.get_
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/
method = getattr(self, action)
AttributeError: 'UserController' object has no attribute 'get_tenant_users'
. (HTTP 500)
Changed in keystone: | |
importance: | Undecided → High |
Changed in keystone: | |
status: | New → Confirmed |
Changed in keystone: | |
assignee: | nobody → Dean Troyer (dtroyer) |
status: | Confirmed → In Progress |
Changed in keystone: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-4 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/4343
Review: https:/