[one-users] new virtual machine creation on ESX
cosmin cucu
cosmincucu at yahoo.com
Thu Oct 24 02:08:41 PDT 2013
Hello,
I am trying to create a VM from a image, and it fails with the following error message :
[DiM][I]: New VM state is ACTIVE.
[LCM][I]: New VM state is PROLOG.
[TM][W]: No size or format in FS, skipping
[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
[TM][I]: clone: Cloning OpenNebula:/vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3 in 192.168.10.10:/vmfs/volumes/100/8/disk.0
[TM][E]: clone: Command "cd /vmfs/volumes/100/8
[TM][I]:
[TM][I]: export PATH=/usr/sbin:/sbin:$PATH
[TM][I]:
[TM][I]: if [ "FILE" != "CDROM" ]; then
[TM][I]: if [ ! -d /vmfs/volumes/100/8/disk.0 ]; then
[TM][I]: mkdir -p /vmfs/volumes/100/8/disk.0
[TM][I]: fi
[TM][I]:
[TM][I]: vmkfstools -U /vmfs/volumes/100/8/disk.0/disk.vmdk
[TM][I]: rm -f /vmfs/volumes/100/8/disk.0/*
[TM][I]:
[TM][I]: vmkfstools -i /vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3/disk.vmdk -d thin /vmfs/volumes/100/8/disk.0/disk.vmdk
[TM][I]: else
[TM][I]: if [ ! -d /vmfs/volumes/100/8 ]; then
[TM][I]: mkdir -p /vmfs/volumes/100/8
[TM][I]: fi
[TM][I]:
[TM][I]: rm -f /vmfs/volumes/100/8/disk.0
[TM][I]:
[TM][I]: cp /vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3 /vmfs/volumes/100/8/disk.0
[TM][I]: ln -s /vmfs/volumes/100/8/disk.0 /vmfs/volumes/100/8/disk.0.iso
[TM][I]: fi" failed: sh: cd: line 0: can't cd to /vmfs/volumes/100/8
[TM][I]: Failed to delete virtual disk: The system cannot find the file specified (25).
[TM][I]: DiskLib_Check() failed for source disk The system cannot find the file specified (25).
[TM][E]: Error cloning OpenNebula:/vmfs/volumes/101/ab77b4b5184b6c9b5bf08b3001d71fd3 to 192.168.10.10:/vmfs/volumes/100/8/disk.0
[TM][I]: ExitCode: 255
[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
[DiM][I]: New VM state is FAILED
Here are the datastores :
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
0 system - - - 0 sys - shared
1 default 18.8G 84% - 0 img fs shared
2 files 18.8G 84% - 0 fil fs ssh
100 vmware-system - - test-cloud 0 sys - vmfs
101 VMware-Images 97.5G 99% test-cloud 1 img vmfs vmfs
<DATASTORE_POOL>
<DATASTORE>
<ID>0</ID>
<UID>0</UID>
<GID>0</GID>
<UNAME>oneadmin</UNAME>
<GNAME>oneadmin</GNAME>
<NAME>system</NAME>
<PERMISSIONS>
<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>
</PERMISSIONS>
<DS_MAD>-</DS_MAD>
<TM_MAD>shared</TM_MAD>
<BASE_PATH>/var/lib/one/datastores/0</BASE_PATH>
<TYPE>1</TYPE>
<DISK_TYPE>0</DISK_TYPE>
<CLUSTER_ID>-1</CLUSTER_ID>
<CLUSTER/>
<TOTAL_MB>0</TOTAL_MB>
<FREE_MB>0</FREE_MB>
<USED_MB>0</USED_MB>
<IMAGES/>
<TEMPLATE>
<TM_MAD><![CDATA[shared]]></TM_MAD>
<TYPE><![CDATA[SYSTEM_DS]]></TYPE>
</TEMPLATE>
</DATASTORE>
<DATASTORE>
<ID>1</ID>
<UID>0</UID>
<GID>0</GID>
<UNAME>oneadmin</UNAME>
<GNAME>oneadmin</GNAME>
<NAME>default</NAME>
<PERMISSIONS>
<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>1</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>
</PERMISSIONS>
<DS_MAD>fs</DS_MAD>
<TM_MAD>shared</TM_MAD>
<BASE_PATH>/var/lib/one/datastores/1</BASE_PATH>
<TYPE>0</TYPE>
<DISK_TYPE>0</DISK_TYPE>
<CLUSTER_ID>-1</CLUSTER_ID>
<CLUSTER/>
<TOTAL_MB>19289</TOTAL_MB>
<FREE_MB>16195</FREE_MB>
<USED_MB>1</USED_MB>
<IMAGES/>
<TEMPLATE>
<DS_MAD><![CDATA[fs]]></DS_MAD>
<TM_MAD><![CDATA[shared]]></TM_MAD>
<TYPE><![CDATA[IMAGE_DS]]></TYPE>
</TEMPLATE>
</DATASTORE>
<DATASTORE>
<ID>2</ID>
<UID>0</UID>
<GID>0</GID>
<UNAME>oneadmin</UNAME>
<GNAME>oneadmin</GNAME>
<NAME>files</NAME>
<PERMISSIONS>
<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>1</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>
</PERMISSIONS>
<DS_MAD>fs</DS_MAD>
<TM_MAD>ssh</TM_MAD>
<BASE_PATH>/var/lib/one/datastores/2</BASE_PATH>
<TYPE>2</TYPE>
<DISK_TYPE>0</DISK_TYPE>
<CLUSTER_ID>-1</CLUSTER_ID>
<CLUSTER/>
<TOTAL_MB>19289</TOTAL_MB>
<FREE_MB>16195</FREE_MB>
<USED_MB>1</USED_MB>
<IMAGES/>
<TEMPLATE>
<DS_MAD><![CDATA[fs]]></DS_MAD>
<TM_MAD><![CDATA[ssh]]></TM_MAD>
<TYPE><![CDATA[FILE_DS]]></TYPE>
</TEMPLATE>
</DATASTORE>
<DATASTORE>
<ID>100</ID>
<UID>0</UID>
<GID>0</GID>
<UNAME>oneadmin</UNAME>
<GNAME>oneadmin</GNAME>
<NAME>vmware-system</NAME>
<PERMISSIONS>
<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>
</PERMISSIONS>
<DS_MAD>-</DS_MAD>
<TM_MAD>vmfs</TM_MAD>
<BASE_PATH>/vmfs/volumes/100</BASE_PATH>
<TYPE>1</TYPE>
<DISK_TYPE>0</DISK_TYPE>
<CLUSTER_ID>100</CLUSTER_ID>
<CLUSTER>test-cloud</CLUSTER>
<TOTAL_MB>0</TOTAL_MB>
<FREE_MB>0</FREE_MB>
<USED_MB>0</USED_MB>
<IMAGES/>
<TEMPLATE>
<BRIDGE_LIST><![CDATA[192.168.10.10]]></BRIDGE_LIST>
<DS_MAD><![CDATA[-]]></DS_MAD>
<TM_MAD><![CDATA[vmfs]]></TM_MAD>
<TYPE><![CDATA[SYSTEM_DS]]></TYPE>
<USE_SSH><![CDATA[YES]]></USE_SSH>
</TEMPLATE>
</DATASTORE>
<DATASTORE>
<ID>101</ID>
<UID>0</UID>
<GID>0</GID>
<UNAME>oneadmin</UNAME>
<GNAME>oneadmin</GNAME>
<NAME>VMware-Images</NAME>
<PERMISSIONS>
<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>1</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>
</PERMISSIONS>
<DS_MAD>vmfs</DS_MAD>
<TM_MAD>vmfs</TM_MAD>
<BASE_PATH>/vmfs/volumes/101</BASE_PATH>
<TYPE>0</TYPE>
<DISK_TYPE>0</DISK_TYPE>
<CLUSTER_ID>100</CLUSTER_ID>
<CLUSTER>test-cloud</CLUSTER>
<TOTAL_MB>99840</TOTAL_MB>
<FREE_MB>98869</FREE_MB>
<USED_MB>770</USED_MB>
<IMAGES>
<ID>1</ID>
</IMAGES>
<TEMPLATE>
<BRIDGE_LIST><![CDATA[192.168.10.10]]></BRIDGE_LIST>
<DS_MAD><![CDATA[vmfs]]></DS_MAD>
<TM_MAD><![CDATA[vmfs]]></TM_MAD>
<TYPE><![CDATA[IMAGE_DS]]></TYPE>
<USE_SSH><![CDATA[YES]]></USE_SSH>
</TEMPLATE>
</DATASTORE>
</DATASTORE_POOL>
Any ideas why it's failing?
Thanks,
Cosmin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131024/56bd50ec/attachment-0001.htm>
More information about the Users
mailing list