[one-users] opennebula can not create vm on esxi

Carlos Martín Sánchez cmartin at opennebula.org
Thu Aug 22 01:38:51 PDT 2013


Hi,

Your DS 100 is using DS_MAD fs and TM_MAD vmfs, that configuration is not
supported [1].
You should also make sure that datastore is mounted in the ESX [2].

Regards

PS. Please reply to the mailing list

[1]
http://opennebula.org/documentation:rel4.2:vmware_ds#datastore_configuration
[2]
http://opennebula.org/documentation:rel4.2:vmware_ds#infrastructure_configuration

--
Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Thu, Aug 22, 2013 at 8:41 AM, hansz <hanshizhunjob at 126.com> wrote:

> [oneadmin at manager01 ~]$ onedatastore list -x
> <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>18953</TOTAL_MB>
>     <FREE_MB>12723</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>18953</TOTAL_MB>
>     <FREE_MB>12723</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>vmwareimage</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>fs</DS_MAD>
>     <TM_MAD>vmfs</TM_MAD>
>     <BASE_PATH>/var/lib/one/datastores/100</BASE_PATH>
>     <TYPE>0</TYPE>
>     <DISK_TYPE>0</DISK_TYPE>
>     <CLUSTER_ID>-1</CLUSTER_ID>
>     <CLUSTER/>
>     <TOTAL_MB>18953</TOTAL_MB>
>     <FREE_MB>12723</FREE_MB>
>     <USED_MB>602</USED_MB>
>     <IMAGES>
>       <ID>0</ID>
>     </IMAGES>
>     <TEMPLATE>
>       <DS_MAD><![CDATA[fs]]></DS_MAD>
>       <DS_USE_SSH><![CDATA[YES]]></DS_USE_SSH>
>       <TM_MAD><![CDATA[vmfs]]></TM_MAD>
>       <TM_USE_SSH><![CDATA[YES]]></TM_USE_SSH>
>       <TYPE><![CDATA[IMAGE_DS]]></TYPE>
>     </TEMPLATE>
>   </DATASTORE>
> </DATASTORE_POOL>
>
>
> the version is 4.2
>
>
>
>
>
> At 2013-08-21 20:41:30,"Carlos Martín Sánchez" <cmartin at opennebula.org>
> wrote:
>
> Hi,
>
> Could you send us the output of 'onedatastore list -x' ?
>
> Regards
>
> --
> Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin,
> 24-26 September, 2013
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open-source Solution for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
> On Thu, Aug 15, 2013 at 3:30 AM, 韩士准 <hanshizhunjob at 126.com> wrote:
>
>> anyone give some help ?
>> Thu Aug 15 08:09:12 2013 [DiM][I]: New VM state is ACTIVE.
>> Thu Aug 15 08:09:12 2013 [LCM][I]: New VM state is PROLOG.
>> Thu Aug 15 08:09:12 2013 [TM][W]: No size or format in FS, skipping
>> Thu Aug 15 08:09:13 2013 [TM][I]: Command execution fail:
>> /var/lib/one/remotes/tm/shared/clone
>> opennebula:/var/lib/one/datastores/1/a1d4c386b7ffb8c849e3ff5bfae29a08
>> 192.168.3.134:/vmfs/volumes/0/0/disk.0 0 1
>> Thu Aug 15 08:09:13 2013 [TM][I]: clone: Cloning
>> /vmfs/volumes/1/a1d4c386b7ffb8c849e3ff5bfae29a08 in 192.168.3.134:
>> /vmfs/volumes/0/0/disk.0
>> Thu Aug 15 08:09:13 2013 [TM][E]: clone: Command "cd /vmfs/volumes/0/0;
>> cp /vmfs/volumes/1/a1d4c386b7ffb8c849e3ff5bfae29a08
>> /vmfs/volumes/0/0/disk.0" failed: cp: can't stat
>> '/vmfs/volumes/1/a1d4c386b7ffb8c849e3ff5bfae29a08': No such file or
>> directory
>> Thu Aug 15 08:09:13 2013 [TM][E]: Error copying
>> opennebula:/var/lib/one/datastores/1/a1d4c386b7ffb8c849e3ff5bfae29a08 to
>> 192.168.3.134:/vmfs/volumes/0/0/disk.0
>> Thu Aug 15 08:09:13 2013 [TM][I]: ExitCode: 1
>> Thu Aug 15 08:09:13 2013 [TM][E]: Error executing image transfer script:
>> Error copying
>> opennebula:/var/lib/one/datastores/1/a1d4c386b7ffb8c849e3ff5bfae29a08 to
>> 192.168.3.134:/vmfs/volumes/0/0/disk.0
>> Thu Aug 15 08:09:13 2013 [DiM][I]: New VM state is FAILED
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130822/65b288c2/attachment-0002.htm>


More information about the Users mailing list