[one-users] Can't start image with kvm from Sunstone
Ted Hesselroth
tdh at fnal.gov
Tue May 3 10:22:57 PDT 2011
My copy from before #511 was fixed. I have built and deployed from the
head and it is now writing the deployment file with the "os" wrapper
element.
Thanks.
Héctor Sanjuán wrote:
> 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
>>
>>
>
>
>
More information about the Users
mailing list