[one-users] When DEV_PREFIX="sd" Failed to deploy VM
Ruben S. Montero
rsmontero at opennebula.org
Tue Aug 14 11:23:11 PDT 2012
Hi
Note that recent qemu/libvirt versions do not support booting from the SCSI
bus (set with DEV_PREFIC=sd).
Cheers
Ruben
On Aug 14, 2012 8:47 AM, "Daniel Molina" <dmolina at opennebula.org> wrote:
> Hi,
>
> On 13 August 2012 21:58, Lawrence Chiong <junix88 at gmail.com> wrote:
>
>> Hello there,
>>
>> Need again your help regarding issues I found when I used "sd" as my
>> DEVICE_PREFIX. Below is my resulting deployment file as shown:
>>
>> oneimage]# cat /var/lib/one/datastores/0/214/deployment.0
>> *<domain type='kvm' xmlns:qemu='
>> http://libvirt.org/schemas/domain/qemu/1.0'>
>> <name>one-214</name>
>> <vcpu>1</vcpu>
>> <memory>1048576</memory>
>> <os>
>> <type arch='x86_64'>hvm</type>
>> <boot dev='hd'/>
>> </os>
>> <devices>
>> <emulator>/usr/libexec/qemu-kvm</emulator>
>> <disk type='file' device='disk'>
>> <source file='/var/lib/one//datastores/0/214/disk.0'/>
>> <target dev='sda'/>
>> <driver name='qemu' type='raw' cache='default'/>
>> </disk>
>> <interface type='bridge'>
>> <source bridge='br0'/>
>> <mac address='02:00:c0:a8:01:1e'/>
>> </interface>
>> <graphics type='vnc' listen='0.0.0.0' port='6114'/>
>> </devices>
>> <features>
>> <acpi/>
>> </features>
>>
>> </domain>*
>>
>> And this is the log file in the oned.log during deployment -
>>
>> Mon Aug 13 13:50:39 2012 [TM][D]: Message received: TRANSFER SUCCESS 214 -
>> Mon Aug 13 13:50:39 2012 [VMM][D]: Message received: LOG I 214 ExitCode: 0
>> Mon Aug 13 13:50:39 2012 [VMM][D]: Message received: LOG I 214
>> Successfully execute network driver operation: pre.
>> 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
>> 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
>> Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 error:
>> Unable to read from monitor: Connection reset by peer
>> 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
>> Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 ExitCode:
>> 255
>> Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 Failed to
>> execute virtualization driver operation: deploy.
>> *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*
>>
>> Did I missed something here?
>>
>
> Could you check if there is any error in the libvirt log? and please send
> us the opennebula template you're using.
>
> Cheers
>
>
>>
>> Thank you.
>>
>> Junix
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120814/7ead97a4/attachment-0003.htm>
More information about the Users
mailing list