[Openstack] Copy glance image to cinder bootable volumes - "copy_image_to_volume"

2013-01-29 Thread Benoit ML
Hello, I have an openstack installation with 1 controller node, 1 network node and 2 compute node, configured with GRE tunnel for the network, and NFS backend for volumes. I'd like to create a bootable cinder volume from a glance image to have persistant disque for VMs, and tests live migration i

Re: [Openstack] Copy glance image to cinder bootable volumes - "copy_image_to_volume"

2013-01-29 Thread Avishay Traeger
Benoit, openstack-bounces+avishay=il.ibm@lists.launchpad.net wrote on 01/29/2013 10:56:33 AM: > Hello, > > I have an openstack installation with 1 controller node, 1 network > node and 2 compute node, configured with GRE tunnel for the network, > and NFS backend for volumes. > > I'd like to cr

Re: [Openstack] Copy glance image to cinder bootable volumes - "copy_image_to_volume"

2013-01-29 Thread Benoit ML
Hello, Thank you ! nice :) I'm really impatient to test cinder with NetApp device (soon it will be). In the documentation : http://docs.openstack.org/trunk/openstack-compute/admin/content/boot-from-volume.html The process is quite painful ... Regards, 2013/1/29 Avishay Traeger : > Benoit, > >

Re: [Openstack] Copy glance image to cinder bootable volumes - "copy_image_to_volume"

2013-01-30 Thread Lei Zhang
I also have a question. What's the requirement for the image? I found nothing int the doc. On Tue, Jan 29, 2013 at 5:38 PM, Benoit ML wrote: > Hello, > > Thank you ! nice :) > I'm really impatient to test cinder with NetApp device (soon it will be). > > In the documentation : > > http://docs.op

Re: [Openstack] Copy glance image to cinder bootable volumes - "copy_image_to_volume"

2013-01-30 Thread Avishay Traeger
Lei Zhang wrote on 01/30/2013 04:39:22 PM: > I also have a question. What's the requirement for the image? I > found nothing int the doc. Hi, The requirements that I can think of off the top of my head are: 1. The image should be bootable 2. The image is converted to raw before being written to t

Re: [Openstack] Copy glance image to cinder bootable volumes - "copy_image_to_volume"

2013-01-30 Thread Martinx - ジェームズ
What I just did to successfully "boot from a volume": 1- Create a KVM Virtual Machine on top of a LVM Logical Volume of 2.5G as its HD (disk type block - /dev/volgrp0/vmname-disk0); 2- Install your favorite OS; 3- shutdown it; 4- make a image of it: dd if=/dev/volgrp0/vmname-disk0 of=myfavorite

Re: [Openstack] Copy glance image to cinder bootable volumes - "copy_image_to_volume"

2013-01-30 Thread Martinx - ジェームズ
BTW! On the step 2, if you install a "Ubuntu Minimal Virtual Machine", select "Guided LVM Partitioning". This way, when you make a 5~10~50G boot-volume, you'll be able to easily grow your Ubuntu file systems (from 2.5G inicial) using its internal LVM (try parted instead of fdisk/cfdisk!)... You'll

Re: [Openstack] Copy glance image to cinder bootable volumes - "copy_image_to_volume"

2013-01-30 Thread John Griffith
On Wed, Jan 30, 2013 at 7:39 AM, Lei Zhang wrote: > I also have a question. What's the requirement for the image? I found > nothing int the doc. > > > On Tue, Jan 29, 2013 at 5:38 PM, Benoit ML wrote: > >> Hello, >> >> Thank you ! nice :) >> I'm really impatient to test cinder with NetApp device