<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">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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 class="HOEnZb"><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><span class="HOEnZb"><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">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><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>
</div>