[one-users] Can't start image with kvm from Sunstone

Ted Hesselroth tdh at fnal.gov
Mon May 2 13:35:04 PDT 2011


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.





More information about the Users mailing list