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'>
<name>one-66</name>
<memory>262144</memory>
<os>
<type>hvm</type>
<kernel>/vmlinuz</kernel>
<initrd>/initrd.img</initrd>
<cmdline>root=/dev/sda1 ro xencons=tty console=tty1</cmdline>
<boot dev='hd'/>
</os>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<source file='/home/sharedFS/images/66/images/disk.0'/>
<target dev='hda'/>
</disk>
/
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: /var/lib/one/66/deployment.0
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?

rw2

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to