[ubuntu-cloud] failed to publish image

Indra Suryatama indra_suryatama at hotmail.com
Thu Jan 6 04:30:23 UTC 2011


W ok, next time I'll give the complete information...
Tx b4 scott... your help really be appreciated



    Best Regards

Indra Suryatama
Phone: 	
+6285742865348
+6281325610080


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

On Wed, 5 Jan 2011, Indra Suryatama wrote:

> 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

In the file named euca-centos-5.3-x86_64.tar.gz that I downloaded from
http://eucalyptussoftware.com/downloads/eucalyptus-images/euca-centos-5.3-x8
6_64.tar.gz

The archive contains:
  $ tar -tzf ../euca-centos-5.3-x86_64.tar.gz
  euca-centos-5.3-x86_64/
  euca-centos-5.3-x86_64/centos.5-3.x86-64.img
  euca-centos-5.3-x86_64/xen-kernel/
  euca-centos-5.3-x86_64/xen-kernel/vmlinuz-2.6.27.21-0.1-xen
  euca-centos-5.3-x86_64/xen-kernel/initrd-2.6.27.21-0.1-xen
  euca-centos-5.3-x86_64/kvm-kernel/
  euca-centos-5.3-x86_64/kvm-kernel/vmlinuz-2.6.28-11-generic
  euca-centos-5.3-x86_64/kvm-kernel/initrd.img-2.6.28-11-generic

It would be more helpful to myself and others who are trying to help you if
you provide more complete information.

The problem with uec-publish-tarball is that it does not look in
sub-directories.

> 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

I pushed a change to upstream cloud-utils to address the sub-directories You
can see that at
http://bazaar.launchpad.net/%7Eubuntu-on-ec2/ubuntu-on-ec2/cloud-utils/annot
ate/head%3A/uec-publish-tarball

You can just download that and replace your other uec-publish-tarball.
However, as I mentioned in the commit this wont entirely solve your problem,
as the xen kernel will be selected as the kernel.  There is not currently a
way to specify a specific kernel.

http://bazaar.launchpad.net/%7Eubuntu-on-ec2/ubuntu-on-ec2/cloud-utils/revis
ion/76




More information about the Ubuntu-cloud mailing list