[Bug 873983] New: Virtualization/libvirt: Bug in live migration
https://bugzilla.novell.com/show_bug.cgi?id=873983 https://bugzilla.novell.com/show_bug.cgi?id=873983#c0 Summary: Virtualization/libvirt: Bug in live migration Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: jfehlig@suse.com ReportedBy: admin@inbox-online.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: System Test Blocker: --- During OpenStack live migration this error appears: "XML error: CPU feature `sse4a' specified more than once" Information for package libvirt: -------------------------------- Repository: Virtualization Name: libvirt Version: 1.2.3-385.1 Arch: x86_64 Vendor: obs://build.opensuse.org/Virtualization Installed: Yes Status: up-to-date Installed Size: 106 B Summary: Library providing a simple virtualization API Description: Libvirt is a C toolkit to interact with the virtualization capabilities of Linux. Virtualization of the Linux Operating System means the ability to run multiple instances of Operating Systems concurrently on a single hardware system where the basic resources are driven by a Linux instance. The library aims to provide long term stable C API to interact with Linux virtualization technologies. Bug report and a possible fix on Red Hat: https://bugzilla.redhat.com/show_bug.cgi?id=1049391#c11 Log: {"vendor": "AMD", "model": "qemu64", "arch": "x86_64", "features": ["sse4a", "abm", "lahf_lm", "hypervisor", "popcnt", "sse4a", "abm", "lahf_lm", "hypervisor", "popcnt", "svm", "lm", "nx", "syscall", "cx16", "pni", "sse2", "sse", "fxsr", "mmx", "clflush", "pse36", "pat", "cmov", "mca", "pge", "mtrr", "sep", "apic", "cx8", "mce", "pae", "msr", "tsc", "pse", "de", "fpu"], "topology": {"cores": 1, "threads": 1, "sockets": 1}} 2014-04-16 16:49:27.859 359 ERROR nova.virt.libvirt.driver [req-bd0d45e5-b61a-495d-b074-b32cb0a263a6 e5e1cd3c410241f2a7abbd278b2ce16c 30723441633646cd920a09a409d5fc7a] CPU doesn't have compatibility. XML error: CPU feature `sse4a' specified more than once Refer to http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult 2014-04-16 16:49:27.873 359 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: XML error: CPU feature `sse4a' specified more than once 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last): 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher incoming.message)) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher payload) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher return f(self, context, *args, **kw) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 309, in decorated_function 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher e, sys.exc_info()) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 296, in decorated_function 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4418, in check_can_live_migrate_destination 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher block_migration, disk_over_commit) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4189, in check_can_live_migrate_destination 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher self._compare_cpu(source_cpu_info) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4331, in _compare_cpu 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher LOG.error(m, {'ret': ret, 'u': u}) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4327, in _compare_cpu 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher ret = self._conn.compareCPU(cpu.to_xml(), 0) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 179, in doit 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher result = proxy_call(self._autowrap, f, *args, **kwargs) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 139, in proxy_call 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher rv = execute(f,*args,**kwargs) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 77, in tworker 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher rv = meth(*args,**kwargs) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3221, in compareCPU 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher if ret == -1: raise libvirtError ('virConnectCompareCPU() failed', conn=self) 2014-04-16 16:49:27.873 359 TRACE oslo.messaging.rpc.dispatcher libvirtError: XML error: CPU feature `sse4a' specified more than once -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873983 https://bugzilla.novell.com/show_bug.cgi?id=873983#c1 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jdouglas@suse.com InfoProvider| |admin@inbox-online.com --- Comment #1 from James Fehlig <jfehlig@suse.com> 2014-04-22 01:09:33 UTC --- The fixes mentioned in the Redhat bug were included in libvirt 1.2.2, so you must be seeing another similar issue. Can you provide a libvirtd log snippet containing the error, similar to comment 6 in the Redhat bug? https://bugzilla.redhat.com/show_bug.cgi?id=1049391#c6 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873983 https://bugzilla.novell.com/show_bug.cgi?id=873983#c2 --- Comment #2 from James Fehlig <jfehlig@suse.com> 2014-06-25 21:11:17 UTC --- Any news here? Are you able to reproduce and collect the log snippet as requested in #1? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873983 https://bugzilla.novell.com/show_bug.cgi?id=873983#c3 --- Comment #3 from Filip Đorđević <admin@inbox-online.com> 2014-06-26 07:26:16 UTC --- I can't reproduce this on a regular setup, just in nested KVM environment (running OpenStack in KVM). I will try to build the setup again and get the log snippet. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873983 https://bugzilla.novell.com/show_bug.cgi?id=873983#c4 --- Comment #4 from Filip Đorđević <admin@inbox-online.com> 2014-07-04 11:18:24 UTC --- I was finally able to find some time to try to reproduce this bug again. It still persists. I've uploaded libvirtd log to zippyshare, since it was too big for pastebin, and I don't know what info can be safely excluded: http://www41.zippyshare.com/v/70984812/file.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873983 https://bugzilla.novell.com/show_bug.cgi?id=873983#c5 --- Comment #5 from James Fehlig <jfehlig@suse.com> 2014-07-16 22:51:19 UTC --- What version of OpenStack are you using? Sounds like you are now hitting this bug https://bugs.launchpad.net/nova/+bug/1266534 Do you have the fix mentioned in comment #10 of that bug? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=873983 https://bugzilla.novell.com/show_bug.cgi?id=873983#c6 --- Comment #6 from Filip Đorđević <admin@inbox-online.com> 2014-07-17 07:23:22 UTC --- Thank you for your reply. I am using Icehouse, updated to the latest version on the day of my previous post from this repository: http://download.opensuse.org/repositories/Cloud:/OpenStack:/Icehouse/openSUS... I will check if the patch from the comment #10 was included in that version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com