<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Hello,<br><br>I am trying to create a VM from a image, and it fails with the following error message : <br><br><br><div>[DiM][I]: New VM state is ACTIVE.<br>[LCM][I]: New VM state is PROLOG.<br>[TM][W]: No size or format in FS, skipping<br>[TM][I]: Command execution fail: /var/lib/one/remotes/tm/vmfs/clone OpenNebula:/vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3 192.168.10.10:/vmfs/volumes/100/8/disk.0 8 101<br>[TM][I]: clone: Cloning OpenNebula:/vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3 in 192.168.10.10:/vmfs/volumes/100/8/disk.0<br>[TM][E]: clone: Command "cd /vmfs/volumes/100/8<br>[TM][I]:<br>[TM][I]: export PATH=/usr/sbin:/sbin:$PATH<br>[TM][I]:<br>[TM][I]: if [ "FILE" != "CDROM" ]; then<br>[TM][I]: if [ ! -d /vmfs/volumes/100/8/disk.0 ]; then<br>[TM][I]: mkdir -p
 /vmfs/volumes/100/8/disk.0<br>[TM][I]: fi<br>[TM][I]:<br>[TM][I]: vmkfstools -U /vmfs/volumes/100/8/disk.0/disk.vmdk<br>[TM][I]: rm -f /vmfs/volumes/100/8/disk.0/*<br>[TM][I]:<br>[TM][I]: vmkfstools -i /vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3/disk.vmdk -d thin /vmfs/volumes/100/8/disk.0/disk.vmdk<br>[TM][I]: else<br>[TM][I]: if [ ! -d /vmfs/volumes/100/8 ]; then<br>[TM][I]: mkdir -p /vmfs/volumes/100/8<br>[TM][I]: fi<br>[TM][I]:<br>[TM][I]: rm -f /vmfs/volumes/100/8/disk.0<br>[TM][I]:<br>[TM][I]: cp /vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3 /vmfs/volumes/100/8/disk.0<br>[TM][I]: ln -s /vmfs/volumes/100/8/disk.0 /vmfs/volumes/100/8/disk.0.iso<br>[TM][I]: fi" failed: sh: cd: line 0: can't cd to /vmfs/volumes/100/8<br>[TM][I]: Failed to delete virtual disk: The system cannot find the file specified (25).<br>[TM][I]: DiskLib_Check() failed for source disk The system cannot find the file specified (25).<br>[TM][E]: Error cloning
 OpenNebula:/vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3 to 192.168.10.10:/vmfs/volumes/100/8/disk.0<br>[TM][I]: ExitCode: 255<br>[TM][E]: Error executing image transfer script: Error cloning OpenNebula:/vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3 to 192.168.10.10:/vmfs/volumes/100/8/disk.0<br>[DiM][I]: New VM state is FAILED</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Here are the datastores : <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div
 style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">  ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM<br>   0 system                 - -     -                 0 sys  -        shared<br>   1 default            18.8G 84%   -                 0 img  fs      
 shared<br>   2 files              18.8G 84%   -                 0 fil  fs       ssh<br> 100 vmware-system          - -     test-cloud       0 sys  -        vmfs<br> 101 VMware-Images      97.5G 99%   test-cloud       1 img  vmfs     vmfs</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica
 Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><DATASTORE_POOL><br>  <DATASTORE><br>    <ID>0</ID><br>    <UID>0</UID><br>    <GID>0</GID><br>    <UNAME>oneadmin</UNAME><br>    <GNAME>oneadmin</GNAME><br>    <NAME>system</NAME><br>    <PERMISSIONS><br>      <OWNER_U>1</OWNER_U><br>      <OWNER_M>1</OWNER_M><br>      <OWNER_A>0</OWNER_A><br>      <GROUP_U>1</GROUP_U><br>      <GROUP_M>0</GROUP_M><br>      <GROUP_A>0</GROUP_A><br>     
 <OTHER_U>0</OTHER_U><br>      <OTHER_M>0</OTHER_M><br>      <OTHER_A>0</OTHER_A><br>    </PERMISSIONS><br>    <DS_MAD>-</DS_MAD><br>    <TM_MAD>shared</TM_MAD><br>    <BASE_PATH>/var/lib/one/datastores/0</BASE_PATH><br>    <TYPE>1</TYPE><br>    <DISK_TYPE>0</DISK_TYPE><br>    <CLUSTER_ID>-1</CLUSTER_ID><br>    <CLUSTER/><br>    <TOTAL_MB>0</TOTAL_MB><br>    <FREE_MB>0</FREE_MB><br>    <USED_MB>0</USED_MB><br>    <IMAGES/><br>    <TEMPLATE><br>     
 <TM_MAD><![CDATA[shared]]></TM_MAD><br>      <TYPE><![CDATA[SYSTEM_DS]]></TYPE><br>    </TEMPLATE><br>  </DATASTORE><br>  <DATASTORE><br>    <ID>1</ID><br>    <UID>0</UID><br>    <GID>0</GID><br>    <UNAME>oneadmin</UNAME><br>    <GNAME>oneadmin</GNAME><br>    <NAME>default</NAME><br>    <PERMISSIONS><br>      <OWNER_U>1</OWNER_U><br>      <OWNER_M>1</OWNER_M><br>      <OWNER_A>0</OWNER_A><br>      <GROUP_U>1</GROUP_U><br>      <GROUP_M>0</GROUP_M><br>     
 <GROUP_A>0</GROUP_A><br>      <OTHER_U>1</OTHER_U><br>      <OTHER_M>0</OTHER_M><br>      <OTHER_A>0</OTHER_A><br>    </PERMISSIONS><br>    <DS_MAD>fs</DS_MAD><br>    <TM_MAD>shared</TM_MAD><br>    <BASE_PATH>/var/lib/one/datastores/1</BASE_PATH><br>    <TYPE>0</TYPE><br>    <DISK_TYPE>0</DISK_TYPE><br>    <CLUSTER_ID>-1</CLUSTER_ID><br>    <CLUSTER/><br>    <TOTAL_MB>19289</TOTAL_MB><br>    <FREE_MB>16195</FREE_MB><br>    <USED_MB>1</USED_MB><br>    <IMAGES/><br>    <TEMPLATE><br>     
 <DS_MAD><![CDATA[fs]]></DS_MAD><br>      <TM_MAD><![CDATA[shared]]></TM_MAD><br>      <TYPE><![CDATA[IMAGE_DS]]></TYPE><br>    </TEMPLATE><br>  </DATASTORE><br>  <DATASTORE><br>    <ID>2</ID><br>    <UID>0</UID><br>    <GID>0</GID><br>    <UNAME>oneadmin</UNAME><br>    <GNAME>oneadmin</GNAME><br>    <NAME>files</NAME><br>    <PERMISSIONS><br>      <OWNER_U>1</OWNER_U><br>      <OWNER_M>1</OWNER_M><br>      <OWNER_A>0</OWNER_A><br>     
 <GROUP_U>1</GROUP_U><br>      <GROUP_M>0</GROUP_M><br>      <GROUP_A>0</GROUP_A><br>      <OTHER_U>1</OTHER_U><br>      <OTHER_M>0</OTHER_M><br>      <OTHER_A>0</OTHER_A><br>    </PERMISSIONS><br>    <DS_MAD>fs</DS_MAD><br>    <TM_MAD>ssh</TM_MAD><br>    <BASE_PATH>/var/lib/one/datastores/2</BASE_PATH><br>    <TYPE>2</TYPE><br>    <DISK_TYPE>0</DISK_TYPE><br>    <CLUSTER_ID>-1</CLUSTER_ID><br>    <CLUSTER/><br>    <TOTAL_MB>19289</TOTAL_MB><br>    <FREE_MB>16195</FREE_MB><br>   
 <USED_MB>1</USED_MB><br>    <IMAGES/><br>    <TEMPLATE><br>      <DS_MAD><![CDATA[fs]]></DS_MAD><br>      <TM_MAD><![CDATA[ssh]]></TM_MAD><br>      <TYPE><![CDATA[FILE_DS]]></TYPE><br>    </TEMPLATE><br>  </DATASTORE><br>  <DATASTORE><br>    <ID>100</ID><br>    <UID>0</UID><br>    <GID>0</GID><br>    <UNAME>oneadmin</UNAME><br>    <GNAME>oneadmin</GNAME><br>    <NAME>vmware-system</NAME><br>    <PERMISSIONS><br>      <OWNER_U>1</OWNER_U><br>     
 <OWNER_M>1</OWNER_M><br>      <OWNER_A>0</OWNER_A><br>      <GROUP_U>1</GROUP_U><br>      <GROUP_M>0</GROUP_M><br>      <GROUP_A>0</GROUP_A><br>      <OTHER_U>0</OTHER_U><br>      <OTHER_M>0</OTHER_M><br>      <OTHER_A>0</OTHER_A><br>    </PERMISSIONS><br>    <DS_MAD>-</DS_MAD><br>    <TM_MAD>vmfs</TM_MAD><br>    <BASE_PATH>/vmfs/volumes/100</BASE_PATH><br>    <TYPE>1</TYPE><br>    <DISK_TYPE>0</DISK_TYPE><br>    <CLUSTER_ID>100</CLUSTER_ID><br>   
 <CLUSTER>test-cloud</CLUSTER><br>    <TOTAL_MB>0</TOTAL_MB><br>    <FREE_MB>0</FREE_MB><br>    <USED_MB>0</USED_MB><br>    <IMAGES/><br>    <TEMPLATE><br>      <BRIDGE_LIST><![CDATA[192.168.10.10]]></BRIDGE_LIST><br>      <DS_MAD><![CDATA[-]]></DS_MAD><br>      <TM_MAD><![CDATA[vmfs]]></TM_MAD><br>      <TYPE><![CDATA[SYSTEM_DS]]></TYPE><br>      <USE_SSH><![CDATA[YES]]></USE_SSH><br>    </TEMPLATE><br>  </DATASTORE><br>  <DATASTORE><br>    <ID>101</ID><br>    <UID>0</UID><br>   
 <GID>0</GID><br>    <UNAME>oneadmin</UNAME><br>    <GNAME>oneadmin</GNAME><br>    <NAME>VMware-Images</NAME><br>    <PERMISSIONS><br>      <OWNER_U>1</OWNER_U><br>      <OWNER_M>1</OWNER_M><br>      <OWNER_A>0</OWNER_A><br>      <GROUP_U>1</GROUP_U><br>      <GROUP_M>0</GROUP_M><br>      <GROUP_A>0</GROUP_A><br>      <OTHER_U>0</OTHER_U><br>      <OTHER_M>0</OTHER_M><br>      <OTHER_A>0</OTHER_A><br>    </PERMISSIONS><br>    <DS_MAD>vmfs</DS_MAD><br>   
 <TM_MAD>vmfs</TM_MAD><br>    <BASE_PATH>/vmfs/volumes/101</BASE_PATH><br>    <TYPE>0</TYPE><br>    <DISK_TYPE>0</DISK_TYPE><br>    <CLUSTER_ID>100</CLUSTER_ID><br>    <CLUSTER>test-cloud</CLUSTER><br>    <TOTAL_MB>99840</TOTAL_MB><br>    <FREE_MB>98869</FREE_MB><br>    <USED_MB>770</USED_MB><br>    <IMAGES><br>      <ID>1</ID><br>    </IMAGES><br>    <TEMPLATE><br>      <BRIDGE_LIST><![CDATA[192.168.10.10]]></BRIDGE_LIST><br>      <DS_MAD><![CDATA[vmfs]]></DS_MAD><br>     
 <TM_MAD><![CDATA[vmfs]]></TM_MAD><br>      <TYPE><![CDATA[IMAGE_DS]]></TYPE><br>      <USE_SSH><![CDATA[YES]]></USE_SSH><br>    </TEMPLATE><br>  </DATASTORE><br></DATASTORE_POOL><br><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Any ideas why it's failing?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color:
 rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Thanks,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Cosmin<br></div></div></body></html>