<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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.<div><br></div><div>Vish</div><div><br><div><div>On Aug 15, 2011, at 4:45 PM, Joshua Harlow wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Ok,<br>
<br>
Took that modified s3.py file and used it. This is what I get:<br>
<br>
2011-08-15 16:43:30,086 ERROR nova.image.s3 [-] Failed to upload ttbb2/ttylinux-uec-i386-11.2_2.6.35-16_1.img.manifest.xml to /tmp/tmp7jXqlf<br>
Traceback (most recent call last):<br>
  File "/usr/lib/python2.6/dist-packages/eventlet/hubs/poll.py", line 97, in wait<br>
    readers.get(fileno, noop).cb(fileno)<br>
  File "/home/ctoteam/nova/nova/image/s3.py", line 271, in delayed_create<br>
    raise<br>
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType<br>
<br>
Still not very helpful :-/<br>
Any ideas?<br>
<br>
On 8/15/11 4:31 PM, "Vishvananda Ishaya" <<a href="x-msg://312/vishvananda@gmail.com">vishvananda@gmail.com</a>> wrote:<br>
<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">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:<br>
<br>
<a href="https://code.launchpad.net/~vishvananda/nova/lp827024">https://code.launchpad.net/~vishvananda/nova/lp827024</a><br>
<br>
 <<a href="https://code.launchpad.net/~vishvananda/nova/lp827024">https://code.launchpad.net/~vishvananda/nova/lp827024</a>> If you run that branch you should get a useful exception in your logs.<br>
<br>
Vish<br>
<br>
On Aug 15, 2011, at 2:41 PM, Joshua Harlow wrote:<br>
<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hi all,<br>
<br>
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.<br>
<br>
I am seeing the following error when running the following:<br>
<br>
#uec-publish-tarball  ttylinux-uec-i386-11.2_2.6.35-16_1.tar.gz  ttbb i386<br>
<br>
2011-08-15 14:36:10,385 DEBUG nova.utils [-] Running cmd (subprocess): openssl enc -d -aes-128-cbc -in /tmp/tmpIHkMkG/image.encrypted -K 57fbea5c3e106e0e6aec2d89ef5171ea -iv 77f27e730c319a341782b091b97216a5 -out /tmp/tmpIHkMkG/image.tar.gz from (pid=16720) execute /home/ctoteam/nova/nova/utils.py:143Traceback (most recent call last):  File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit    msg = self.format(record)  File "/usr/lib/python2.6/logging/__init__.py", line 654, in format<br>
    return fmt.format(record)  File "/home/ctoteam/nova/nova/log.py", line 214, in format<br>
    return logging.Formatter.format(self, record)<br>
  File "/usr/lib/python2.6/logging/__init__.py", line 436, in format<br>
    record.message = record.getMessage()<br>
  File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage<br>
    msg = msg % self.args<br>
KeyError: u'image_location'<br>
Traceback (most recent call last):<br>
  File "/usr/lib/python2.6/dist-packages/eventlet/hubs/poll.py", line 97, in wait<br>
    readers.get(fileno, noop).cb(fileno)<br>
  File "/home/ctoteam/nova/nova/image/s3.py", line 267, in delayed_create<br>
    raise<br>
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType<br>
Removing descriptor: 6<br>
<br>
This then causes the following ( failed_upload  ):<br>
<br>
#euca-describe-images<br>
IMAGE    ami-00000003    ttbb/ttylinux-uec-i386-11.2_2.6.35-16_1.img.manifest.xml        failed_upload    private        i386    machine    ari-00000002    aki-00000001<br>
IMAGE    ari-00000002    ttbb/ttylinux-uec-i386-11.2_2.6.35-16_1-initrd.manifest.xml        available    private        i386    ramdisk        <br>
IMAGE    aki-00000001    ttbb/ttylinux-uec-i386-11.2_2.6.35-16_1-vmlinuz.manifest.xml        available    private        i386    kernel    <br>
<br>
Has anyone else seen this?<br>
Is this due to the eventlet version?<br>
<br>
$ dpkg -l | grep eventlet<br>
ii  python-eventlet                      0.9.16-1                         concurrent networking library for Python<br>
<br>
Not sure why the poll method would be dying or why there would be a keyerror also?<br>
<br>
$ python --version<br>
Python 2.6.7<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
Post to     : <a href="x-msg://312/openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
<br>
</span></font></blockquote>
</div>


</blockquote></div><br></div></body></html>