[Openstack] Keystone issue?

Luis Gervaso luis at woorea.es
Fri May 18 02:33:43 UTC 2012


Hi,

Working on stable/essex:

When I delete a user-tenant-role keystone continues returning null for the
deleted roles

In the example I have deleted KeystoneAdmin and KeystoneServiceAdmin roles
from a
devstack installation and then added them again as part of my tests

This is the result,

{"roles": [{"id": "5172006c48c942c499beb79740a8021a", "name": "admin"}, *null,
null*, {"id": "5adca868452746388f5d526db1bfcf9c", "name": "KeystoneAdmin"},
{"id": "fea9871c0e2d492da75c2d4a73c7269b", "name": "KeystoneServiceAdmin"}]}


which causes every nova api call become unusable :

error on auth_token.py [line 398]

TypeError: 'NoneType' object has no attribute '__getitem__'

I think this issue is related to metadata table where roles are not updated
when a role is deleted


-- 
-------------------------------------------
Luis Alberto Gervaso Martin
Woorea Solutions, S.L
CEO & CTO
mobile: (+34) 627983344
luis@ <luis.gervaso at gmail.com>woorea.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120518/68ee95cf/attachment.html>


More information about the Openstack mailing list