Corporate Home Open Source Home
Syndicate content
Eucalyptus
6 replies [Last post]
khurramaltaf
Offline
Joined: 07/23/2010

I am having problem with registring image.
When i run the following command for the registration of image:
euca-register kernel-bucket/vmlinuz-2.6.27.21-0.1-xen.manifest.xml

i am having this error:
Warning: failed to parse error message from AWS: :1:0: syntax error
EC2ResponseError: 400 Bad Request
Failure: 400 Bad Request
Failed to bind the following fields:
Location = kernel-bucket/vmlinuz-2.6.27.21-0.1-xen.manifest.xml

khurramaltaf
Offline
Joined: 07/23/2010
Error in registring of image

khurramaltaf says... I am having problem with registring image.
When i run the following command for the registration of image:
euca-register kernel-bucket/vmlinuz-2.6.27.21-0.1-xen.manifest.xml

i am having this error:
Warning: failed to parse error message from AWS: :1:0: syntax error
EC2ResponseError: 400 Bad Request
Failure: 400 Bad Request
Failed to bind the following fields:
Location = kernel-bucket/vmlinuz-2.6.27.21-0.1-xen.manifest.xml

Note: I am using eucalyptus2.0 and euca2ools1.3 which are the latest one.

subhash
Offline
Joined: 08/31/2010
I had same problem

I had same problem. I fixed it by using euca2ools 1.2. euca-register work fine now.

haselhorstk
Offline
Joined: 08/05/2010
does not work for me

Hi,

I'm using eucalyptus 2.0 as well and downgraded to euca2ools 1.2. Now I get a new error message:
>>>euca-register kernel/vmlinuz-2.6.24-19-xen.manifest.xml
register_image() takes at least 2 non-keyword arguments (1 given)

any ideas? Seems to be a boto related issue. Tried both the boto package of my linux distribution and the version in the src-deps from the eucalytptus site - no difference.

Kathi

graziano
Offline
Joined: 01/14/2010
Hello, it almost seems you

Hello,

it almost seems you are mixing boto versions and euca2ools versions. Can you try to remove all euca2ools and boto version you have installed and start from scratch using the euca2ools 1.3.1? 1.3.1 fixes the registration problem.

cheers
graziano

gsethu04
Offline
Joined: 09/08/2010
Hi, I am also noticing the

Hi,

I am also noticing the same error while tyring to register the image. I am using euca2ools 1.3.1 version and using Centos 5.5 (x64) box.

As mentioned in the post (http://community.eucalyptus.com/forum/problems-euca2ools-13), I changed the python version in the euca-* files but still the euca-register command is failing.

Are any work around/fix available for this "euca-register" issue or do we need to go back to euca2ools 1.2 version ? Thanks

-----------------------
root@euca2ools ~]# euca-bundle-image -i euca-centos-5.3-x86_64/xen-kernel/vmlinuz-2.6.27.21-0.1-xen --kernel true
Checking image
Tarring image
Encrypting image
Splitting image...
Part: vmlinuz-2.6.27.21-0.1-xen.part.0
Generating manifest /tmp/vmlinuz-2.6.27.21-0.1-xen.manifest.xml

[root@euca2ools ~]# ls -l /tmp/vmlinuz-2.6.27.21-0.1-xen.
vmlinuz-2.6.27.21-0.1-xen.manifest.xml vmlinuz-2.6.27.21-0.1-xen.part.0

[root@euca2ools ~]# euca-upload-bundle -b centos5.3-test-bucket1 -m /tmp/vmlinuz-2.6.27.21-0.1-xen.manifest.xml
Checking bucket: centos5.3-test-bucket1
Creating bucket: centos5.3-test-bucket1
Uploading manifest file
Uploading part: vmlinuz-2.6.27.21-0.1-xen.part.0
Uploaded image as centos5.3-test-bucket1/vmlinuz-2.6.27.21-0.1-xen.manifest.xml

[root@euca2ools ~]# euca-register centos5.3-test-bucket1/vmlinuz-2.6.27.21-0.1-xen.manifest.xml
Warning: failed to parse error message from AWS: :1:0: syntax error
EC2ResponseError: 400 Bad Request
Failure: 400 Bad Request
Failed to bind the following fields:
Location = centos5.3-test-bucket1/vmlinuz-2.6.27.21-0.1-xen.manifest.xml

[root@euca2ools ~]# rpm -qa | grep euca
euca2ools-1.3-1
[root@euca2ools ~]#

-----------------------

neil
Offline
Joined: 04/28/2009
Please upgrade to euca2ools

Please upgrade to euca2ools 1.3.1 as I mentioned in a previous post. The actual rpm starts with euca2ools-1.3.1-1. euca2ools-1.3-1 is the euca2ools 1.3 rpm.