Bug 1690702
| Summary: | Live migration fail with unsafe error when GPFS is used as shared filesystem | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Han Han <hhan> | |
| Component: | libvirt | Assignee: | Peter Krempa <pkrempa> | |
| Status: | CLOSED ERRATA | QA Contact: | gaojianan <jgao> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 8.0 | CC: | bugproxy, chhu, dyuan, fjin, hannsj_uhl, jdenemar, jsuchane, knoel, lmen, pkrempa, xuzhang, yalzhang | |
| Target Milestone: | rc | Keywords: | OtherQA, Patch, Upstream | |
| Target Release: | 8.1 | Flags: | knoel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | libvirt-5.0.0-10.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1698133 (view as bug list) | Environment: | ||
| Last Closed: | 2019-08-07 10:41:10 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1679528 | |||
| Bug Blocks: | 1624641, 1698133 | |||
|
Description
Han Han
2019-03-20 03:28:23 UTC
For testing, we don't have IBM GPFS servers. Do you know how to borrow some from IBM or other teams? And do we need to clone this to rhel7.6.z or rhel8 slow train? Hi, Hanns-Joachim Uhl, We do not have the IBM GPFS servers in Red Hat, would you please fins the right person help to verify this BZ while it's ON_QA? Thx. Note: I'm not sure if you are the correct person for asking help, I find you are tracking most of the IBM related BZs[1]. So I'm here for asking the help, please correct me and share me the correct contact if I'm wrong. Thx a lot. [1] IBM RHEL8 BZs trackers: Bug 1564587 (ibm8.0bugs, IBM8.0bugs) - IBM 8.0 Bug tracker Bug 1570601 (ibm8.1feat, ibm8.1feature) - IBM RHEL 8.1 feature tracker Bug 1624641 (ibm8.1bugs, IBM8.1bugs) - IBM 8.1 Bug tracker Bug 1663685 (ibm8.2feat, ibm8.2feature) - IBM RHEL 8.2 feature tracker ------- Comment From pthan.com 2019-04-04 01:56 EDT------- We can reproduce this bug on rhel7.6: [root@c20f2m5n04 ~]# virsh migrate --live vmip231 qemu+ssh://c20f2m5n03/system [root@c20f2m5n04 ~]# uname -a Linux c20f2m5n04.gpfs.net 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [root@c20f2m5n04 ~]# virsh list Id Name State ---------------------------------------------------- 2 vmip231 running [root@c20f2m5n04 ~]# ------- Comment From pthan.com 2019-04-08 03:45 EDT------- Looks like we can reproduce this issue on RH 8 RC2: [root@localhost ~]# virsh migrate --live vmip231 qemu+ssh://c20f2m5n03/system error: Unsafe migration: Migration without shared storage is unsafe [root@localhost ~]# uname -a Linux localhost.localdomain 4.18.0-80.el8.x86_64 #1 SMP Wed Mar 13 12:02:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# rpm -qf `which virsh` libvirt-client-4.5.0-23.module+el8+2800+2d311f65.x86_64 Per comment https://bugzilla.redhat.com/show_bug.cgi?id=1679528#c3 this is already 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> I will clone this to rhel-8 as well. For this bug,we can't setup the environment of GPFS,so i can't verify it. Could you please help to verify it when the bug status changes to ON_QA. Thank you ! [Urgent] Hi,could you help to verify this bug on latest version? If you have any questions about setting env,you can give comment here. If not,pls tell me and i will check it with sanity check. Sanity checked in libvirt-5.0.0-11.module+el8.0.1 In /src/util/virfile.c ... 3619 if ((fstypes & VIR_FILE_SHFS_GPFS) && 3620 (f_type == GPFS_SUPER_MAGIC)) 3621 return 1; 3622 3623 return 0; 3624 } ... 3785 VIR_FILE_SHFS_CEPH | 3786 VIR_FILE_SHFS_GPFS); ... Have added code into it. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2395 |