I found what was wrong, I needed to use TARGET in the DISK definition otherwise it can't generate the deployment.0 file.<div><br></div><div>Best regards,</div><div>Oscar Elfving<br><br><div class="gmail_quote">On Wed, Nov 10, 2010 at 11:21 AM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@gmail.com">jfontan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Can you send us the vm log file located at $ONE_LOCATION/var/58/vm.log<br>
or /var/log/58.log?<br>
<br>
Bye<br>
<div><div></div><div class="h5"><br>
On Tue, Nov 9, 2010 at 3:35 PM, Oscar Elfving <<a href="mailto:sofam84@gmail.com">sofam84@gmail.com</a>> wrote:<br>
> Hello,<br>
> I am trying to create a new VM from a raw disk image, I have added it in the<br>
> template like this:<br>
> DISK = [<br>
> TYPE = "disk",<br>
> SOURCE = "/srv/cloud/var/images/ws1.img",<br>
> CLONE = no<br>
> ]<br>
> But ONE just creates it, links it and then immediately deletes it, why is<br>
> this?<br>
> oned.log:<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:<br>
> Creating directory /srv/cloud/one/var/58/images<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:<br>
> Executed "mkdir -p /srv/cloud/one/var/58/images".<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:<br>
> Executed "chmod a+w /srv/cloud/one/var/58/images".<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh: Link<br>
> /srv/cloud/var/images/ws1.img<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:<br>
> Executed "ln -s /srv/cloud/var/images/ws1.img<br>
> /srv/cloud/one/var/58/images/disk.0".<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: TRANSFER SUCCESS 58 -<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_delete.sh:<br>
> Deleting /srv/cloud/one/var/58/images<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_delete.sh:<br>
> Executed "rm -rf /srv/cloud/one/var/58/images".<br>
> Tue Nov 9 15:33:18 2010 [TM][D]: Message received: TRANSFER SUCCESS 58 -<br>
> Best regards,<br>
> Oscar Elfving<br>
><br>
</div></div>> _______________________________________________<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>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher<br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
</font></blockquote></div><br></div>