To reproduce: First delete a role that is assigned to a tenant-user pair
If you delete tenant-user-role first, and then delete the role all works fine Regards On Fri, May 18, 2012 at 4:33 AM, Luis Gervaso <l...@woorea.es> wrote: > 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.gerv...@gmail.com>woorea.es > > -- ------------------------------------------- Luis Alberto Gervaso Martin Woorea Solutions, S.L CEO & CTO mobile: (+34) 627983344 luis@ <luis.gerv...@gmail.com>woorea.es
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp