Hi,<div><br></div><div>I'm working on python program that needs to get images detail from glance.</div><div>I was using "get_admin_context" earlier to do all the work in nova side, but this doesn't seem to work when I query glance.</div>

<div>I get "401 Not Authorized" error.</div><div><br></div><div>I think I need to get auth_token from keystone, and use it when creating RequestContext object - then glance query might work. (Is this assumption correct, in the first place)  But I do not know how to do this programatically, I looked at "nova image-list" command, but I didn't get clear picture on how this should be done.</div>

<div><br></div><div>Can you point to any existing code that authenticates with keystone and then uses the auth-token to talk to glance ?</div><div><br></div><div>Thanks,</div><div>-Mandar</div>