Bug 1654482
Summary: | [Tech Preview] Print warning that Cluster-aware MD RAID1 is Tech Preview | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Jonathan Earl Brassow <jbrassow> |
Component: | mdadm | Assignee: | Nigel Croxon <ncroxon> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ChanghuiZhong <czhong> |
Severity: | unspecified | Docs Contact: | Apurva Bhide <abhide> |
Priority: | unspecified | ||
Version: | 8.1 | CC: | abhide, cmarthal, czhong, dledford, dmilburn, guazhang, igkioka, jbrassow, lmanasko, ncroxon, rhandlin, teigland, xni |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mdadm-4.1-2.el8 | Doc Type: | Enhancement |
Doc Text: |
.The cluster-aware MD RAID1 is now fully supported
The cluster-aware MD RAID1, previously available as a Technology Preview, is now fully supported. RAID1 cluster is not enabled by default in the kernel space. If you want to use RAID1 cluster, run the following commands:
----
# make menuconfig
# make && make modules && make modules_install && make install
# reboot
----
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-14 01:43:36 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: | |||
Bug Blocks: | 1643541 |
Description
Jonathan Earl Brassow
2018-11-28 21:27:03 UTC
From 8625714f216e4f868ca1acbac7c55820d441b5e2 Mon Sep 17 00:00:00 2001 From: Nigel Croxon <ncroxon> Date: Wed, 28 Nov 2018 16:39:43 -0500 Subject: [PATCH] add tech preview msg to bitmap=clustered RHEL-ONLY Since we do not fully support --bitmap=clustered for RAID1/10. We are adding a message, telling the user that this feature is in Tech Preview. Signed-off-by: Nigel Croxon <ncroxon> --- mdadm-4.1_rc1/mdadm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdadm-4.1_rc1/mdadm.c b/mdadm-4.1_rc1/mdadm.c index 5afe415..a9bbe38 100644 --- a/mdadm-4.1_rc1/mdadm.c +++ b/mdadm-4.1_rc1/mdadm.c @@ -1553,6 +1553,8 @@ int main(int argc, char *argv[]) c.delay = DEFAULT_BITMAP_DELAY; if (c.nodes) { + pr_err("The bitmap=clustered is a Red Hat Technology Preview Feature.\n"); + if (!s.bitmap_file || strcmp(s.bitmap_file, "clustered") != 0) { pr_err("--nodes argument only compatible with --bitmap=clustered\n"); -- 1.8.3.1 From 2adaad72947bf3114de05ef327b3ceb31bb3f9dc Mon Sep 17 00:00:00 2001 From: Nigel Croxon <ncroxon> Date: Wed, 5 Dec 2018 11:27:40 -0500 Subject: [PATCH] add tech preview msg to bitmap=clustered bugzilla: 1654482 https://bugzilla.redhat.com/show_bug.cgi?id=1654482 RHEL-ONLY Since we do not fully support --bitmap=clustered for RAID1/10. We are adding a message, telling the user that this feature is in Tech Preview. Signed-off-by: Nigel Croxon <ncroxon> --- mdadm-4.1_rc1/mdadm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdadm-4.1_rc1/mdadm.c b/mdadm-4.1_rc1/mdadm.c index 5afe415..c094126 100644 --- a/mdadm-4.1_rc1/mdadm.c +++ b/mdadm-4.1_rc1/mdadm.c @@ -1553,6 +1553,10 @@ int main(int argc, char *argv[]) c.delay = DEFAULT_BITMAP_DELAY; if (c.nodes) { + pr_err("WARNING: bitmap=clustered is Technology Preview.\n"); + pr_err("For more information on Technology Preview features, visit:\n"); + pr_err("https://access.redhat.com/support/offerings/techpreview/ \n"); + if (!s.bitmap_file || strcmp(s.bitmap_file, "clustered") != 0) { pr_err("--nodes argument only compatible with --bitmap=clustered\n"); -- 1.8.3.1 Hi,XiaoNi Can you provide a more detailed about environment setup, for my part, I can't successfully reproduce your operation: [root@storageqe-09 ~]# mdadm --create md0 --level=mirror --bitmap=clustered --raid-devices=2 --assume-clean /dev/sdb1 /dev/sdc1 Mdadm: The md can't get cluster name [root@storageqe-09 ~]# There is a reminder message about "please update the tmpfiles.d" when installing the RPM package for mdadm-4.1-2.el8: [root@storageqe-09 ~]# rpm -ivh mdadm-4.1-2.el8.x86_64.rpm Verifying... ####################################### [100%] Preparing... ####################################### [100%] Updating / installing... 1:mdadm-4.1-2.el8 ########################################[100%] [/usr/lib/tmpfiles.d/mdadm.conf:1] Line references path below legacy directory /var/run/, updating /var/run/mdadm → /run/mdadm; please update the tmpfiles.d/ drop- In file accordingly. [/usr/lib/tmpfiles.d/pesign.conf:1] Line references path below legacy directory /var/run/, updating /var/run/pesign → /run/pesign; please update the tmpfiles.d/ drop- In file accordingly. [/usr/lib/tmpfiles.d/subscription-manager.conf:1] Line references path below legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please update the tmpfiles.d/ Drop-in file accordingly. [root@storageqe-09 ~]# thanks, czhong I can verify the proper "Technology Preview" message is printed. That said this functionality still *doesn't* work. I'll add that info to the other BZ (1650338). [root@hayes-03 ~]# pcs status Cluster name: HAYES Stack: corosync Current DC: hayes-03 (version 2.0.1-2.el8-0eb7991564) - partition with quorum Last updated: Fri Jan 11 11:02:32 2019 Last change: Fri Jan 11 10:54:29 2019 by root via cibadmin on hayes-03 1 node configured 2 resources configured Online: [ hayes-03 ] Full list of resources: smoke-apc (stonith:fence_apc): Started hayes-03 Clone Set: dlm-clone [dlm] Started: [ hayes-03 ] [root@hayes-03 ~]# mdadm --create md0 --bitmap=clustered --raid-devices=2 --level=mirror --assume-clean /dev/sdc1 /dev/sdd1 mdadm: WARNING: bitmap=clustered is Technology Preview. mdadm: For more information on Technology Preview features, visit: mdadm: https://access.redhat.com/support/offerings/techpreview/ mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=0.90 Continue creating array? (y/n) y mdadm: Defaulting to version 1.2 metadata mdadm: RUN_ARRAY failed: No such file or directory [root@hayes-03 ~]# echo $? 1 I also encountered the same problem, "Technology Preview" message is printed, but failed to create md with cluster [root@intel-mahobay-01 ~]# uname -r 4.18.0-56.el8.x86_64 [root@intel-mahobay-01 ~]# [root@intel-mahobay-01 ~]# [root@intel-mahobay-01 ~]# rpm -q mdadm mdadm-4.1-2.el8.x86_64 [root@intel-mahobay-01 ~]# [root@intel-mahobay-01 ~]# pcs status Cluster name: my_cluster Stack: corosync Current DC: intel-mahobay-02.lab.eng.rdu.redhat.com (version 2.0.1-3.el8-0eb7991564) - partition with quorum Last updated: Mon Jan 21 02:42:49 2019 Last change: Mon Jan 21 02:34:42 2019 by root via cibadmin on intel-mahobay-01.lab.eng.rdu.redhat.com 2 nodes configured 3 resources configured Online: [ intel-mahobay-01.lab.eng.rdu.redhat.com intel-mahobay-02.lab.eng.rdu.redhat.com ] Full list of resources: scsi_fecing_device (stonith:fence_scsi): Started intel-mahobay-01.lab.eng.rdu.redhat.com Clone Set: dlm-clone [dlm] Started: [ intel-mahobay-01.lab.eng.rdu.redhat.com intel-mahobay-02.lab.eng.rdu.redhat.com ] Failed Fencing Actions: * unfencing of intel-mahobay-02.lab.eng.rdu.redhat.com failed: delegate=, client=pacemaker-controld.5777, origin=intel-mahobay-02.lab.eng.rdu.redhat.com, last-failed='Mon Jan 21 02:08:11 2019' * unfencing of intel-mahobay-01.lab.eng.rdu.redhat.com failed: delegate=, client=pacemaker-controld.5777, origin=intel-mahobay-02.lab.eng.rdu.redhat.com, last-failed='Mon Jan 21 02:08:10 2019' Daemon Status: corosync: active/enabled pacemaker: active/enabled pcsd: active/enabled [root@intel-mahobay-01 ~]# [root@intel-mahobay-01 ~]# [root@intel-mahobay-01 ~]# mdadm --create md0 --bitmap=clustered --raid-devices=2 --level=mirror --assume-clean /dev/mapper/mpatha1 /dev/mapper/mpathb1 mdadm: WARNING: bitmap=clustered is Technology Preview. mdadm: For more information on Technology Preview features, visit: mdadm: https://access.redhat.com/support/offerings/techpreview/ mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=0.90 mdadm: largest drive (/dev/mapper/mpatha1) exceeds size (4189440K) by more than 1% Continue creating array? y mdadm: Defaulting to version 1.2 metadata mdadm: RUN_ARRAY failed: No such file or directory [root@intel-mahobay-01 ~]# echo $? 1 [root@intel-mahobay-01 ~]# > mdadm: RUN_ARRAY failed: No such file or directory
It looks like the md_cluster module is not enabled in RHEL8 kernels. On an upstream kernel I got this error before loading the module.
(In reply to David Teigland from comment #10) > > mdadm: RUN_ARRAY failed: No such file or directory > > It looks like the md_cluster module is not enabled in RHEL8 kernels. On an > upstream kernel I got this error before loading the module. Hi David Thanks for this information. It should be built as module and there is a bug to enable it https://bugzilla.redhat.com/show_bug.cgi?id=1650338 Thanks Xiao Remove the Tech Preview for RAID1 Clustering in the Release Notes for 8.1 -Nigel I modified the Doc-Text. It has now been verified. |