When you say datablock you mean that you've created an image and is if type datablock?
From the logs it says that the driver is qcow2: format=qcow2, Can you check that the image is really in qcow2 format? qemu-img info /var/lib/one//datastores/0/1151/disk.1 If it's not either: * When creating the datablock specify "qcow2" as the "FS Type" * Add DRIVER=raw to the image On Tue, Sep 16, 2014 at 6:32 PM, Robert Tanase <robert.tan...@appnor.com> wrote: > Hello One Users, > > I am facing a strange behavior when instantiating a template. > > 1) When template contains only the OS disk (qcow2) - VM instances get on > Active/Running' > > 2) When a second disk (Datablock - 1GB - vd - no other settings) - got the > following error: > > I was trying also with qcow2 Datablock - same result. > > Any help is much appreciated. > > Thank you, > Robert Tanase > > Tue Sep 16 19:21:26 2014 [DiM][I]: New VM state is ACTIVE. > Tue Sep 16 19:21:27 2014 [LCM][I]: New VM state is PROLOG. > Tue Sep 16 19:21:47 2014 [LCM][I]: New VM state is BOOT > Tue Sep 16 19:21:47 2014 [VMM][I]: Generating deployment file: > /var/lib/one/vms/1151/deployment.0 > Tue Sep 16 19:21:47 2014 [VMM][I]: ExitCode: 0 > Tue Sep 16 19:21:47 2014 [VMM][I]: Successfully execute network driver > operation: pre. > Tue Sep 16 19:21:49 2014 [VMM][I]: Command execution fail: cat << EOT | > /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/1151/deployment.0' > 'bu-mf39071.appnor.net' 1151 bu-mf39071.mydomain.net > Tue Sep 16 19:21:49 2014 [VMM][I]: setlocale: No such file or directory > Tue Sep 16 19:21:49 2014 [VMM][I]: error: Failed to create domain from > /var/lib/one//datastores/0/1151/deployment.0 > Tue Sep 16 19:21:49 2014 [VMM][I]: error: internal error process exited > while connecting to monitor: kvm: -drive > file=/var/lib/one//datastores/0/1151/disk.1,if=none,id=drive-ide0-0-1,format=qcow2,cache=none: > could not open disk image /var/lib/one//datastores/0/1151/disk.1: Invalid > argument > Tue Sep 16 19:21:49 2014 [VMM][I]: > Tue Sep 16 19:21:49 2014 [VMM][E]: Could not create domain from > /var/lib/one//datastores/0/1151/deployment.0 > Tue Sep 16 19:21:49 2014 [VMM][I]: ExitCode: 255 > Tue Sep 16 19:21:49 2014 [VMM][I]: Failed to execute virtualization driver > operation: deploy. > Tue Sep 16 19:21:49 2014 [VMM][E]: Error deploying virtual machine: Could > not create domain from /var/lib/one//datastores/0/1151/deployment.0 > Tue Sep 16 19:21:49 2014 [DiM][I]: New VM state is FAILED > > > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | @OpenNebula | github.com/jfontan _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org