# Virtual Machine Fails

**URL:** <https://forum.opennebula.io/t/virtual-machine-fails/1537>\
**Category:** Product Support\
**Created:** [December 1, 2015, 4:30pm UTC](https://forum.opennebula.io/t/virtual-machine-fails/1537 "2015-12-01T16:30:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joyshah018](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Joyshah018](https://forum.opennebula.io/u/Joyshah018)\
**Post date:** [December 1, 2015, 4:30pm UTC](https://forum.opennebula.io/t/virtual-machine-fails/1537/1 "2015-12-01T16:30:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![atodorov\_storpool](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/atodorov_storpool/32/5327_2.png) [@atodorov\_storpool](https://forum.opennebula.io/u/atodorov_storpool)\
**Post date:** [December 3, 2015, 7:55pm UTC](https://forum.opennebula.io/t/virtual-machine-fails/1537/2 "2015-12-03T19:55:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Joyshah018](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Joyshah018](https://forum.opennebula.io/u/Joyshah018)\
**Post date:** [April 3, 2016, 3:18pm UTC](https://forum.opennebula.io/t/virtual-machine-fails/1537/3 "2016-04-03T15:18:44Z")

</div>

I followed opennebula quickstart document available at [http://docs.opennebula.org/4.12/design\_and\_installation/quick\_starts/qs\_centos7\_kvm.html](http://docs.opennebula.org/4.12/design_and_installation/quick_starts/qs_centos7_kvm.html)
