[Openstack] Qemu 2.0.0 and libvirtd 1.2.6

David Hill david.hill at ubisoft.com
Tue Jul 15 21:15:03 UTC 2014


Hi guys,

                I've successfully compiled Qemu 2.0.0 and libvirtd 1.2.6 on Centos 6.5 ... I do have a bug though when I try to live migrate a VM from a compute node to another.
Is this solved in trunk?

Thank you very much,

Dave


2014-07-15 21:07:17.622 1912 DEBUG nova.openstack.common.loopingcall [-] Dynamic looping call sleeping for 60.00 seconds _inner /usr/lib/python2.6/site-packages/nova/openstack/common/loopingcall.py:132
2014-07-15 21:07:54.381 1912 INFO nova.virt.libvirt.driver [req-87b6ee5f-671b-426d-8251-30deb7d63aa6 f1d21892f9a0413c9437b6771e4290ce 9cad53a0432d4164837b8c0b35d91307] Instance launched has CPU info:
{"vendor": "Intel", "model": "Nehalem", "arch": "x86_64", "features": ["rdtscp", "dca", "pdcm", "xtpr", "tm2", "est", "vmx", "ds_cpl", "monitor", "dtes64", "pbe", "tm", "ht", "ss", "acpi", "ds", "vme", "rdtscp", "dca", "pdcm", "xtpr", "tm2", "est", "vmx", "ds_cpl", "monitor", "dtes64", "pbe", "tm", "ht", "ss", "acpi", "ds", "vme", "lahf_lm", "lm", "nx", "syscall", "popcnt", "sse4.2", "sse4.1", "cx16", "ssse3", "pni", "sse2", "sse", "fxsr", "mmx", "clflush", "pse36", "pat", "cmov", "mca", "pge", "mtrr", "sep", "apic", "cx8", "mce", "pae", "msr", "tsc", "pse", "de", "fpu"], "topology": {"cores": 4, "threads": 2, "sockets": 1}}
2014-07-15 21:07:54.382 1912 DEBUG nova.virt.libvirt.config [req-87b6ee5f-671b-426d-8251-30deb7d63aa6 f1d21892f9a0413c9437b6771e4290ce 9cad53a0432d4164837b8c0b35d91307] Generated XML ('<cpu>\n  <arch>x86_64</arch>\n  <model>Nehalem</model>\n  <vendor>Intel</vendor>\n  <topology sockets="1" cores="4" threads="2"/>\n  <feature name="rdtscp"/>\n  <feature name="dca"/>\n  <feature name="pdcm"/>\n  <feature name="xtpr"/>\n  <feature name="tm2"/>\n  <feature name="est"/>\n  <feature name="vmx"/>\n  <feature name="ds_cpl"/>\n  <feature name="monitor"/>\n  <feature name="dtes64"/>\n  <feature name="pbe"/>\n  <feature name="tm"/>\n  <feature name="ht"/>\n  <feature name="ss"/>\n  <feature name="acpi"/>\n  <feature name="ds"/>\n  <feature name="vme"/>\n  <feature name="rdtscp"/>\n  <feature name="dca"/>\n  <feature name="pdcm"/>\n  <feature name="xtpr"/>\n  <feature name="tm2"/>\n  <feature name="est"/>\n  <feature name="vmx"/>\n  <feature name="ds_cpl"/>\n  <feature name="monitor"/>\n  <feature name="dtes64"/>\n  <feature name="pbe"/>\n  <feature name="tm"/>\n  <feature name="ht"/>\n  <feature name="ss"/>\n  <feature name="acpi"/>\n  <feature name="ds"/>\n  <feature name="vme"/>\n  <feature name="lahf_lm"/>\n  <feature name="lm"/>\n  <feature name="nx"/>\n  <feature name="syscall"/>\n  <feature name="popcnt"/>\n  <feature name="sse4.2"/>\n  <feature name="sse4.1"/>\n  <feature name="cx16"/>\n  <feature name="ssse3"/>\n  <feature name="pni"/>\n  <feature name="sse2"/>\n  <feature name="sse"/>\n  <feature name="fxsr"/>\n  <feature name="mmx"/>\n  <feature name="clflush"/>\n  <feature name="pse36"/>\n  <feature name="pat"/>\n  <feature name="cmov"/>\n  <feature name="mca"/>\n  <feature name="pge"/>\n  <feature name="mtrr"/>\n  <feature name="sep"/>\n  <feature name="apic"/>\n  <feature name="cx8"/>\n  <feature name="mce"/>\n  <feature name="pae"/>\n  <feature name="msr"/>\n  <feature name="tsc"/>\n  <feature name="pse"/>\n  <feature name="de"/>\n  <feature name="fpu"/>\n</cpu>\n',)  to_xml /usr/lib/python2.6/site-packages/nova/virt/libvirt/config.py:71
2014-07-15 21:07:54.384 1912 ERROR nova.virt.libvirt.driver [req-87b6ee5f-671b-426d-8251-30deb7d63aa6 f1d21892f9a0413c9437b6771e4290ce 9cad53a0432d4164837b8c0b35d91307] CPU doesn't have compatibility.

XML error: CPU feature `rdtscp' specified more than once

Refer to http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult
2014-07-15 21:07:54.409 1912 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: XML error: CPU feature `rdtscp' specified more than once
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     payload)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 303, in decorated_function
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     e, sys.exc_info())
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 290, in decorated_function
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 4406, in check_can_live_migrate_destination
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     block_migration, disk_over_commit)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4201, in check_can_live_migrate_destination
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     self._compare_cpu(source_cpu_info)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4343, in _compare_cpu
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     LOG.error(m, {'ret': ret, 'u': u})
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4339, in _compare_cpu
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     ret = self._conn.compareCPU(cpu.to_xml(), 0)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 179, in doit
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     result = proxy_call(self._autowrap, f, *args, **kwargs)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 139, in proxy_call
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     rv = execute(f,*args,**kwargs)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 77, in tworker
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     rv = meth(*args,**kwargs)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2937, in compareCPU
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher     if ret == -1: raise libvirtError ('virConnectCompareCPU() failed', conn=self)
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher libvirtError: XML error: CPU feature `rdtscp' specified more than once
2014-07-15 21:07:54.409 1912 TRACE oslo.messaging.rpc.dispatcher
2014-07-15 21:07:54.410 1912 ERROR oslo.messaging._drivers.common [-] Returning exception XML error: CPU feature `rdtscp' specified more than once to caller
2014-07-15 21:07:54.411 1912 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n    incoming.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140715/d865358b/attachment.html>


More information about the Openstack mailing list