Virtual Machine Fails

Tue Dec 1 07:50:51 2015 [Z0][DiM][I]: New VM state is ACTIVE.
Tue Dec 1 07:50:51 2015 [Z0][LCM][I]: New VM state is PROLOG.
Tue Dec 1 07:50:59 2015 [Z0][LCM][I]: New VM state is BOOT
Tue Dec 1 07:50:59 2015 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/9/deployment.0
Tue Dec 1 07:50:59 2015 [Z0][VMM][I]: ExitCode: 0
Tue Dec 1 07:50:59 2015 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Tue Dec 1 07:51:00 2015 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/0/9/deployment.0’ ‘192.168.0.6’ 9 192.168.0.6
Tue Dec 1 07:51:00 2015 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/9/deployment.0
Tue Dec 1 07:51:00 2015 [Z0][VMM][I]: error: can’t canonicalize path ‘/var/lib/one//datastores/0/9/disk.1’: Permission denied
Tue Dec 1 07:51:00 2015 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/9/deployment.0
Tue Dec 1 07:51:00 2015 [Z0][VMM][I]: ExitCode: 255
Tue Dec 1 07:51:00 2015 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Tue Dec 1 07:51:00 2015 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/9/deployment.0
Tue Dec 1 07:51:00 2015 [Z0][DiM][I]: New VM state is FAILED

Hi @Joyshah018,

Please feed some additional info about your setup. Like what is the SYSTEM datastore TM_MAD, IMAGES datastore TM_MAD, with what user the libvirtd is running, etc…

At first glance and without additional context it looks like libvirt has no rights to access the VM files.

Regards,
Anton Todorov

I followed opennebula quickstart document available at http://docs.opennebula.org/4.12/design_and_installation/quick_starts/qs_centos7_kvm.html