[one-users] Disk order meaningful ?

Ruben S. Montero rsmontero at opennebula.org
Tue Feb 21 13:26:15 PST 2012


Hi

Regarding OpenNebula, it generates the same deployment file in both
cases preserving the order. I'd take the deployment file in both cases
and check if they boot directly in the hypervisor (e.g. virsh
create...). It may be a bug in the libvirt version...

Cheers

Ruben

On Fri, Feb 10, 2012 at 7:53 PM, Gian Uberto Lauri <saint at eng.it> wrote:
> Hello gentlemen!
>
> It seems that in OpenNebula 2.2 these two snippets ov a VM template are not
> equivalent
>
> -[1]--------------------------------------------------------
> DISK = [
> TYPE=fs,
> SIZE = 128,
> FORMAT = "ext3",
> TARGET = "hdc"]
> DISK = [
> SOURCE = "file:///home/oneadmin/one-images/swap.qcow",
> TYPE=swap,
> SIZE = 200,
> TARGET = "hdd"]
> DISK = [
> IMAGE = "venuscdebianbase",
> TARGET = "hda"]
> ------------------------------------------------------------
>
> -[2]--------------------------------------------------------
> DISK = [
> IMAGE = "venuscdebianbase",
> TARGET = "hda"]
> DISK = [
> TYPE=fs,
> SIZE = 128,
> FORMAT = "ext3",
> TARGET = "hdc"]
> DISK = [
> SOURCE = "file:///home/oneadmin/one-images/swap.qcow",
> TYPE=swap,
> SIZE = 200,
> TARGET = "hdd"]
> ------------------------------------------------------------
>
> Both declare a swap area, a file system image and a registered os image.
>
> But the  with the declarations  as in [1]  the machine does  not boots
> since it seems it tries to boot from the wrong disk.
>
> Does OpenNebula 3.x have the same behaviour?
>
> --
> ing. Gian Uberto Lauri
> Ricercatore / Reasearcher
> Laboratorio Ricerca e Sviluppo / Research & Development Lab.
> Area Calcolo Distribuito / Distributed Computation Area
>
> GianUberto.Lauri at eng.it
>
> Engineering Ingegneria Informatica spa
> Corso Stati Uniti 23/C, 35127 Padova (PD)
>
> Tel. +39-049.8283.571         | main(){printf(&unix["\021%six\012\0"],
> Fax  +39-049.8283.569             |    (unix)["have"]+"fun"-0x60);}
> Skype: gian.uberto.lauri          |          David Korn, AT&T Bell Labs
> http://www.eng.it                         |          ioccc best One Liner, 1987
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula



More information about the Users mailing list