<div dir="ltr">Actually, this took care of the second problem, but I'm still seeing the first issue when downloading an image from the marketplace.  The creating of an image from the 'ttylinux - VMware' worked fine, but I'm still seeing the error for "CentOS Server 6.2 - VMware".  I manually downloaded the file from the marketplace and tried to upload it while creating an image, but I saw the same error.  I have verified that there is enough space on my disk.<div>

<br></div><div><div>Tue Apr 15 13:44:48 2014 [ImM][I]: Command execution fail: /var/lib/one/remotes/datastore/vmfs/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjE3PC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+Q2VudE9TIFNlcnZlciA2LjIgLSBWTXdhcmVfZmlsZTAtMjwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+MDwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+PE9USEVSX1U+MDwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MDwvRElTS19UWVBFPjxQRVJTSVNURU5UPjA8L1BFUlNJU1RFTlQ+PFJFR1RJTUU+MTM5NzU4NzA0ODwvUkVHVElNRT48U09VUkNFPjwvU09VUkNFPjxQQVRIPmh0dHA6Ly9tYXJrZXRwbGFjZS5jMTJnLmNvbS9hcHBsaWFuY2UvNGZmMmNlMzQ4ZmI4MWQ0NDA2MDAwMDAzL2Rvd25sb2FkLzA8L1BBVEg+PEZTVFlQRT48L0ZTVFlQRT48U0laRT44MTkyPC9TSVpFPjxTVEFURT40PC9TVEFURT48UlVOTklOR19WTVM+MDwvUlV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EZSRUVfTUI+NzgwNzY8L0ZSRUVfTUI+PFVTRURfTUI+NTYzPC9VU0VEX01CPjxJTUFHRVM+PElEPjE0PC9JRD48SUQ+MTY8L0lEPjwvSU1BR0VTPjxURU1QTEFURT48QkFTRV9QQVRIPjwhW0NEQVRBWy92bWZzL3ZvbHVtZXMvXV0+PC9CQVNFX1BBVEg+PEJSSURHRV9MSVNUPjwhW0NEQVRBWzEwLjIwLjgyLjU0XV0+PC9CUklER0VfTElTVD48Q0xPTkVfVEFSR0VUPjwhW0NEQVRBW1NZU1RFTV1dPjwvQ0xPTkVfVEFSR0VUPjxESVNLX1RZUEU+PCFbQ0RBVEFbRklMRV1dPjwvRElTS19UWVBFPjxEU19NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvRFNfTUFEPjxMTl9UQVJHRVQ+PCFbQ0RBVEFbTk9ORV1dPjwvTE5fVEFSR0VUPjxUTV9NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvVE1fTUFEPjxUWVBFPjwhW0NEQVRBW0lNQUdFX0RTXV0+PC9UWVBFPjwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+ 17</div>

<div>Tue Apr 15 13:44:48 2014 [ImM][I]: cp: Downloading <a href="http://marketplace.c12g.com/appliance/4ff2ce348fb81d4406000003/download/0">http://marketplace.c12g.com/appliance/4ff2ce348fb81d4406000003/download/0</a> to the image repository</div>

<div>Tue Apr 15 13:44:48 2014 [ImM][E]: cp: Command "mv -f /var/lib/one/tmp/c39c17bfc1654cc3d683dd8dab5e5aa0/ /var/lib/one/tmp/c39c17bfc1654cc3d683dd8dab5e5aa0/disk.vmdk" failed: mv: cannot move `/var/lib/one/tmp/c39c17bfc1654cc3d683dd8dab5e5aa0/' to a subdirectory of itself, `/var/lib/one/tmp/c39c17bfc1654cc3d683dd8dab5e5aa0/disk.vmdk'</div>

<div>Tue Apr 15 13:44:48 2014 [ImM][E]: Error renaming file /var/lib/one/tmp/c39c17bfc1654cc3d683dd8dab5e5aa0/ to /var/lib/one/tmp/c39c17bfc1654cc3d683dd8dab5e5aa0/disk.vmdk</div><div>Tue Apr 15 13:44:48 2014 [ImM][I]: ExitCode: 1</div>

<div>Tue Apr 15 13:44:48 2014 [ImM][E]: Error copying image in the datastore: Error renaming file /var/lib/one/tmp/c39c17bfc1654cc3d683dd8dab5e5aa0/ to /var/lib/one/tmp/c39c17bfc1654cc3d683dd8dab5e5aa0/disk.vmdk</div></div>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 15, 2014 at 1:25 PM, Stephen Levy <span dir="ltr"><<a href="mailto:stephen.levy@telogis.com" target="_blank">stephen.levy@telogis.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I managed to figure out what's going on.  Originally, my oneadmin user id and group id were 501, which were the ids that I set for anonuid and anongid in my /etc/exports file on the frontend, however, when I went to create the oneadmin user in the vSphere client, it would not let me create a user with a UID < 1000 for some reason, so I changed the oneadmin uid and gid on the frontend to 1000, and set that as the id on the vmware server, however, I neglected to change the ids in the /etc/exports file.  Changing them to use the new uid and gid fixed the issue.<div>


<br></div><div>Thanks for your help.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Stephen</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">

On Tue, Apr 15, 2014 at 3:53 AM, Ruben S. Montero <span dir="ltr"><<a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>Hi,<div><br></div><div>It should make all the needed directories. Just to isolate the problem let's put the marketplace part aside, could you try to download the image and register that path. If fails persists, could you send the log files and the image registration template....</div>




