[Openstack] Unable to publish an image on debian 6

Joshua Harlow harlowja at yahoo-inc.com
Mon Aug 15 21:41:20 UTC 2011


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 i386

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
    return fmt.format(record)  File "/home/ctoteam/nova/nova/log.py", line 214, in format
    return logging.Formatter.format(self, record)
  File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
    msg = msg % self.args
KeyError: u'image_location'
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/eventlet/hubs/poll.py", line 97, in wait
    readers.get(fileno, noop).cb(fileno)
  File "/home/ctoteam/nova/nova/image/s3.py", line 267, in delayed_create
    raise
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
Removing descriptor: 6

This then causes the following ( failed_upload  ):

#euca-describe-images
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
IMAGE    ari-00000002    ttbb/ttylinux-uec-i386-11.2_2.6.35-16_1-initrd.manifest.xml        available    private        i386    ramdisk
IMAGE    aki-00000001    ttbb/ttylinux-uec-i386-11.2_2.6.35-16_1-vmlinuz.manifest.xml        available    private        i386    kernel

Has anyone else seen this?
Is this due to the eventlet version?

$ dpkg -l | grep eventlet
ii  python-eventlet                      0.9.16-1                         concurrent networking library for Python

Not sure why the poll method would be dying or why there would be a keyerror also?

$ python --version
Python 2.6.7

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110815/6f81b2d9/attachment.html>


More information about the Openstack mailing list