Failed to add image...

Asked by Hugo Kou

bzr930~

root@ubuntu1:~# uec-publish-tarball maverick-server-uec-amd64.tar.gz maverick
Fri Apr 1 16:42:25 CST 2011: ====== extracting image ======
Warning: no ramdisk found, assuming '--ramdisk none'
kernel : maverick-server-uec-amd64-vmlinuz-virtual
ramdisk: none
image : maverick-server-uec-amd64.img
Fri Apr 1 16:42:31 CST 2011: ====== bundle/upload kernel ======
Traceback (most recent call last):
  File "/usr/bin/euca-upload-bundle", line 39, in <module>
    from boto.s3 import Connection
ImportError: cannot import name Connection
failed to upload bundle to maverick/maverick-server-uec-amd64-vmlinuz-virtual.manifest.xml
failed: euca-upload-bundle --bucket maverick --manifest /tmp/uec-publish-image.sY9KEt/maverick-server-uec-amd64-vmlinuz-virtual.manifest.xmlfailed to upload kernel

so should I update python-boto to 2.0?

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Hugo Kou
Solved:
Last query:
Last reply:
Revision history for this message
Hugo Kou (tonytkdk) said :
#1

Change the S3 host from IP to hostname in novarc file will solve this problem

Revision history for this message
finalsatan (zyh-at-bupt) said :
#2

hello,Hugo Kou, what is the problem in my situation?
thanks!

nova@nova-desktop:~$ uec-publish-tarball ubuntu-10.04-server-uec-amd64.tar.gz mybucket
Mon May 23 10:10:40 CST 2011: ====== extracting image ======
Warning: no ramdisk found, assuming '--ramdisk none'
kernel : lucid-server-uec-amd64-vmlinuz-virtual
ramdisk: none
image : lucid-server-uec-amd64.img
Mon May 23 10:10:49 CST 2011: ====== bundle/upload kernel ======
failed to bundle kernel lucid-server-uec-amd64-vmlinuz-virtual
failed: euca-bundle-image --destination /tmp/uec-publish-image.qrnj73 --arch x86_64 --image /tmp/uec-publish-image.qrnj73/.rename.7Ma8w3/lucid-server-uec-amd64-vmlinuz-virtual --kernel true
x86_64
Invalid certfailed to upload kernel

Revision history for this message
Hugo Kou (tonytkdk) said :
#3

Invalid certfailed to upload kernel

What's the role of your account to up load image?

Revision history for this message
finalsatan (zyh-at-bupt) said :
#4

my account is nova,not the root account!
Should I change to the root account?
thanks a lot!

Revision history for this message
finalsatan (zyh-at-bupt) said :
#5

I tryed the root account,but it is the same!