Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-104382

RFE: provide a way to override QEMU crypto priority for live migration [rhel-10.1]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • libvirt-11.5.0-4.el10
    • None
    • Moderate
    • ZStream
    • rhel-virt-core-libvirt-1
    • 26
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Regression Exception
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      We have a serious bug with TLS usage for live migration in QEMU which results in the source QEMU VM crashing if live migration RAM transfer volume exceeds a certain threshold. This is easily triggered with a 16 GB, 4 VPU VM using the 'stress-ng' program and is impacting a number of OpenStack customers.

      https://issues.redhat.com/browse/RHEL-98671

      While we can workaround it with an override of /etc/crypto-policies on the target host, we need a solution with greater flexibility and precision.

      Specifically we need libvirt to be able to set the 'priority' field in the QEMU 'tls-creds-x509' objects it loads into QEMU, based on settings in /etc/libvirt/qemu.conf

      This will allow the workaround to be targetted exclusively to live migration and configured on either source or target hosts, as best suits the user. It will also be easier to undo the effects once a GNUTLS fix arrives, since qemu.conf can be updated without needing to restart all QEMU processes.

      The first proposed patches are in:

      https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/LX5KMIUFZSP5DPUXKJDFYBZI5TIE3E5N/

      and this will probably want to be backported to active EUS streams in 9.x at least.

        1. vm1.log-dst-aes
          1.69 MB
        2. vm1.log-dst-default
          699 kB
        3. vm1.log-dst-tls1.3
          672 kB
        4. vm1.log-src-aes
          682 kB
        5. vm1.log-src-default
          169 kB
        6. vm1.log-src-tls1.3
          1006 kB

              rhn-engineering-berrange Daniel Berrangé
              rhn-engineering-berrange Daniel Berrangé
              Liping Cheng Liping Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: