Has this issue been reported as a bug yet?<div><br></div><div>Everett<br><br><div class="gmail_quote">On Thu, May 17, 2012 at 10:21 PM, Luis Gervaso <span dir="ltr"><<a href="mailto:luis@woorea.es" target="_blank">luis@woorea.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To reproduce:<br><br>First delete a role that is assigned to a tenant-user pair<br><br><br><br>If you delete tenant-user-role first, and then delete the role all works fine<br>
<br>Regards<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Fri, May 18, 2012 at 4:33 AM, Luis Gervaso <span dir="ltr"><<a href="mailto:luis@woorea.es" target="_blank">luis@woorea.es</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>Working on stable/essex:<br><br>When I delete a user-tenant-role keystone continues returning null for the deleted roles<br>

<br>In the example I have deleted KeystoneAdmin and KeystoneServiceAdmin roles from a <br>
devstack installation and then added them again as part of my tests<br><br>This is the result, <br><br>{"roles": [{"id": "5172006c48c942c499beb79740a8021a", "name": "admin"}, <b>null, null</b>,
 {"id": "5adca868452746388f5d526db1bfcf9c", "name": "KeystoneAdmin"}, 
{"id": "fea9871c0e2d492da75c2d4a73c7269b", "name": 
"KeystoneServiceAdmin"}]}<br><br><br>which causes every nova api call become unusable :<br><br>error on auth_token.py [line 398]<br><br>TypeError: 'NoneType' object has no attribute '__getitem__'<br>


<br>I think this issue is related to metadata table where roles are not updated <br>when a role is deleted<span><font color="#888888"><br><br clear="all"><br>-- <br>-------------------------------------------<br>
Luis Alberto Gervaso Martin<div>Woorea Solutions, S.L<br>
CEO & CTO<br>mobile: <a href="tel:%28%2B34%29%20627983344" value="+34627983344" target="_blank">(+34) 627983344</a><br><a href="mailto:luis.gervaso@gmail.com" target="_blank">luis@</a><a href="http://woorea.es/" target="_blank">woorea.es</a></div>

<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>-------------------------------------------<br>Luis Alberto Gervaso Martin<div>Woorea Solutions, S.L<br>CEO & CTO<br>mobile: <a href="tel:%28%2B34%29%20627983344" value="+34627983344" target="_blank">(+34) 627983344</a><br>
<a href="mailto:luis.gervaso@gmail.com" target="_blank">luis@</a><a href="http://woorea.es/" target="_blank">woorea.es</a></div>
<br>
</div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>