Re: [one-users] Booting VM with xen

2011-06-10 Thread Jaime Melis
Hi Anthony,

we've been trying to reproduce this but we haven't been able to. Looking at
the code it simply doesn't make any sense that using the ONE template you
provided, this line could be generated: disk = [
'file/opt/nebula/images//72/images/disk.0,xvda,w', ] (without a semicolon
after file)

Please try again from scratch and let us know if you're still experiencing
the same issue.

regards,
Jaime

On Mon, Jun 6, 2011 at 10:16 AM, anthony garnier wrote:

>  Hi,
>
> Here is the VM template :
>
> NAME   = debian
> CPU= 1
> MEMORY = 512
>
> OS = [
>kernel   = "/boot/vmlinuz-2.6.26-2-xen-686",
>initrd   = "/boot/initrd.img-2.6.26-2-xen-686",
>root = "xvda1",
>boot = "xvda"]
>
>
> DISK   = [
>source   = "/opt/nebula/repo/debian.img",
>target   = "xvda1",
>readonly = "no",
>driver   = "file:"   ]
>
> #DISK   = [
> #   type = "swap",
> #   size = 1024,
> #   readonly = "no"]
>
> #NIC= [ NETWORK = network ]
>
> FEATURES=[ acpi="no" ]
>
>
> --
> From: jme...@opennebula.org
> Date: Fri, 3 Jun 2011 15:03:01 +0200
> Subject: Re: [one-users] Booting VM with xen
> To: sokar6...@hotmail.com
> CC: users@lists.opennebula.org
>
>
> Hi,
>
> I noticed a typo in deployment.0
>
> disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]
>
> note the missing semicolon after "file". Can you send us OpenNebula's VM
> template?
>
> regards,
> Jaime
>
>
> On Wed, Jun 1, 2011 at 3:41 PM, anthony garnier wrote:
>
> disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]
>
>
> --
> Jaime Melis, Cloud Technology Engineer/Researcher
> Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | jme...@opennebula.org
>



-- 
Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Booting VM with xen

2011-06-06 Thread anthony garnier

Hi,

Here is the VM template : 

NAME   = debian
CPU= 1
MEMORY = 512

OS = [
   kernel   = "/boot/vmlinuz-2.6.26-2-xen-686",
   initrd   = "/boot/initrd.img-2.6.26-2-xen-686",
   root = "xvda1",
   boot = "xvda"]


DISK   = [
   source   = "/opt/nebula/repo/debian.img",
   target   = "xvda1",
   readonly = "no",
   driver   = "file:"   ]

#DISK   = [
#   type = "swap",
#   size = 1024,
#   readonly = "no"]

#NIC= [ NETWORK = network ]

FEATURES=[ acpi="no" ]


From: jme...@opennebula.org
Date: Fri, 3 Jun 2011 15:03:01 +0200
Subject: Re: [one-users] Booting VM with xen
To: sokar6...@hotmail.com
CC: users@lists.opennebula.org

Hi,
I noticed a typo in deployment.0
disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]
note the missing semicolon after "file". Can you send us OpenNebula's VM 
template?


regards,Jaime 

On Wed, Jun 1, 2011 at 3:41 PM, anthony garnier  wrote:


disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]

-- 


Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Booting VM with xen

2011-06-03 Thread Jaime Melis
Hi,

I noticed a typo in deployment.0

disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]

note the missing semicolon after "file". Can you send us OpenNebula's VM
template?

regards,
Jaime


On Wed, Jun 1, 2011 at 3:41 PM, anthony garnier wrote:

> disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]
>

-- 
Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Booting VM with xen

2011-06-01 Thread anthony garnier

Hi,

I'm face of a strange thing, I can't start debian vm with openebula but the 
same VM start perfectly well with "xm create"
(Dom0 : CentOS 5.5)
(DomU : debian lenny 32bit)

The VM with openenbula stay blocked at : 
[5.532802] XENBUS: Waiting for devices to initialise: 295s...290s...285s

This is the deployement file (deployment0) : 

name = 'one-72'
#O CPU_CREDITS = 256
memory  = '512'
kernel = '/boot/vmlinuz-2.6.26-2-xen-686'
ramdisk = '/boot/initrd.img-2.6.26-2-xen-686'
root = '/dev/xvda1'
disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ]



And this is the config file used with "xm create" : 

name = "debian2"
uuid = "9fd57717-0783-b688-a99e-4bb28d5b56fd"
maxmem = 1024
memory = 1024
vcpus = 1
# kernel to use

root="/dev/xvda1 ro"
kernel = "/boot/vmlinuz-2.6.26-2-xen-686"
# kernel ramdisk
ramdisk = "/boot/initrd.img-2.6.26-2-xen-686"

on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "file:/var/lib/xen/images/debian.img,xvda,w" ]


They are almost the same, so why the VM don't want to boot ?
Thx for your help.

Regards,
Anthony



  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org