[one-users] [Beta 3.0] Wrong target value in DISK.
Florin Antonescu
florinantonescu at gmail.com
Wed Aug 10 02:11:57 PDT 2011
Ok, so it seems that for inline declared disks, the target is also
mandatory. I had the impression that ti is like in the case of disk images,
when the target is not necessary.
On Tue, Aug 9, 2011 at 8:03 PM, Florin Antonescu
<florinantonescu at gmail.com>wrote:
> Hello,
>
> I am trying to deploy a VM using the following template, but I receive the
> error message: "Wrong target value in DISK.". What could cause this?
>
> Thank you,
> Florian
>
> CPU = 1
> MEMORY = 64.0
> DISK = [ IMAGE_ID = 0 ]
> DISK = [FORMAT=ext3, TYPE = fs, SIZE = 10 ]
> NIC = [ NETWORK_ID = 11 ]
> REQUIREMENTS = "(CPUSPEED > 1500.0) & (CPUSPEED < 5000.0)"
>
> VM log:
> Tue Aug 9 09:52:04 2011 [DiM][I]: New VM state is ACTIVE.
> Tue Aug 9 09:52:04 2011 [LCM][I]: New VM state is PROLOG.
> Tue Aug 9 09:52:05 2011 [VM][I]: Virtual Machine has no context
> Tue Aug 9 09:52:05 2011 [TM][D]: tm_clone.sh:
> zrhv60209129a.zrh.sap.corp:/srv/cloud/one/var/images/a6cc03bf0be59d780b4b4bfbd9c0bd30
> zrhs60197305a.zrh.sap.corp:/srv/cloud/one/var/18/images/disk.0
> Tue Aug 9 09:52:05 2011 [TM][D]: tm_clone.sh: DST:
> /srv/cloud/one/var/18/images/disk.0
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_clone.sh: Creating directory
> /srv/cloud/one/var/18/images
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
> /srv/cloud/one/var/18/images".
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
> /srv/cloud/one/var/18/images".
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_clone.sh: Cloning
> /srv/cloud/one/var/images/a6cc03bf0be59d780b4b4bfbd9c0bd30
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_clone.sh: Executed "cp -r
> /srv/cloud/one/var/images/a6cc03bf0be59d780b4b4bfbd9c0bd30
> /srv/cloud/one/var/18/images/disk.0".
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
> /srv/cloud/one/var/18/images/disk.0".
> Tue Aug 9 09:52:05 2011 [TM][I]: ExitCode: 0
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_mkimage.sh: Executed "mkdir -p
> /srv/cloud/one/var/18/images".
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_mkimage.sh: Executed "/bin/dd
> if=/dev/zero of=/srv/cloud/one/var/18/images/disk.1 bs=1 count=1 seek=10M".
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_mkimage.sh: Executed "/sbin/mkfs -t
> ext3 -F /srv/cloud/one/var/18/images/disk.1".
> Tue Aug 9 09:52:05 2011 [TM][I]: tm_mkimage.sh: Executed "chmod a+rw
> /srv/cloud/one/var/18/images/disk.1".
> Tue Aug 9 09:52:05 2011 [TM][I]: ExitCode: 0
> Tue Aug 9 09:52:05 2011 [LCM][I]: New VM state is BOOT
> Tue Aug 9 09:52:05 2011 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/18/deployment.0
> Tue Aug 9 09:52:06 2011 [VMM][E]: Wrong target value in DISK.
> Tue Aug 9 09:52:06 2011 [VMM][E]: deploy_action, error generating
> deployment file: /srv/cloud/one/var/18/deployment.0
> Tue Aug 9 09:52:06 2011 [DiM][I]: New VM state is FAILED
> Tue Aug 9 09:52:06 2011 [TM][W]: Ignored: LOG I 18 tm_delete.sh: Deleting
> /srv/cloud/one/var/18/images
> Tue Aug 9 09:52:06 2011 [TM][W]: Ignored: LOG I 18 tm_delete.sh: Executed
> "rm -rf /srv/cloud/one/var/18/images".
> Tue Aug 9 09:52:06 2011 [TM][W]: Ignored: LOG I 18 ExitCode: 0
> Tue Aug 9 09:52:06 2011 [TM][W]: Ignored: TRANSFER SUCCESS 18 -
>
> Generated deployment.0 file (incomplete)
> <domain type='kvm'>
> <name>one-18</name>
> <memory>65536</memory>
> <os>
> <type arch='i686'>hvm</type>
> <boot dev='hd'/>
> </os>
> <devices>
> <emulator>/usr/bin/kvm</emulator>
> <disk type='file' device='disk'>
> <source
> file='/srv/cloud/one/var/18/images/disk.0'/>
> <target dev='hda'/>
> <driver name='qemu' type='raw' cache='default'/>
> </disk>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110810/8b9a073d/attachment-0002.htm>
More information about the Users
mailing list