** Description changed: [ Impact ] - * New KVM_CLOCK flags got added to the kernel, - kvm_has_adjust_clock_stable needs to handle additional flags + * New KVM_CLOCK flags got added to the kernel, + kvm_has_adjust_clock_stable needs to handle additional flags - * The symptom of that not being fixed can lead to assertion errors - on migration breaking the guest and thereby the migration. + * The symptom of that not being fixed can lead to assertion errors + on migration breaking the guest and thereby the migration. [ Test Plan ] - * We'd need to rely on the reporter who has a setup with - windows VMs to migrate that trigger this. + * We'd need to rely on the reporter (or any other volunteer) who + has a setup with windows VMs able to migrate and trigger this. + + * Note: the offending kernel change came in v5.16 and therefore + is only present in the HWE kernels of jammy. You'd have to use + those when testing. [ Where problems could occur ] - * This fix is in Ubuntu releases for almost a year now without - further changes, so we'd hope it is good. Still if issues would occur, - due to the nature of the change it would be in the handling of KVM_CLOCK - and therefore watching out for time related issues is what we should do. + * This fix is in Ubuntu releases for almost a year now without + further changes, so we'd hope it is good. Still if issues would occur, + due to the nature of the change it would be in the handling of KVM_CLOCK + and therefore watching out for time related issues is what we should do. [ Other Info ] - * N/A + * N/A --- In openstack antelope with recent jammy qemu, windows vm fails to live migrate. kvm --version QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.21) Bug looks to be fixed in Qemu 7.2 - just needs to be backported: https://github.com/qemu/qemu/commit/c4ef867f2949bf2a2ae18a4e27cf1a34bbc8aecb#diff-6d0c8ad1a44c8e8094eec87ece508622dca1684cf99884d4df36fd966e8efb28R160 https://bugzilla.redhat.com/show_bug.cgi?id=2108531 2024-10-14 08:49:33.303 7 WARNING nova.virt.libvirt.driver [None req-afd4b434-cba1-4600-8224-0372374f3f8b 1396f824380841bcac6e9235f58ac894 ec4180bb09a44ef99c119f32932cba90 - - default default] [instance: 66e64d08-4d0c-488c-8ecd-14b85217222a] Error monitoring migration: Unable to read from monitor: Connection reset by peer: libvirt.libvirtError: Unable to read from monitor: Connection reset by peer ... 2024-10-14 08:49:33.306 7 ERROR nova.virt.libvirt.driver [None req-afd4b434-cba1-4600-8224-0372374f3f8b 1396f824380841bcac6e9235f58ac894 ec4180bb09a44ef99c119f32932cba90 - - default default] [instance: 66e64d08-4d0c-488c-8ecd-14b85217222a] Live Migration failure: internal error: qemu unexpectedly closed the monitor: qemu-system-x86_64: ../../hw/i386/kvm/clock.c:88: kvmclock_current_nsec: Assertion `time.tsc_timestamp <= migration_tsc' failed.: libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: qemu-system-x86_64: ../../hw/i386/kv m/clock.c:88: kvmclock_current_nsec: Assertion `time.tsc_timestamp <= migration_tsc' failed. 2024-10-14 08:49:33.449 7 ERROR nova.virt.libvirt.driver [None req-afd4b434-cba1-4600-8224-0372374f3f8b 1396f824380841bcac6e9235f58ac894 ec4180bb09a44ef99c119f32932cba90 - - default default] [instance: 66e64d08-4d0c-488c-8ecd-14b85217222a] Failed to cancel migration Requested ope ration is not valid: domain is not running: libvirt.libvirtError: Requested operation is not valid: domain is not running 2024-10-14 08:49:33.451 7 ERROR nova.compute.manager [None req-afd4b434-cba1-4600-8224-0372374f3f8b 1396f824380841bcac6e9235f58ac894 ec4180bb09a44ef99c119f32932cba90 - - default default] [instance: 66e64d08-4d0c-488c-8ecd-14b85217222a] Live migration failed.: libvirt.libvirtError : Unable to read from monitor: Connection reset by peer
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084459 Title: Windows VM live migrations fails - Jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2084459/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs