# OpenNebula failed to provision VM

**URL:** <https://forum.opennebula.io/t/opennebula-failed-to-provision-vm/8691>\
**Category:** Installation & Configuration\
**Created:** [July 28, 2020, 3:26pm UTC](https://forum.opennebula.io/t/opennebula-failed-to-provision-vm/8691 "2020-07-28T15:26:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jhonny\_Tay](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jhonny_tay/32/6613_2.png) [@Jhonny\_Tay](https://forum.opennebula.io/u/Jhonny_Tay)\
**Post date:** [July 28, 2020, 3:26pm UTC](https://forum.opennebula.io/t/opennebula-failed-to-provision-vm/8691/1 "2020-07-28T15:26:43Z")

</div>

Dear All,

Please help to enlighten me regarding of this error while creating VM:

Tue Jul 28 22:17:39 2020 [Z0][VM][I]: New state is ACTIVE  
Tue Jul 28 22:17:39 2020 [Z0][VM][I]: New LCM state is PROLOG  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: Command execution failed (exit code: 1): /var/lib/one/remotes/tm/fs\_lvm/clone [pmbhost.net](http://pmbhost.net):/var/lib/one//datastores/101/b4fbeacc82a678679e6b87d28abca0ab [node3.pmbhost.net](http://node3.pmbhost.net):/var/lib/one//datastores/100/5/disk.0 5 101  
Tue Jul 28 22:17:41 2020 [Z0][TM][E]: clone: Command " set -e -o pipefail  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: mkdir -p /var/lib/one/datastores/100/5  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]:  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: hostname -f \>“/var/lib/one/datastores/100/5/.host” || :  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]:  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: # zero trailing space  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: if [“yes” = “yes”]; then  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: LVSIZE=$(sudo lvs --nosuffix --noheadings --units B -o lv\_size “/dev/vg-one-100/lv-one-5-0” | tr -d ‘[:blank:]’)  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: dd if=/dev/zero of=“/dev/vg-one-100/lv-one-5-0” bs=64k oflag=seek\_bytes iflag=count\_bytes seek=“4293918720” count=“$(( LVSIZE - 4293918720 ))”  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: fi  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]:  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: qemu-img convert -O raw “/var/lib/one/datastores/101/b4fbeacc82a678679e6b87d28abca0ab” “/dev/vg-one-100/lv-one-5-0”  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: rm -f “/var/lib/one/datastores/100/5/disk.0”  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: ln -s “/dev/vg-one-100/lv-one-5-0” “/var/lib/one/datastores/100/5/disk.0"” failed: 16+0 records in  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: 16+0 records out  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00834615 s, 126 MB/s  
Tue Jul 28 22:17:41 2020 [Z0][TM][I]: qemu-img: Could not open ‘/var/lib/one/datastores/101/b4fbeacc82a678679e6b87d28abca0ab’: Could not open ‘/var/lib/one/datastores/101/b4fbeacc82a678679e6b87d28abca0ab’: No such file or directory  
Tue Jul 28 22:17:41 2020 [Z0][TM][E]: Error cloning /var/lib/one/datastores/101/b4fbeacc82a678679e6b87d28abca0ab to lv-one-5-0  
Tue Jul 28 22:17:41 2020 [Z0][TM][E]: Error executing image transfer script: Error cloning /var/lib/one/datastores/101/b4fbeacc82a678679e6b87d28abca0ab to lv-one-5-0  
Tue Jul 28 22:17:41 2020 [Z0][VM][I]: New LCM state is PROLOG\_FAILURE

Best Regards,  
Jhonny

---

<div class="post-metadata">

**Author:** ![Smitraj](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@Smitraj](https://forum.opennebula.io/u/Smitraj)\
**Post date:** [July 29, 2020, 11:30am UTC](https://forum.opennebula.io/t/opennebula-failed-to-provision-vm/8691/2 "2020-07-29T11:30:29Z")

</div>

I am also facing the same issue  
Tue Jul 28 11:02:27 2020 [Z0][VM][I]: New state is ACTIVE  
Tue Jul 28 11:02:27 2020 [Z0][VM][I]: New LCM state is PROLOG  
but these are the only logs on my virtual machine.
