The glance auth middleware also references X_USER & X_ROLE which were deprecated similarly to X_TENANT in favor of X_USER_ID, X_USER_NAME, and X_ROLES.<div><br><div class="gmail_quote">On Fri, Mar 9, 2012 at 9:53 AM, Kevin L. Mitchell <span dir="ltr"><<a href="mailto:kevin.mitchell@rackspace.com">kevin.mitchell@rackspace.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, 2012-03-09 at 00:40 -0500, Jay Pipes wrote:<br>
> So... the solution, I think, is to patch the glance_auth_token<br>
> middleware in Keystone to use the value of the X_TENANT_ID header, not<br>
> X_TENANT, and write some sort of data migration script to address the<br>
> problem of stored owner_id values being name and not ID of tenant.<br>
<br>
</div>Yeah, it's the problem of migration that caused me to use the tenant<br>
name as opposed to the tenant ID, with the knowledge that we needed to<br>
address this in the future. (The change that caused use of the tenant<br>
name was due to a bug reported on glance having to do with the lack of<br>
migration.)<br>
<span class="HOEnZb"><font color="#888888">--<br>
Kevin L. Mitchell <<a href="mailto:kevin.mitchell@rackspace.com">kevin.mitchell@rackspace.com</a>><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<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>
</div></div></blockquote></div><br></div>