keystone throws error when removing user from tenant.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Critical
|
Vish Ishaya | ||
Folsom |
Fix Released
|
Critical
|
Dolph Mathews | ||
keystone (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Related to debugging https:/
>>> c.users.
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: list_roles() takes at least 2 arguments (1 given)
>>> c.users.
[<Role {u'id': u'08ccc339c0074
>>> c.tenants.
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/usr/local/
base.
File "/usr/local/
return self._delete(route % params)
File "/usr/local/
resp, body = self.api.
File "/usr/local/
return self._cs_
File "/usr/local/
**kwargs)
File "/usr/local/
raise exceptions.
ClientException: An unexpected error prevented the server from fulfilling your request. 'NoneType' object has no attribute 'get' (HTTP 500)
>>> c.users.
[]
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 60 lines (+37/-2)1 file modifieddebian/changelog (+37/-2)
Changed in python-keystoneclient: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Joseph Heck (heckj) |
assignee: | Joseph Heck (heckj) → nobody |
Changed in keystone: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
summary: |
- keyclient unable to remove user from tenant - getting traceback + keystoneclient unable to remove user from tenant - getting traceback |
tags: | added: folsom-backport |
no longer affects: | python-keystoneclient |
Changed in keystone: | |
milestone: | none → grizzly-1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone (Ubuntu): | |
status: | New → Fix Released |
Changed in keystone (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in keystone: | |
milestone: | grizzly-1 → 2013.1 |
'NoneType' object has no attribute 'get' python2. 7/dist- packages/ keystone/ common/ wsgi.py" , line 204, in __call__ python2. 7/dist- packages/ keystone/ identity/ core.py" , line 621, in remove_ role_from_ user token_api. revoke_ tokens( context, user_id, tenant_id) python2. 7/dist- packages/ keystone/ token/core. py", line 48, in revoke_tokens tokens( context, user_id, tenant_id): python2. 7/dist- packages/ keystone/ common/ manager. py", line 47, in _wrapper python2. 7/dist- packages/ keystone/ token/backends/ sql.py" , line 113, in list_tokens dict['tenant' ].get(' id') != tenant_id:
Traceback (most recent call last):
File "/usr/lib/
result = method(context, **params)#012 File "/usr/lib/
self.
File "/usr/lib/
for token_id in self.list_
File "/usr/lib/
return f(*args, **kw)#012 File "/usr/lib/
if token_ref_
AttributeError: 'NoneType' object has no attribute 'get'
Tracback from keystone.