[ubuntu-cloud] failed to publish image
Scott Moser
smoser at ubuntu.com
Wed Jan 5 17:31:26 UTC 2011
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-x86_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/annotate/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/revision/76
More information about the Ubuntu-cloud
mailing list