Description of problem: Live-migration fail with message "error: Unsafe migration: Migration without shared storage is unsafe" when IBM GPFS (Spectrum Scale) is used as shared file system. Version-Release number of selected component: 4.5.0-10.el7_6.3.x86_64 How reproducible: Install 2 nodes CentOS 7.6 with last release of libvirt Install and mount on both nodes GPFS shared file system. On first node create a vm with disk type file and source file on shared filesystem. Live migrate the vm on second node. Steps to Reproduce: 1. yum install libvirtd 2. virsh create vm.xml 3. virsh migrate --live vm qemu+ssh://second.node/system Actual results: error: Unsafe migration: Migration without shared storage is unsafe Expected results: no error Additional info: If I use the option --unsafe the live-migration works fine. But it isn't the expected behavior. This impact with our OpenStack environment base con Rocky release
I have just summited 2 patches: 1- from upstream code 2- from CentOS srpm for 4.5.0 version The code was successufully compiled and tested in both cases. I can't see the submitted patches in the list archive, probably the e-mails must be moderated. For us fixing this bug it's very urgent.
Subitted patch https://www.redhat.com/archives/libvir-list/2019-February/msg01428.html
The patch was pushed upstream: commit d163b940a73a0d6b8277a4bccef2b60936933cf0 Author: Diego Michelotto <diego.michelotto.it> Date: Mon Feb 25 19:19:03 2019 +0100 virfile: added GPFS as shared fs Added GPFS as shared file system recognized during live migration security checks. GPFS is 'IBM General Parallel File System' also called 'IBM Spectrum Scale' BUG: https://bugzilla.redhat.com/show_bug.cgi?id=1679528 Signed-off-by: Diego Michelotto <diego.michelotto.it> Signed-off-by: Peter Krempa <pkrempa>