DOH! (boy I say this a lot…)
As usual, a stupid configuration error. In my old Diablo setup, the administrative role was specified via the keyword "Admin". I imported the existing user accounts, tenants, and roles into my Essex test setup. However I neglected to set the Glance 'admin_role' configuration flag, so it defaulted to the keyword "admin". Once I fixed this, image downloads are working fine and instances boot with no problem.
Congrats to everyone that pulled Essex together. Overall stability and functionality is much improved. We'll be migrating our Diablo cloud to Essex over the next week.
Ross
On Apr 26, 2012, at 7:32 PM, Sam Morrison wrote:
Hi Ross,
I had the same issue. Could upload images to swift but not download
them getting a 404.
I needed to apply the patch outlined in this bug to fix it:
https://bugs.launchpad.net/glance/+bug/979745
Cheers,
Sam
On Fri, Apr 27, 2012 at 9:53 AM, Lillie Ross-CDSR11
<Ross.Lillie@xxxxxxxxxxxxxxxxxxxxx> wrote:
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@xxxxxxxxx> 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@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@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
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp