← Back to team overview

openstack team mailing list archive

Keystone issue?

 

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@xxxxxxxxx>woorea.es

Follow ups