Hi Juan Luis,<div><br></div><div>You are using the "type" attribute for your second DISK wrongly, take a look at [0].</div><div><br></div><div>Let's try with this instead:</div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
<div>DISK   = [</div></div><div><div>  TYPE     = swap,</div></div><div><div>  SIZE     = 1024,</div></div><span class="Apple-style-span" style="border-collapse: separate; font-size: small;">  READONLY = "no"</span><br>
<div><div>  TARGET   = "sdb"]</div></div></span></div><div><br></div><div><br></div><div>Regards.</div><div><br></div><div>[0] <a href="http://opennebula.org/documentation:rel2.0:template">http://opennebula.org/documentation:rel2.0:template</a></div>
<div><br clear="all">Carlos Martín, Cloud Technology Engineer/Researcher<br>DSA Research Group: web <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a> and blog <a href="http://blog.dsa-research.org" target="_blank">http://blog.dsa-research.org</a><br>
OpenNebula Open Source Toolkit for Cloud Computing: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
<br><br><div class="gmail_quote">2010/10/1 Juan Luis Prieto Martínez <span dir="ltr"><<a href="mailto:sirjuanlu@gmail.com">sirjuanlu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<div><br></div><div>I'm having a problem when crating my vm using one. My setup is this:</div><div><br></div><div><ul><li>I'm using ONE 2.0 as front end and a host with xen 3.0.3</li><li>I have a dummy connection set between the frontend and the host.</li>

<li>the xen image that I wanna run is in the host.</li></ul><br></div><div>This is the script that I'm using</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div>PU    = 0.5</div></div><div><div>MEMORY = 256</div></div><div><div>OS     = [</div></div><div><div>  kernel   = "/boot/vmlinuz-2.6.18-194.el5xen",</div></div><div><div>  initrd   = "/boot/no-scsi-initrd-2.6.18-194.el5xen.img",</div>

</div><div><div>  root     = "sda1" ]</div></div><div><div>DISK   = [</div></div><div><div>  source   = "/srv/cloud/one/var/hello-cloud.img",</div></div><div><div>  target   = "sda1",</div></div>

<div><div>  readonly = "no" ]</div></div><div><div>DISK   = [</div></div><div><div>  type     = "/srv/cloud/one/var/hello-cloud-swap.img",</div></div><div><div>  size     = 1024,</div></div><div><div>
  target   = "sdb"]</div>
</div></blockquote><div><br></div><div><br></div><div>This is the log after run <b>onevm create /tmp/one/hello-cloud.template</b></div><div><b><br></b></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div>oneadmin@onefront:/srv/cloud/one/var/5$ cat vm.log</div></div><div><div>Fri Oct  1 12:46:08 2010 [DiM][I]: New VM state is ACTIVE.</div></div><div><div>Fri Oct  1 12:46:08 2010 [LCM][I]: New VM state is PROLOG.</div>

</div><div><div>Fri Oct  1 12:46:08 2010 [TM][E]: prolog, undefined source disk image in VM template</div></div><div><div>Fri Oct  1 12:46:08 2010 [DiM][I]: New VM state is FAILED</div></div><div><div>Fri Oct  1 12:46:08 2010 [TM][W]: Ignored: TRANSFER SUCCESS 5 -</div>

</div></blockquote><div><br></div><div><br></div><div>In the host the vm is in this directory</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>[root@centos-xen var]# ls</div>
<div>hello-cloud.img  hello-cloud-swap.img  hello-world-xen.conf</div><div>[root@centos-xen var]# pwd</div><div>/srv/cloud/one/var</div></div></blockquote><div><br></div>Can you please tell me what am I doing wrong?<div>
<br>
</div><div>Thanks in advance.</div><div><br></div><div>Regards<div>JuanLu<br>
</div></div>
<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></div>