cat /proc/cpuinfo Make sure the cpu model and version is listed on /usr/share/libvirt/cpu_map.xml
Hope this helps. On Tue, Aug 5, 2014 at 2:49 PM, Solly Ross <[email protected]> wrote: > 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" <[email protected]> > > To: [email protected] > > 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@IBMCN Internet: [email protected] > > Phone: +86-10-82454158 > > Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, > > Beijing 100193, PRC > > > > _______________________________________________ > > OpenStack-dev mailing list > > [email protected] > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
