[Openstack] Unable to start nova-compute - libvirtError: XML error: Missing CPU model name

Jian Hua Geng gengjh at cn.ibm.com
Mon Jun 16 08:17:57 UTC 2014


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 at lists.openstack.org"     
             06/16/2014 03:40          <openstack at 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 at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140616/15072a4c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140616/15072a4c/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic23354.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140616/15072a4c/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140616/15072a4c/attachment-0002.gif>


More information about the Openstack mailing list