You should set the cpu_mode=none, if you want to use 'qemu' libvirt type.

--------------------------------------------------
Best regard,
David Geng
--------------------------------------------------


                                                                       
             Rajshree Thorat                                           
             <rajshree.thorat@                                         
             gslab.com>                                                 To
                                       "openstack@lists.openstack.org" 
             06/16/2014 03:40          <openstack@lists.openstack.org> 
             PM                                                         cc
                                                                       
                                                                   Subject
                                       [Openstack] Unable to start     
                                       nova-compute - libvirtError: XML
                                       error: Missing CPU model name   
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




Hi,

I am trying to install Ice-house on ubuntu 12.04 and unable to start
nova-compute service as it throws
below error:

2014-06-16 12:52:24.528 15498 TRACE
nova.openstack.common.threadgroup     self._do_quality_warnings()
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py",
line 638, in _do_quality_warnings
2014-06-16 12:52:24.528 15498 TRACE
nova.openstack.common.threadgroup     caps = self.get_host_capabilities()
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py",
line 2843, in get_host_capabilities
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup
libvirt.VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES)
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in
doit
2014-06-16 12:52:24.528 15498 TRACE
nova.openstack.common.threadgroup     result =
proxy_call(self._autowrap, f, *args, **kwargs)
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in
proxy_call
2014-06-16 12:52:24.528 15498 TRACE
nova.openstack.common.threadgroup     rv = execute(f,*args,**kwargs)
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in
tworker
2014-06-16 12:52:24.528 15498 TRACE
nova.openstack.common.threadgroup     rv = meth(*args,**kwargs)
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3127, in
baselineCPU
2014-06-16 12:52:24.528 15498 TRACE
nova.openstack.common.threadgroup     if ret is None: raise libvirtError
('virConnectBaselineCPU() failed', conn=self)
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup
libvirtError: XML error: Missing CPU model name
2014-06-16 12:52:24.528 15498 TRACE nova.openstack.common.threadgroup

Please see below configuration for nova-compute.

nova-compute.conf

[DEFAULT]
compute_driver=libvirt.LibvirtDriver
[libvirt]
virt_type=qemu

Does anyone has any idea? Pointers in the right direction are highly
appreciated.

Regards,
Rajshree

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to