[ubuntu-cloud] failed to publish image

Indra Suryatama indra_suryatama at hotmail.com
Wed Jan 5 05:50:58 UTC 2011


Yes, ont the euca-centos-5.3-x86_64.tar.gz there is 3 item
* centos.-5.3.x86-64.img
* initrd.img-2.6.28-11-generic
*vmlinuz-2.6.28-11-generic

But when I tried to do

$uec-publish-tarball euca-centos-5.3-x86_64.tar.gz centosbucket amd64

It tells no image found..... 
But if I upload the item one by one... It can be registered on UEC and the
image successfully run into the instances
Am I do something wrong when using uec-publish-tarball



    Best Regards

Indra Suryatama
Phone: 	
+6285742865348
+6281325610080


-----Original Message-----
From: Scott Moser [mailto:ssmoser2 at gmail.com] On Behalf Of Scott Moser
Sent: Tuesday, January 04, 2011 1:45 AM
To: Indra Suryatama
Cc: ubuntu-cloud at lists.ubuntu.com
Subject: RE: [ubuntu-cloud] failed to publish image

On Sat, 1 Jan 2011, Indra Suryatama wrote:

> Yes it is, a centos tarball..
> I tried many command to publish using uec-publish-tarball One of them 
> Is uec-publish-tarball euca-centos-5.3-x86_64.tar.gz centose
> amd64

In order for uec-publish-tarball to work, the tarball must be of a certain
format.  Namely, it must
a.) have an image ending in ".img"
b.) have a kernel named with "vmlinuz" in its name, or passed in
    '--kernel'
c.) optionally have a ramdisk with "initrd" in its name

I have no idea what is in the tarball you're mentioning above, but it might
work as:

uec-publish-tarball --kernel none --ramdisk none
   euca-centos-5.3-x86_64.tar.gz

or, you might be able to use:

tar -Sxvzf euca-centos-5.3-x86_64.tar.gz uec-publish-image
euca-centos-5.3-x86_64.img

or something similar.




More information about the Ubuntu-cloud mailing list