<p>Hi</p>
<p>Note that recent qemu/libvirt versions do not support booting from the SCSI bus (set with DEV_PREFIC=sd).</p>
<p>Cheers</p>
<p>Ruben</p>
<div class="gmail_quote">On Aug 14, 2012 8:47 AM, "Daniel Molina" <<a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br><div class="gmail_quote">On 13 August 2012 21:58, Lawrence Chiong <span dir="ltr"><<a href="mailto:junix88@gmail.com" target="_blank">junix88@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello there,<br><br>Need again your help regarding issues I found when I used "sd" as my DEVICE_PREFIX. Below is my resulting deployment file as shown:<br><br>oneimage]# cat /var/lib/one/datastores/0/214/deployment.0<br>
<b><domain type='kvm' xmlns:qemu='<a href="http://libvirt.org/schemas/domain/qemu/1.0" target="_blank">http://libvirt.org/schemas/domain/qemu/1.0</a>'><br> <name>one-214</name><br> <vcpu>1</vcpu><br>
<memory>1048576</memory><br> <os><br> <type arch='x86_64'>hvm</type><br> <boot dev='hd'/><br> </os><br> <devices><br> <emulator>/usr/libexec/qemu-kvm</emulator><br>
<disk type='file' device='disk'><br> <source file='/var/lib/one//datastores/0/214/disk.0'/><br> <target dev='sda'/><br> <driver name='qemu' type='raw' cache='default'/><br>
</disk><br> <interface type='bridge'><br> <source bridge='br0'/><br> <mac address='02:00:c0:a8:01:1e'/><br> </interface><br>
<graphics type='vnc' listen='0.0.0.0' port='6114'/><br> </devices><br> <features><br> <acpi/><br> </features><br> <br></domain></b><br>
<br>And this is the log file in the oned.log during deployment -<br><br>Mon Aug 13 13:50:39 2012 [TM][D]: Message received: TRANSFER SUCCESS 214 -<br>Mon Aug 13 13:50:39 2012 [VMM][D]: Message received: LOG I 214 ExitCode: 0<br>
Mon Aug 13 13:50:39 2012 [VMM][D]: Message received: LOG I 214 Successfully execute network driver operation: pre.<br>Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/214/deployment.0 localhost 214 localhost<br>
Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 error: Failed to create domain from /var/lib/one//datastores/0/214/deployment.0<br>Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 error: Unable to read from monitor: Connection reset by peer<br>
Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG E 214 Could not create domain from /var/lib/one//datastores/0/214/deployment.0<br>Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 ExitCode: 255<br>Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 Failed to execute virtualization driver operation: deploy.<br>
<b>Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: DEPLOY FAILURE 214 Could not create domain from /var/lib/one//datastores/0/214/deployment.0</b><br><br>Did I missed something here?<br></blockquote><div><br></div><div>
Could you check if there is any error in the libvirt log? and please send us the opennebula template you're using.</div><div><br></div><div>Cheers</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>Thank you.<br><br>Junix<br>
<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><br><br clear="all"><div><br></div>-- <br>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula<br>
<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>