Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-34322

Investigate feasibility of libvirt skipping shared fs check during live migration

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Storage Platform
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      • Additional card to track the libvirt change making it into KubeVirt
      • Explain why migration from nfs->local works regardless of spotted SELinux breakage
      • Custom KubeVirt build with libvirt changes tested against Portworx with LD_PRELOAD hack disabled
      Show
      Additional card to track the libvirt change making it into KubeVirt Explain why migration from nfs->local works regardless of spotted SELinux breakage Custom KubeVirt build with libvirt changes tested against Portworx with LD_PRELOAD hack disabled
    • CNV-34312 - Storage Partner Integration
    • ---
    • ---
    • Storage Core Sprint 244, Storage Core Sprint 245, Storage Core Sprint 246, Storage Core Sprint 247, Storage Core Sprint 248, Storage Core Sprint 249, Storage Core Sprint 250
    • No

      Currently, when kubevirt calls the libvirt live migration API, a check is performed
      to ensure the target is a shared fs (nfs/cephfs etc).

      This was found to be a problem with Portworx, where the target is an extv4 shared fs that fails this validation.
      To get around this today, Portworx subcomponent stork is injecting LD_PRELOAD into virt-launcher to intercept the libvirt statfs call and "lie" to it:
      https://github.com/libopenstorage/stork/pull/1117
      This is of course a bit cumbersome and may or may not cause issues in the future

      We would like to attempt to solve this issue more seamlessly,
      with the idea as follows:

              akalenyu Alex Kalenyuk
              akalenyu Alex Kalenyuk
              Andrea Bolognani
              Jenia Peimer Jenia Peimer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: