Ask Your Question
0

Bundling Images

asked 2010-12-08 09:17:54 -0500

naangilsunder gravatar image

Hi, I Have configured Nova Environment in 2 Servers 1, nova-api + nova-network + nova-objectstore + nova-scheduler 2, nova-compute,nova-volume on Ubuntu 10.10, Hypervisor KVM

I bundled Ubuntu Images as per the below link

http://cssoss.wordpress.com/2010/05/10/eucalyptus-beginner%E2%80%99s-guide-%E2%80%93-uec-edition-chapter-4-%E2%80%93-image%C2%A0management/ (http://cssoss.wordpress.com/2010/05/1...)

My Bundling,image registration process went successfully. but i am not able to run the instance.

is this the right practice to bundle image? is there any other method for bundling the images.

edit retag flag offensive close merge delete

15 answers

Sort by » oldest newest most voted
0

answered 2010-12-08 13:30:30 -0500

naangilsunder gravatar image

ok ,

root@cnnc:~# sudo file /var/lib/nova/instances/instance-2046047353/*

/var/lib/nova/instances/instance-2046047353/console.log: empty /var/lib/nova/instances/instance-2046047353/disk-raw: Qemu Image, Format: Qcow , Version: 2 /var/lib/nova/instances/instance-2046047353/kernel: Linux kernel x86 boot executable bzImage, version 2.6.32-21-generic (buildd@rothe, RO-rootFS, root_dev 0x801, swap_dev 0x3, Normal VGA /var/lib/nova/instances/instance-2046047353/libvirt.xml: ASCII HTML document text /var/lib/nova/instances/instance-2046047353/ramdisk: gzip compressed data, from Unix, last modified: Wed Dec 8 08:59:11 2010

edit flag offensive delete link more
0

answered 2010-12-08 13:56:44 -0500

soren gravatar image

There's your problem.

The image you've uploaded is in qcow2 format. It needs to be in raw format.


Soren Hansen Ubuntu Developer    http://www.ubuntu.com/ OpenStack Developer http://www.openstack.org/

edit flag offensive delete link more
0

answered 2010-12-11 01:23:29 -0500

naangilsunder gravatar image

HI ,
I need to Bundle a ubuntu image from scratch,previously i was following the below link http://cssoss.wordpress.com/2010/05/10/eucalyptus-beginner%E2%80%99s-guide-%E2%80%93-uec-edition-chapter-4-%E2%80%93-image%C2%A0management/ (http://cssoss.wordpress.com/2010/05/1...) as u mentioned "The image needs to be just the main partition from your image (without a boot sector)" , can u please provide me the step for bundling image .

edit flag offensive delete link more
0

answered 2010-12-16 21:48:57 -0500

jk0 gravatar image

Hi,

Once you've prepared your images, they can be bundled following the steps here: http://wiki.openstack.org/XenServerDevelopment#Instance_Management (http://wiki.openstack.org/XenServerDe...)

You will want to note the euca-bundle* commands.

edit flag offensive delete link more
0

answered 2011-01-26 13:59:35 -0500

naangilsunder gravatar image

Thanks Josh Kearney, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2010-12-08 09:17:54 -0500

Seen: 68 times

Last updated: Jan 26 '11