[one-users] deployment file doesn't get generated properly
Carlos Martín Sánchez
cmartins at fdi.ucm.es
Fri Oct 22 10:31:58 PDT 2010
I think the problem is that you need to set a TARGET attribute for the
second disk, because OpenNebula will only assign one for the Disks that use
a registered IMAGE.
If you take a look at , the TARGET is mandatory. Since you are mixing
Disks that use Images with Disks from your filesystem, you should pay
attention at the "Disks device mapping" section to avoid target conflicts.
Or you could just register your .iso file as a CDROM image.
Carlos Martín, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
OpenNebula Open Source Toolkit for Cloud Computing:
On 22 October 2010 19:07, Rich Wellner <rkw at objenv.com> wrote:
> I have a vm definition file:
> *CPU = 1
> MEMORY = 256
> GRAPHICS = [
> TYPE = "vnc",
> LISTEN = "0.0.0.0"
> OS = [ KERNEL = /vmlinuz,
> INITRD = /initrd.img,
> ROOT = sda1,
> KERNEL_CMD = "ro xencons=tty console=tty1"]
> DISK = [
> IMAGE = "The Ring"
> DISK = [
> TYPE = cdrom,
> SOURCE = /var/lib/one/dsl-4.4.10.iso,
> READONLY = "yes",
> CLONE = "yes"
> and when I try to create an instance the deployment file only gets
> partially written:
> *<domain type='kvm'>
> <cmdline>root=/dev/sda1 ro xencons=tty console=tty1</cmdline>
> <boot dev='hd'/>
> <disk type='file' device='disk'>
> <source file='/home/sharedFS/images/66/images/disk.0'/>
> <target dev='hda'/>
> But all that appears in the log file is:
> *Fri Oct 22 12:01:31 2010 [LCM][I]: New VM state is BOOT
> Fri Oct 22 12:01:31 2010 [VMM][I]: Generating deployment file:
> Fri Oct 22 12:01:31 2010 [VMM][E]: Wrong target value in DISK.
> Fri Oct 22 12:01:31 2010 [VMM][E]: deploy_action, error generating
> deployment file: /var/lib/one/66/deployment.0
> Fri Oct 22 12:01:31 2010 [DiM][I]: New VM state is FAILED
> Fri Oct 22 12:01:31 2010 [TM][W]: Ignored: TRANSFER SUCCESS 66 -
> Any ideas on what is going wrong here?
> Users mailing list
> Users at lists.opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users