← Back to team overview

openstack team mailing list archive

Re: [Folsom] CPU mode "host-model" generated in libvirt.xml gives error when booting

 

I seem to recall something similar happening when I built from source. One option is to update your /etc/nova/nova.conf to:

libvirt_cpu_mode=host-passthrough

Vish

On Feb 15, 2013, at 9:07 AM, Sylvain Bauza <sylvain.bauza@xxxxxxxxxxxx> wrote:

> Hi,
> 
> Nova is generating libvirt.xml for each instance with   <cpu mode="host-model" match="exact"/>
> As a result, virsh (and nova-compute) refuses to start instance as complaining :
> "error : internal error Cannot find suitable CPU model for given data"
> 
> 
> Libvirt is 0.9.13-0ubuntu12.2~cloud0 and kvm is qemu-1.3 (from source)
> 
> Please find attached my virsh capabilities (virsh_capabilities.txt)
> 
> 
> I looked at my previous Essex install (with same kvm version) and no <cpu> tag is given in libvirt.xml.template.
> I know that libvirt.xml file generation has been rewritten in Folsom, so I can't see what's wrong, neither how to fix it.
> 
> 
> Thanks,
> -Sylvain
> <virsh_capabilities.txt>_______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References