[Openstack] Glance and Keystone
Jay Pipes
jaypipes at gmail.com
Wed Feb 1 16:22:04 UTC 2012
If you do:
curl -v -H "X-Auth-Token: 16afc976-4dfa-4175-a7ea-ec8446f636b3"
<GLANCE_API_HOST>:<GLANCE_API_PORT>/v2/images
What is returned?
-jay
On 02/01/2012 11:19 AM, Paras pradhan wrote:
> Didn't work
>
> here is the o/p
>
> root at server3:~# glance -A 16afc976-4dfa-4175-a7ea-ec8446f636b3 details
> Failed to show details. Got error:
> Internal Server error: Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 336,
> in handle_one_response
> result = self.application(self.environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
> resp = self.call_func(req, *args, **self.kwargs)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
> return self.func(req, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line
> 113, in __call__
> response = req.get_response(self.application)
> File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1053,
> in get_response
> application, catch_exc_info=False)
> File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1022,
> in call_application
> app_iter = application(self.environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
> resp = self.call_func(req, *args, **self.kwargs)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 208, in call_func
> return self.func(req, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line
> 110, in __call__
> response = self.process_request(req)
> File "/usr/lib/python2.7/dist-packages/glance/common/context.py",
> line 104, in process_request
> raise exception.NotAuthorized()
> NotAuthorized: None
>
> root at server3:~#
>
> Thanks
> Paras.
>
>
> On Tue, Jan 31, 2012 at 6:23 PM, Jay Pipes<jaypipes at gmail.com> wrote:
>> On 01/31/2012 06:00 PM, Paras pradhan wrote:
>>>
>>> Hi,
>>>
>>> How do I check if glance is working with keystone?
>>>
>>> This is what I've done so far and getting errors
>>>
>>> ----
>>> # glance -A details 16afc976-4dfa-4175-a7ea-ec8446f636b3
>>
>>
>> Needs to be:
>>
>> glance -A 16afc976-4dfa-4175-a7ea-ec8446f636b3 details
>>
>> Cheers!
>> -jay
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
More information about the Openstack
mailing list