Public bug reported:

Environment
===========
Affected OS: Ubuntu 24.04 (Noble Numbat)
Libvirt version: 10.0


Description
===========

Right now libvirt/qemu have a superset of issues related to live
migrations, which makes navigating around them almost impossible (gnutls
realted bug in QEMU, which crashes loaded domains when TLS is used:
https://gitlab.com/qemu-project/qemu/-/issues/1937).

While using parallel migrations were effective workaround, as this creates 
multiple counter and significantly increases throughput, their usage on Libvirt 
10.0 is not possible anymore due to a bug in Libvirt itself, which was 
introduced in 8.2 by this commit:
https://github.com/libvirt/libvirt/commit/e8fa09d66bcb95a3f23fe5957dd203f1f341f4b5

The fix for this issue was proposed and released in libvirt 10.3:
https://github.com/libvirt/libvirt/commit/5d48c5d215071526383b8fc50d81ecde62e4111b


How to reproduce
================

1. Use TLS for migrating memory and QEMU as a virt layer.
2. Use parallel migrations
3. Have a domain with a local (non-shared) storage
4. Attempt to live migrate a domain between hypervisors running Ubuntu 24.04 
and shipped libvirt/qemu

Actual result
=============

Migration fails with `libvirt.libvirtError: internal error: unable to
execute QEMU command 'blockdev-add': Certificate does not match the
hostname`

Expected result
===============

Migration sucessfully passes


Proposed solution
=================

Backport fix
https://github.com/libvirt/libvirt/commit/5d48c5d215071526383b8fc50d81ecde62e4111b
to the pkg/ubuntu/noble

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2133183

Title:
  libvirt fails to live-migrate instances with non-shjared storage, tls
  and live migrations

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2133183/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to