[one-users] Can't start image with kvm from Sunstone
Héctor Sanjuán
hsanjuan at opennebula.org
Mon May 2 13:46:18 PDT 2011
Hi,
Is it possible that you are using the Sunstone 2.2 beta? The bug you are
describing was fixed for the final 2.2 release
(http://dev.opennebula.org/issues/511).
If it is the case, updating should help.
Héctor
El 02/05/11 22:35, Ted Hesselroth escribió:
> Using 2.2.
>
> Error in 42.log is
>
> Mon May 2 14:48:25 2011 [VMM][I]: Generating deployment file:
> /var/lib/one/42/deployment.0
> Mon May 2 14:48:25 2011 [VMM][E]: No ARCH defined and no default provided.
>
> A check of the deployment file shows it is truncated.
>
> # cat /var/lib/one/42/deployment.0 <domain type='kvm'>
> <name>one-42</name>
> <vcpu>1</vcpu>
> <memory>1024000</memory>
> <os>
>
> The source code shows that LibVirtDriverKVM.cc is expecting the ARCH
> element to be wrapped in an OS element. Indeed, in the vm_pool table VMs
> started from the command line have arch elements wrapped like so
>
>
> <TEMPLATE>...<OS><ARCH><![CDATA[x86_64]]></ARCH></OS>...
>
> but from Sunstone they are not wrapped
>
>
> <TEMPLATE><ARCH><![CDATA[x86-64]]></ARCH>...
>
> Thus the parsing fails and deployment_description_kvm exits.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Héctor Sanjuan
OpenNebula.org
More information about the Users
mailing list