[one-users] ESXi image datastore (default) not working?

Davide Papini dadopap at gmail.com
Wed Jan 22 09:53:16 PST 2014


I sent earlier the same email without subject, I apologize for that, I am
resending the same one with a subject now.

I have a problem downloading images from marketplace and I think it is due
to the fact that openebula cannot interface with esxi.

I use opennebula 4.4 and esxi5.1 (fresh install)

When I try to import an image from the marketplace I get a space error.
I tryed to tell opennebula to skip free space check and then I get another
error:

ERROR Wed Jan 22 16:01:54 2014 : Error copying image in the datastore:
Error copying /var/lib/one/tmp/eba28569ed15dbf0bbe425d431683657 to
/var/lib/one//datastores/1/eba28569ed15dbf0bbe425d431683657 through SCP

could someone please help me with that?

I think the problem is in the vmfs datastore configuration.

to configure opennebula I used the guide at:

http://docs.opennebula.org/stable/design_and_installation/quick_starts/qs_centos_vmware.html#qs-centos-vmware

what troubles me is that I think opennebula tries to write on
/vmfs/volumes/1 instead that /vmfs/volumes/datastore1 (on the esxi machine)



the output of  onedatastore show 1 -x is:


<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>vmfs</DS_MAD>
  <TM_MAD>vmfs</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>0</TOTAL_MB>
  <FREE_MB>0</FREE_MB>
  <USED_MB>31</USED_MB>
  <IMAGES>
    <ID>0</ID>
  </IMAGES>
  <TEMPLATE>
    <BRIDGE_LIST><![CDATA[10.202.20.13]]></BRIDGE_LIST>
    <CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>
    <DATASTORE_CAPACITY_CHECK><![CDATA[NO]]></DATASTORE_CAPACITY_CHECK>
    <DISK_TYPE><![CDATA[FILE]]></DISK_TYPE>
    <DS_MAD><![CDATA[vmfs]]></DS_MAD>
    <LN_TARGET><![CDATA[NONE]]></LN_TARGET>
    <TM_MAD><![CDATA[vmfs]]></TM_MAD>
    <TYPE><![CDATA[IMAGE_DS]]></TYPE>
  </TEMPLATE>
</DATASTORE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140122/5ecc84c8/attachment-0001.htm>


More information about the Users mailing list