# Error deploying virtual machine: Could not create domain

**URL:** <https://forum.opennebula.io/t/error-deploying-virtual-machine-could-not-create-domain/2761>\
**Category:** Product Support\
**Created:** [August 16, 2016, 9:09am UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-could-not-create-domain/2761 "2016-08-16T09:09:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yannick\_MOLINET](https://avatars.discourse-cdn.com/v4/letter/y/ea666f/32.png) [@Yannick\_MOLINET](https://forum.opennebula.io/u/Yannick_MOLINET)\
**Post date:** [August 16, 2016, 9:09am UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-could-not-create-domain/2761/1 "2016-08-16T09:09:22Z")

</div>

Hi all,

I’m just create a template by the command line utility.  
The template use an image import by the command line utility too.

When I try to instantiate it, I receive an error

> Tue Aug 16 08:21:47 2016 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/15/deployment.1  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm\_context.  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][I]: ExitCode: 0  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][I]: Successfully execute network driver operation: pre.  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][I]: Command execution fail: cat \<\< EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/0/15/deployment.1’ ‘adnpvirt07’ 15 adnpvirt07  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/15/deployment.1  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][I]: error: Cannot access storage file ‘/var/lib/one//datastores/0/15/disk.0’ (as uid:9869, gid:9869): Aucun fichier ou dossier de ce type  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/15/deployment.1  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][I]: ExitCode: 255  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.  
> Tue Aug 16 08:21:48 2016 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/15/deployment.1  
> Tue Aug 16 08:21:48 2016 [Z0][VM][I]: New LCM state is BOOT\_FAILURE

Could you help me to fix this error ?  
Thansk,  
Yannick

---

<div class="post-metadata">

**Author:** ![Yannick\_MOLINET](https://avatars.discourse-cdn.com/v4/letter/y/ea666f/32.png) [@Yannick\_MOLINET](https://forum.opennebula.io/u/Yannick_MOLINET)\
**Post date:** [August 16, 2016, 6:54pm UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-could-not-create-domain/2761/2 "2016-08-16T18:54:23Z")

</div>

Same error when I try to import disk image from the UI.

---

<div class="post-metadata">

**Author:** ![Yannick\_MOLINET](https://avatars.discourse-cdn.com/v4/letter/y/ea666f/32.png) [@Yannick\_MOLINET](https://forum.opennebula.io/u/Yannick_MOLINET)\
**Post date:** [August 16, 2016, 6:57pm UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-could-not-create-domain/2761/3 "2016-08-16T18:57:50Z")

</div>

The image size is 250GB.  
With a less image (\<150GB) it seems working.

---

<div class="post-metadata">

**Author:** ![Yannick\_MOLINET](https://avatars.discourse-cdn.com/v4/letter/y/ea666f/32.png) [@Yannick\_MOLINET](https://forum.opennebula.io/u/Yannick_MOLINET)\
**Post date:** [August 16, 2016, 9:53pm UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-could-not-create-domain/2761/4 "2016-08-16T21:53:38Z")

</div>

Fix. It was an issue with the multipath configuration.

---

<div class="post-metadata">

**Author:** ![abdul](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@abdul](https://forum.opennebula.io/u/abdul)\
**Post date:** [January 7, 2019, 4:28am UTC](https://forum.opennebula.io/t/error-deploying-virtual-machine-could-not-create-domain/2761/5 "2019-01-07T04:28:14Z")

</div>

Please could you explain further how you were able to solve this problem?
