I think Jay  gave you the wrong command to try, he probably meant: (notice the v2 changed to v1.1)<div><br></div><div>curl -v -H "X-Auth-Token: 16afc976-4dfa-4175-a7ea-ec8446f636b3" <GLANCE_API_HOST>:<GLANCE_API_PORT>/v1.1/images<br>

<div><br>Thanks,<br>Kiall<br>
<br><br><div class="gmail_quote">On Wed, Feb 1, 2012 at 4:29 PM, Paras pradhan <span dir="ltr"><<a href="mailto:pradhanparas@gmail.com">pradhanparas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Got this<br>
<br>
--<br>
<br>
root@server3:/etc/nova# curl -v -H "X-Auth-Token:<br>
16afc976-4dfa-4175-a7ea-ec8446f636b3" <a href="http://192.168.122.14:9292/v2/images" target="_blank">192.168.122.14:9292/v2/images</a><br>
* About to connect() to 192.168.122.14 port 9292 (#0)<br>
*   Trying 192.168.122.14... connected<br>
* Connected to 192.168.122.14 (192.168.122.14) port 9292 (#0)<br>
> GET /v2/images HTTP/1.1<br>
> User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/<a href="http://1.2.3.4" target="_blank">1.2.3.4</a> libidn/1.22 librtmp/2.3<br>
> Host: <a href="http://192.168.122.14:9292" target="_blank">192.168.122.14:9292</a><br>
> Accept: */*<br>
> X-Auth-Token: 16afc976-4dfa-4175-a7ea-ec8446f636b3<br>
><br>
< HTTP/1.1 300 Multiple Choices<br>
< Content-Type: application/json<br>
< Content-Length: 216<br>
< Date: Wed, 01 Feb 2012 16:29:25 GMT<br>
<<br>
* Connection #0 to host 192.168.122.14 left intact<br>
* Closing connection #0<br>
{"versions": [{"status": "CURRENT", "id": "v1.1", "links": [{"href":<br>
"<a href="http://0.0.0.0:9292/v1/" target="_blank">http://0.0.0.0:9292/v1/</a>", "rel": "self"}]}, {"status": "SUPPORTED",<br>
"id": "v1.0", "links": [{"href": "<a href="http://0.0.0.0:9292/v1/" target="_blank">http://0.0.0.0:9292/v1/</a>", "rel":<br>
"self"}]}]}<br>
<span class="HOEnZb"><font color="#888888">--<br>
<br>
Paras.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Feb 1, 2012 at 10:22 AM, Jay Pipes <<a href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>> wrote:<br>
> If you do:<br>
><br>
> curl -v -H "X-Auth-Token: 16afc976-4dfa-4175-a7ea-ec8446f636b3"<br>
> <GLANCE_API_HOST>:<GLANCE_API_PORT>/v2/images<br>
><br>
> What is returned?<br>
><br>
> -jay<br>
><br>
><br>
> On 02/01/2012 11:19 AM, Paras pradhan wrote:<br>
>><br>
>> Didn't work<br>
>><br>
>> here is the o/p<br>
>><br>
>> root@server3:~# glance -A 16afc976-4dfa-4175-a7ea-ec8446f636b3 details<br>
>> Failed to show details. Got error:<br>
>> Internal Server error: Traceback (most recent call last):<br>
>>   File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 336,<br>
>> in handle_one_response<br>
>>     result = self.application(self.environ, start_response)<br>
>>   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in<br>
>> __call__<br>
>>     resp = self.call_func(req, *args, **self.kwargs)<br>
>>   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in<br>
>> call_func<br>
>>     return self.func(req, *args, **kwargs)<br>
>>   File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line<br>
>> 113, in __call__<br>
>>     response = req.get_response(self.application)<br>
>>   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1053,<br>
>> in get_response<br>
>>     application, catch_exc_info=False)<br>
>>   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1022,<br>
>> in call_application<br>
>>     app_iter = application(self.environ, start_response)<br>
>>   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in<br>
>> __call__<br>
>>     resp = self.call_func(req, *args, **self.kwargs)<br>
>>   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in<br>
>> call_func<br>
>>     return self.func(req, *args, **kwargs)<br>
>>   File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line<br>
>> 110, in __call__<br>
>>     response = self.process_request(req)<br>
>>   File "/usr/lib/python2.7/dist-packages/glance/common/context.py",<br>
>> line 104, in process_request<br>
>>     raise exception.NotAuthorized()<br>
>> NotAuthorized: None<br>
>><br>
>> root@server3:~#<br>
>><br>
>> Thanks<br>
>> Paras.<br>
>><br>
>><br>
>> On Tue, Jan 31, 2012 at 6:23 PM, Jay Pipes<<a href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>>  wrote:<br>
>>><br>
>>> On 01/31/2012 06:00 PM, Paras pradhan wrote:<br>
>>>><br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> How do I check if glance is working with keystone?<br>
>>>><br>
>>>> This is what I've done so far and getting errors<br>
>>>><br>
>>>> ----<br>
>>>> # glance -A details 16afc976-4dfa-4175-a7ea-ec8446f636b3<br>
>>><br>
>>><br>
>>><br>
>>> Needs to be:<br>
>>><br>
>>> glance -A  16afc976-4dfa-4175-a7ea-ec8446f636b3 details<br>
>>><br>
>>> Cheers!<br>
>>> -jay<br>
>>><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>
<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></div>