Re: [Openstack] Unable to publish an image on debian 6

2011-08-16 Thread Thomas Goirand
On 08/16/2011 05:41 AM, Joshua Harlow wrote: Hi all, I am using debian 6 (wheezy) + nova-diablo-3 + glance (from git) and have installed the needed python pkgs and have the correct servers and such running. I am seeing the following error when running the following:

Re: [Openstack] Unable to publish an image on debian 6

2011-08-16 Thread Johannes Erdfelt
On Mon, Aug 15, 2011, Vishvananda Ishaya vishvana...@gmail.com wrote: I pushed a new version of that branch with the suggested change. The recent change to our db library to make it use eventlet is stealing the stack trace, so we can't reraise the same exception. The branch now logs the

[Openstack] Unable to publish an image on debian 6

2011-08-15 Thread Joshua Harlow
Hi all, I am using debian 6 (wheezy) + nova-diablo-3 + glance (from git) and have installed the needed python pkgs and have the correct servers and such running. I am seeing the following error when running the following: #uec-publish-tarball ttylinux-uec-i386-11.2_2.6.35-16_1.tar.gz ttbb

Re: [Openstack] Unable to publish an image on debian 6

2011-08-15 Thread Vishvananda Ishaya
The underlying exception is getting eaten, so it is hard to say what the underlying exception was. I just pushed a branch here which should allow you to see the underlying exception that caused the failed upload: https://code.launchpad.net/~vishvananda/nova/lp827024 If you run that branch you

Re: [Openstack] Unable to publish an image on debian 6

2011-08-15 Thread Vishvananda Ishaya
You didn't get a traceback from the underlying exception? That sucks. Try changing the LOG.error(...) from just before line 271 in image/s3.py to log.excepton(...). That should give you a traceback. Vish On Aug 15, 2011, at 4:45 PM, Joshua Harlow wrote: Ok, Took that modified s3.py

Re: [Openstack] Unable to publish an image on debian 6

2011-08-15 Thread Vishvananda Ishaya
I pushed a new version of that branch with the suggested change. The recent change to our db library to make it use eventlet is stealing the stack trace, so we can't reraise the same exception. The branch now logs the exception and returns instead of trying to reraise it. Vish On Aug 15,

Re: [Openstack] Unable to publish an image on debian 6

2011-08-15 Thread Joshua Harlow
Ok so what I'm seeing so far after this is: 2011-08-15 17:27:06,571 ERROR nova.image.s3 [-] Failed to upload bbb43/ttylinux-uec-i386-11.2_2.6.35-16_1.img.manifest.xml to /tmp/tmp8Y5q5T (nova.image.s3): TRACE: Traceback (most recent call last): (nova.image.s3): TRACE: File

Re: [Openstack] Unable to publish an image on debian 6

2011-08-15 Thread Vishvananda Ishaya
Not sure. Is it possible that the user you are running nova as doesn't have access to tmp? Or that you don't have enough space to untar the image properly? You would think that the untar command would fail in this case, but I can't see how else it would fail to find the file. Maybe make sure