RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1741644 - Support for MD cluster RAID1/10 - userspace
Summary: Support for MD cluster RAID1/10 - userspace
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: mdadm
Version: 8.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.2
Assignee: XiaoNi
QA Contact: ChanghuiZhong
URL:
Whiteboard:
Depends On: 1777443
Blocks: 1741642 1810577 2166683
TreeView+ depends on / blocked
 
Reported: 2019-08-15 17:22 UTC by Jonathan Earl Brassow
Modified: 2023-02-02 16:12 UTC (History)
6 users (show)

Fixed In Version: mdadm-4.1-10.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 17:00:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Current cluster RAID1 test script (6.29 KB, text/plain)
2019-08-15 17:34 UTC, Jonathan Earl Brassow
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-29767 0 None None None 2023-02-02 16:12:18 UTC
Red Hat Product Errata RHBA-2020:1890 0 None None None 2020-04-28 17:01:11 UTC

Description Jonathan Earl Brassow 2019-08-15 17:22:57 UTC
This bug is here to ensure:
1) proper design and implementation of MD cluster RAID1
2) articulate testing needs for $subject
3) articulate needs for documentation of $subject

Comment 1 Jonathan Earl Brassow 2019-08-15 17:34:13 UTC
Created attachment 1604123 [details]
Current cluster RAID1 test script

Comment 2 Jonathan Earl Brassow 2019-08-15 17:35:23 UTC
Current state of testing supplied by Changhui Zhong <czhong> - Associate Quality Engineer,Kernel QE

Hi,Brassow Jonathan

Yes, I am the person  of the MD test. My test is a simple automation script written for  https://bugzilla.redhat.com/show_bug.cgi?id=1654482 ,this automation is to modify the kernel configuration so that the md_cluster module can enabled in RHEL8 kernels, then create a cluster with one node and create MD_RAID1.

I used a single server to create cluster and raid1, not use multiple servers to create  cluster.If you want to achieve when involve failing systems while ensuring other systems continue to operate and coordinating drive failures,that I need a real cluster environment with multiple nodes.if I have the permissions of your test environment, I can experiment on it.

Which detailed functional test points do you want to test for cluster MD RAID1?

The test machine I am using is a single server that is immediately acquired from the beaker machine pool, which may be different from the test environment you are using.

I uploaded my script main.sh in the attachment. feel free to contact me if you have any questions.

Thanks,
Changhui

[See attachment: 'Current cluster RAID1 test script' from comment 1]

Comment 11 ChanghuiZhong 2020-02-13 01:47:10 UTC
Hi,all

================================================================================
 Package           Architecture Version            Repository              Size
================================================================================
Installing:
 mdadm             x86_64       4.1-10.el8         beaker-BaseOS          450 k

test passed with mdadm-4.1-10.el8,test cases related with cluster md raid1 and all test passed successfully.
https://beaker.engineering.redhat.com/recipes/7894615#task106023745

[root@intel-mahobay-02 Cluster_md_raid]# ll
total 104
-rwxr-xr-x. 1 root root  1517 Feb 10 01:00 case1r1_create_md_raid1.sh
-rw-r--r--. 1 root root  1806 Feb 10 01:00 case1r1_grow_add.sh
-rw-r--r--. 1 root root  1890 Feb 10 01:00 case1r1_grow_bitmap-switch.sh
-rw-r--r--. 1 root root   748 Feb 10 01:00 case1r1_grow_resize.sh
-rw-r--r--. 1 root root  1065 Feb 10 01:00 case2r1_manage_add.sh
-rw-r--r--. 1 root root   996 Feb 10 01:00 case2r1_manage_add-spare.sh
-rw-r--r--. 1 root root   862 Feb 10 01:00 case2r1_manage_re-add.sh
-rw-r--r--. 1 root root   754 Feb 10 01:00 case3r1_switch_recovery.sh
-rw-r--r--. 1 root root   665 Feb 10 01:00 case3r1_switch_resync.sh
-rw-r--r--. 1 root root  1485 Feb 10 01:00 case4r1_add_remove_disk.sh
-rw-r--r--. 1 root root  2321 Feb 10 01:00 case4r1_clster_IO.sh
-rw-r--r--. 1 root root   970 Feb 10 01:00 case4r1_disk_failure.sh
-rwxr-xr-x. 1 root root  2900 Feb 10 01:00 create_cluster.sh
-rwxr-xr-x. 1 root root  3645 Feb 10 01:00 create_storage.sh
-rw-------. 1 root root  1224 Feb 10 02:36 ks.cfg
-rwxr-xr-x. 1 root root  5145 Feb 10 01:09 kvm-install.sh
-rwxr-xr-x. 1 root root 13770 Feb 10 01:00 libcluster.sh
-rw-r--r--. 1 root root  3640 Feb 10 01:00 Makefile
-rw-r--r--. 1 root root  1000 Feb 10 01:00 PURPOSE
-rwxr-xr-x. 1 root root  1236 Feb 10 01:00 runtest.sh
-rwxr-xr-x. 1 root root  4885 Feb 10 01:00 tc.sh
[root@intel-mahobay-02 Cluster_md_raid]# 

The test cases are simple.we will add more test cases in the future to cover the tests of cluster md raid1 and raid10

Comment 13 errata-xmlrpc 2020-04-28 17:00:47 UTC
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-2020:1890


Note You need to log in before you can comment on or make changes to this bug.