[openstack-dev] [nova] libvirtError: XML error: Missing CPU model name on 2nd level vm
Solly Ross
sross at redhat.com
Tue Aug 5 17:49:41 UTC 2014
Hi Kevin,
Running devstack in a VM is perfectly doable. Many developers use
devstack inside a VM (I run mine inside a VM launched using libvirt
on KVM). I can't comment on the issue that you're encountering,
but perhaps something wasn't configured correctly when you launched the
VM?
Best Regards,
Solly Ross
----- Original Message -----
> From: "Chen CH Ji" <jichenjc at cn.ibm.com>
> To: openstack-dev at lists.openstack.org
> Sent: Friday, August 1, 2014 5:04:16 AM
> Subject: [openstack-dev] [nova] libvirtError: XML error: Missing CPU model name on 2nd level vm
>
>
>
> Hi
> I don't have a real PC to so created a test env ,so I created a 2nd level env
> (create a kvm virtual machine on top of a physical host then run devstack o
> the vm)
> I am not sure whether it's doable because I saw following error when start
> nova-compute service , is it a bug or I need to update my configuration
> instead? thanks
>
>
> 2014-08-01 17:04:51.532 DEBUG nova.virt.libvirt.config [-] Generated XML
> ('<cpu>\n <arch>x86_64</arch>\n <topology sockets="1" cores="1"
> threads="1"/>\n</cpu>\n',) from (pid=16956) to_xml
> /opt/stack/nova/nova/virt/libvirt/config.py:79
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 346, in
> fire_timers
> timer()
> File "/usr/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in
> __call__
> cb(*args, **kw)
> File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 163, in
> _do_send
> waiter.switch(result)
> File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in
> main
> result = function(*args, **kwargs)
> File "/opt/stack/nova/nova/openstack/common/service.py", line 490, in
> run_service
> service.start()
> File "/opt/stack/nova/nova/service.py", line 164, in start
> self.manager.init_host()
> File "/opt/stack/nova/nova/compute/manager.py", line 1055, in init_host
> self.driver.init_host(host=self.host)
> File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 633, in init_host
> self._do_quality_warnings()
> File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 616, in
> _do_quality_warnings
> caps = self._get_host_capabilities()
> File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2942, in
> _get_host_capabilities
> libvirt.VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES)
> File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit
> result = proxy_call(self._autowrap, f, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in
> proxy_call
> rv = execute(f,*args,**kwargs)
> File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in
> tworker
> rv = meth(*args,**kwargs)
> File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3127, in baselineCPU
> if ret is None: raise libvirtError ('virConnectBaselineCPU() failed',
> conn=self)
> libvirtError: XML error: Missing CPU model name
>
> Best Regards!
>
> Kevin (Chen) Ji 纪 晨
>
> Engineer, zVM Development, CSTL
> Notes: Chen CH Ji/China/IBM at IBMCN Internet: jichenjc at cn.ibm.com
> Phone: +86-10-82454158
> Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
> Beijing 100193, PRC
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
More information about the OpenStack-dev
mailing list