Hi,

I have opened a bug for Glance Client tool some weeks ago (at September 8th) - 
and I still didn't receive any comment on it. Is it right? Am I wrong? 
Anything...
I will really appreciate if someone from the Glance client tool will have a 
look on the bug (see below).

Thanks,

Maty.

>From launchpad:

Hi,

When I am running Glance Client tool against glance service using the following 
command:

> glance --debug --os-image-api-version 2 image-list

I get the followng output:

curl -i -X GET -H 'X-Auth-Token: 
rO0ABXc4ACAyYzlkYTk4ZDQwZGVmNWU2MDE0MGZjZDI0OThiMzk3MQAGbWdyb3N6AAQzMDQ3AAABQP0JOAs'
 -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' -k 
https://cb.alucloud.local/al-openstack/v2/schemas/image
(9, 'Bad file descriptor')

--------------------------------------------------------------------------------------------------------------------------------------------

*BUT* when I am running just the exact curl command you see in the debug log

> curl -i -X GET -H 'X-Auth-Token: 
> rO0ABXc4ACAyYzlkYTk4ZDQwZGVmNWU2MDE0MGZjZDI0OThiMzk3MQAGbWdyb3N6AAQzMDQ3AAABQP0JOAs'
>  -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' -k 
> https://cb.alucloud.local/al-openstack/v2/schemas/image

I get what am I expecting to get - the JSON schema:

HTTP/1.1 200 OK
Date: Sun, 08 Sep 2013 09:51:04 GMT
Content-Type: application/json
Content-Length: 4958
Connection: close

{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"visibility":{"type":"string","enum":["public","private"]},"file":{"type":"string"},"status":{"type":"string"},"minDisk":{"type":"integer"},"minRam":{"type":"integer"},"progress":{"type":"integer"},"userId":{"type":"string"},"metadata":{"type":"object"},"self":{"type":"string"},"size":{"type":"number"},"schema":{"type":"string"},"checksum":{"type":"string"},"customerId":{"type":"string"},"updated_at":{"type":"string"},"created_at":{"type":"string"},"container_format":{"type":"string","enum":["ovf","bare","aki","ari","ami"]},"disk_format":{"type":"string","enum":["raw","vhd","vmdk","vdi","iso","qcow2","aki","ari","ami"]},"name":"image"}
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to