[Openstack] Unable to download images using Glance+Keystone+Swift

Lillie Ross-CDSR11 Ross.Lillie at motorolasolutions.com
Thu Apr 26 23:53:43 UTC 2012


Jay,

These are the Ubuntu 12.04 packages from the beta with all known updates. I'm configuring another set of instances with the Ubuntu Precise final packages just to make sure I didn't miss a patch. However, this error seems fundamental to me. I don't see how a glance POST can work but the corresponding GET fails.  All calls that just hit the backend DB work fine. Also I can access the bucket and objects directly via swift w no problem. 

I'll post my results with the final Ubuntu release sometime tomorrow hopefully. 

(finger tapped on my iPhone)

On Apr 26, 2012, at 1:40 PM, "Jay Pipes" <jaypipes at gmail.com> wrote:

> On 04/26/2012 02:37 PM, Lillie Ross-CDSR11 wrote:
>> Hi Jay,
>> 
>> Cut and paste error.  It still doesn't work.  If I issue the simple command (without the pipe or content-type header) I get the following
>> 
>> root at essex1:/etc/keystone# curl -v -H 'X-Auth-Token: 45d01460a0e04bff967eb954e7f4fee8' http://essex3:9292/v1/images/423b0ecc-5ca1-44d8-8e85-5a245ce620e2
>> * About to connect() to essex3 port 9292 (#0)
>> *   Trying 172.16.1.5... connected
>>> GET /v1/images/423b0ecc-5ca1-44d8-8e85-5a245ce620e2 HTTP/1.1
>>> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
>>> Host: essex3:9292
>>> Accept: */*
>>> X-Auth-Token: 45d01460a0e04bff967eb954e7f4fee8
>>> 
>> <  HTTP/1.1 404 Not Found
>> <  Content-Length: 315
>> <  Content-Type: text/html; charset=UTF-8
>> <  Date: Thu, 26 Apr 2012 18:35:21 GMT
>> <
>> <html>
>>  <head>
>>   <title>404 Not Found</title>
>>  </head>
>>  <body>
>>   <h1>404 Not Found</h1>
>>   An object with the specified identifier was not found.
>> Details: Swift could not find image at uri swift+http://service:glance:glance@essex1:5000/v2.0/glance/423b0ecc-5ca1-44d8-8e85-5a245ce620e2<br /><br />
>> 
>> 
>> 
>>  </body>
>> * Connection #0 to host essex3 left intact
>> * Closing connection #0
>> </html>
>> root at essex1:/etc/keystone#
>> 
>> Now, I can access the image directly via the Swift CLI using my glance tenant, username, and password.  However, the Glance REST call fails.  All other REST calls work fine.  I'm stumped.
> 
> Ross, what version of Glance and Swift are you using?
> 
> Best,
> -jay
> 
> 
> 






More information about the Openstack mailing list