Bug 1741644
| Summary: | Support for MD cluster RAID1/10 - userspace | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Jonathan Earl Brassow <jbrassow> | ||||
| Component: | mdadm | Assignee: | XiaoNi <xni> | ||||
| Status: | CLOSED ERRATA | QA Contact: | ChanghuiZhong <czhong> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 8.1 | CC: | czhong, dledford, dmilburn, hwkernel-mgr, ncroxon, xni | ||||
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
||||
| Target Release: | 8.2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | mdadm-4.1-10.el8 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-04-28 17:00:47 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: | 1777443 | ||||||
| Bug Blocks: | 1741642, 1810577, 2166683 | ||||||
| Attachments: |
|
||||||
|
Description
Jonathan Earl Brassow
2019-08-15 17:22:57 UTC
Created attachment 1604123 [details]
Current cluster RAID1 test script
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] 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 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 |