<div><br></div><div>Cheers</div><div><br></div><div>Ruben</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Apr 15, 2014 at 12:00 AM, Stephen Levy <span dir="ltr"><<a href="mailto:stephen.levy@telogis.com" target="_blank">stephen.levy@telogis.com</a>></span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">I created a vmware datastore for images as described in vmware quickstart guide.  I see the following two errors while trying to import images from the Marketplace.<div>




<br></div><div>1.  I tried to import the "CentOS Server 6.2 -VMWware" image, but it had an error (presumably after it finished downloading):  </div>

<div><br clear="all"><div><div>        Mon Apr 14 16:44:56 2014 [ImM][I]: cp: Downloading <a href="http://marketplace.c12g.com/appliance/4ff2ce348fb81d4406000003/download/0" target="_blank">http://marketplace.c12g.com/appliance/4ff2ce348fb81d4406000003/download/0</a> to the image repository</div>






<div>        Mon Apr 14 16:44:56 2014 [ImM][E]: cp: Command "mv -f /var/lib/one/tmp/f838291fae5e23f84aeafa9c10f4c6b0/ /var/lib/one/tmp/f838291fae5e23f84aeafa9c10f4c6b0/disk.vmdk" failed: mv: cannot move `/var/lib/one/tmp/f838291fae5e23f84aeafa9c10f4c6b0/' to a         <br>






        subdirectory of itself, `/var/lib/one/tmp/f838291fae5e23f84aeafa9c10f4c6b0/disk.vmdk'</div><div>        Mon Apr 14 16:44:56 2014 [ImM][E]: Error renaming file /var/lib/one/tmp/f838291fae5e23f84aeafa9c10f4c6b0/ to /var/lib/one/tmp/f838291fae5e23f84aeafa9c10f4c6b0/disk.vmdk</div>






<div>        Mon Apr 14 16:44:56 2014 [ImM][I]: ExitCode: 1</div><div>        Mon Apr 14 16:44:56 2014 [ImM][E]: Error copying image in the datastore: Error renaming file /var/lib/one/tmp/f838291fae5e23f84aeafa9c10f4c6b0/ to /var/lib/one/tmp/f838291fae5e23f84aeafa9c10f4c6b0/disk.vmdk</div>






</div><div><br></div><div>2.  I tried tried to import another image from the marketplace (ttylinux - VMware), and it looks like it successfully downloaded and moved the file this time within the tmp directory, however, when it tried to SCP the file over to the vmfs datastore on my vmware host, I saw the following error:</div>






<div><br></div><div><div>       Mon Apr 14 16:29:38 2014 [ImM][I]: cp: Downloading <a href="http://marketplace.c12g.com/appliance/4ff2d3aa8fb81d4406000004/download/0" target="_blank">http://marketplace.c12g.com/appliance/4ff2d3aa8fb81d4406000004/download/0</a> to the image repository</div>






<div>       Mon Apr 14 16:29:38 2014 [ImM][E]: cp: Command "scp -r /var/lib/one/tmp/68236b9cb3208691244d1eb016153092/* 10.20.82.54:/vmfs/volumes/108/" failed: scp: /vmfs/volumes/108/68236b9cb3208691244d1eb016153092: No such    <br>






       file or directory</div><div>       Mon Apr 14 16:29:38 2014 [ImM][E]: Error copying /var/lib/one/tmp/68236b9cb3208691244d1eb016153092 to /vmfs/volumes/108/68236b9cb3208691244d1eb016153092 through SCP </div><div>       Mon Apr 14 16:29:38 2014 [ImM][I]: ExitCode: 1</div>






</div><div><br></div><div>This is presumably because SCP won't create subdirectories while copying if they don't already exist.  /vmfs/volumes/108 exists on the vmware host, but not the 68236b9cb3208691244d1eb016153092 directory.  It seems like the "*" in the source path is unnecessary, and is causing the issue.</div>






<div><br></div><div>Any idea how to fix these problems?</div><span><font color="#888888"><div><br></div>-- <br><div dir="ltr"><p>Stephen Levy</p>

<p>Senior Software Engineer</p>

<p><a href="http://www.telogis.com" target="_blank">www.telogis.com</a>    +1
<a href="tel:512.719.6105" value="+15127196105" target="_blank">512.719.6105</a> (direct)</p>

<p>One Platform for Location Intelligence </p></div>
</font></span></div></div></div></div><span><font color="#888888">

<br>
<p><font color="#808080" face="Arial, Helvetica, sans-serif" size="1">This email, and any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. It is the property of Telogis, Inc. If you are not the intended recipient of this email, you are hereby notified that any dissemination, distribution or copying of this email, any attachments thereto, and use of the information contained, is strictly prohibited. If you have received this email in error, please notify the sender and permanently delete the original and any copy thereof.</font></p>




</font></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>




<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><p>Stephen Levy</p>

<p>Senior Software Engineer</p>

<p><a href="http://www.telogis.com" target="_blank">www.telogis.com</a>    +1
<a href="tel:512.719.6105" value="+15127196105" target="_blank">512.719.6105</a> (direct)</p>

<p>One Platform for Location Intelligence </p></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><p>Stephen Levy</p>

<p>Senior Software Engineer</p>

<p><a href="http://www.telogis.com" target="_blank">www.telogis.com</a>    +1
512.719.6105 (direct)</p>

<p>One Platform for Location Intelligence </p></div>
</div>

<br>
<p><font color="#808080" face="Arial, Helvetica, sans-serif" size="1">This email, and any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. It is the property of Telogis, Inc. If you are not the intended recipient of this email, you are hereby notified that any dissemination, distribution or copying of this email, any attachments thereto, and use of the information contained, is strictly prohibited. If you have received this email in error, please notify the sender and permanently delete the original and any copy thereof.</font></p>