[Openstack] 401 Not Authorized from glance - How to fix ?

2012-06-01 Thread Mandar Vaze / मंदार वझे
Hi, I'm working on python program that needs to get images detail from glance. 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. I get 401 Not Authorized error. I think I need to get auth_token from keystone, and use it when

Re: [Openstack] 401 Not Authorized from glance - How to fix ?

2012-06-01 Thread Anne Gentle
Several thoughts to ponder. One is, the nova image-list command is using the Compute API, not the Image API. You can turn on --debug to see the curl statement issued from the nova client (very handy, that). Do: nova --debug image-list to see what I mean. Also note there's a new bugfix for

Re: [Openstack] 401 Not Authorized from glance - How to fix ?

2012-06-01 Thread Rafael Durán Castañeda
El 01/06/12 19:43, Anne Gentle escribió: Several thoughts to ponder. One is, the nova image-list command is using the Compute API, not the Image API. You can turn on --debug to see the curl statement issued from the nova client (very handy, that). Do: nova --debug image-list to see what I mean.

[Openstack] 401 not authorized with glance

2012-05-03 Thread Ask Stack
Hi I configured glance and swift + keystone backend. The username and password I picked are (glanceadmin, verybadpass) and (swiftadmin, verybadpass). I think I varified the user name password and rights with the following command. But glance add still gives me the 401 not authorized message.