[Openstack] Keystone issue?

Luis Gervaso luis at woorea.es
Fri May 18 04:21:18 UTC 2012


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 <luis at 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.gervaso at gmail.com>woorea.es
>
>


-- 
-------------------------------------------
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/89c7dfb0/attachment.html>


More information about the Openstack mailing list