[one-users] Xen Paravirtualized error - cfg and template

Ruben S. Montero rsmontero at opennebula.org
Mon Sep 9 01:25:22 PDT 2013


Hi

Take a look at a file named "deployment.0", it is the .cfg file generated
by OpenNebula. Compare this file with your working cfg file, probably you
are not using the right bus/mapping. OpenNebula uses a disk approach to
automatically set targets (sda, sdb,...) while your template uses a
partition based layout (sda1, sda2...). So probably you'll need to set
TARGET attribute in the Image template or in the VM template in the DISK
attribute.

Cheers

Ruben


On Sun, Sep 8, 2013 at 9:33 PM, <kenny.kenny at bol.com.br> wrote:

> Hello,
> I have a xen 4.2 , running ok on a ubuntu 12.10 machine.
>
> When i create the virtual machine by xm create ubuntu.cfg , it is ok.
> But when i create the virtual machine, with the same image disk by
> opennebula (4.2) i get  this error in domU ( i see the error by xm console
> in xen host):
>
>  *1.274565] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised:
> dm-devel at redhat.com*
> *[    1.274590] EFI Variables Facility v0.08 2004-May-17*
> *[    1.274975] TCP cubic registered*
> *[    1.275354] NET: Registered protocol family 10*
> *[    1.276538] NET: Registered protocol family 17*
> *[    1.276557] Registering the dns_resolver key type*
> *[    1.276762] registered taskstats version 1*
> *[    6.388086] XENBUS: Waiting for devices to initialise:
> 25s...20s...15s...10s...5s...0s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...115s...110s...105s...100s...
> *
> *Gave up waiting for root device.  Common problems:*
> * - Boot args (cat /proc/cmdline)*
> *   - Check rootdelay= (did the system wait long enough?)
>    - Check root= (did the system wait for the right device?)
>  - Missing modules (cat /proc/modules; ls /dev)
> ALERT!  /dev/xvda2 does not exist.  Dropping to a shell!
>
> *
> my ubuntu.cfg :
> *#kernel = "/vmlinuz"*
> *#ramdisk = "/initrd.gz"*
> *bootloader ='/usr/lib/xen/bin/pygrub'*
> *name = "ubuntu3"*
> *memory = '512'*
> *dhcp        = 'dhcp'*
> *vif         = ['mac=00:00:00:8F:D9:46']*
>
> *disk        = [*
> *               'file:/vms/images/ubuntu3/disk.img,sda2,w',*
> *               'file:/vms/images/ubuntu3/swap.img,sda1,w',*
> *              ]*
> *on_poweroff = 'destroy'*
> *on_reboot   = 'restart'*
> *on_crash    = 'restart'*
>
> Anybody knows what is the problem ?
> How can i "convert" a xen .cfg to a opennebula template ?
>
> Thanks.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130909/4d15f6f8/attachment-0002.htm>


More information about the Users mailing list