# Could not open backing file

**URL:** <https://forum.opennebula.io/t/could-not-open-backing-file/1504>\
**Category:** Product Support\
**Created:** [November 22, 2015, 9:07am UTC](https://forum.opennebula.io/t/could-not-open-backing-file/1504 "2015-11-22T09:07:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vahit](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vahit/32/4454_2.png) [@vahit](https://forum.opennebula.io/u/vahit)\
**Post date:** [November 22, 2015, 9:07am UTC](https://forum.opennebula.io/t/could-not-open-backing-file/1504/1 "2015-11-22T09:07:53Z")

</div>

Hi guys.  
I update ower opennebula service from 4.12 to last vertion (4.14) and i decide change image datastore TM\_MAD to qcow2 to using backing file ad speedup VMs deploy and migrate process.  
But new VMs could not run, and i gain BOOT\_FAILURE status with “Could not open backing file … Permission denied” error. I check backing image permissions but everything is OK.  
`-rw-rw-r-- 1 oneadmin oneadmin 456654848 Nov 22 12:23 bf91b7166638ae6e4521790892b099ae`  
VM error log contain these lines:  
`Sun Nov 22 12:19:57 2015 [Z0][VM][I]: New state is ACTIVE Sun Nov 22 12:19:57 2015 [Z0][VM][I]: New LCM state is PROLOG Sun Nov 22 12:19:57 2015 [Z0][VM][I]: Virtual Machine has no context Sun Nov 22 12:19:58 2015 [Z0][VM][I]: New LCM state is BOOT Sun Nov 22 12:19:59 2015 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/8/deployment.0 Sun Nov 22 12:19:59 2015 [Z0][VMM][I]: ExitCode: 0 Sun Nov 22 12:19:59 2015 [Z0][VMM][I]: Successfully execute network driver operation: pre. Sun Nov 22 12:20:00 2015 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/8/deployment.0' '172.20.30.183' 8 172.20.30.183 Sun Nov 22 12:20:00 2015 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/8/deployment.0 Sun Nov 22 12:20:00 2015 [Z0][VMM][I]: error: internal error: process exited while connecting to monitor: qemu-system-x86_64: -drive file=/var/lib/one//datastores/0/8/disk.0,if=none,id=drive-scsi0-0-0,format=qcow2,cache=none: could not open disk image /var/lib/one//datastores/0/8/disk.0: Could not open backing file: Could not open '/var/lib/one/datastores/1/c7e75ff7b7e75c604dcd0f1082da5754': Permission denied Sun Nov 22 12:20:00 2015 [Z0][VMM][I]: Sun Nov 22 12:20:00 2015 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/8/deployment.0 Sun Nov 22 12:20:00 2015 [Z0][VMM][I]: ExitCode: 255 Sun Nov 22 12:20:00 2015 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy. Sun Nov 22 12:20:00 2015 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/8/deployment.0 Sun Nov 22 12:20:00 2015 [Z0][VM][I]: New LCM state is BOOT_FAILURE`  
Waht is problem and how can i resolve it?  
Thanks 🙂

---

<div class="post-metadata">

**Author:** ![Arash](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Arash](https://forum.opennebula.io/u/Arash)\
**Post date:** [November 22, 2015, 11:00am UTC](https://forum.opennebula.io/t/could-not-open-backing-file/1504/2 "2015-11-22T11:00:36Z")

</div>

Check all permissions if you see everything fine try to remove apparmor or selinux .

---

<div class="post-metadata">

**Author:** ![vahit](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vahit/32/4454_2.png) [@vahit](https://forum.opennebula.io/u/vahit)\
**Post date:** [November 22, 2015, 11:23am UTC](https://forum.opennebula.io/t/could-not-open-backing-file/1504/3 "2015-11-22T11:23:34Z")

</div>

Yes, It’s work. I remvoe apparmor and the problem is solved.  
Thanks man.
