Bug 1986630
Summary: | rhel-system-roles test case tests_raid_pool_options.yml failed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Zhang Yi <yizhan> |
Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED NOTABUG | QA Contact: | CS System Management SST QE <rhel-cs-system-management-subsystem-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.5 | CC: | dlehman, nhosoi, spetrosi, vtrefny, xni |
Target Milestone: | beta | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | role:storage | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-13 02:17:12 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: | 1987170, 1987176 | ||
Bug Blocks: |
Description
Zhang Yi
2021-07-27 23:04:21 UTC
*** This bug has been marked as a duplicate of bug 1917308 *** Looks like the fix in https://bugzilla.redhat.com/show_bug.cgi?id=1966712 broke mdadm in another place? Hi all raid1 doesn't use chunk always. So mdadm disables --chunk for raid1. It needs to modify the test case codes. The patch from upstream is: commit 5b30a34aa4b5ea7a8202314c1d737ec4a481c127 Author: Mateusz Grzonka <mateusz.grzonka> Date: Thu Jul 15 12:25:23 2021 +0200 Add error handling for chunk size in RAID1 Print error if chunk size is set as it is not supported. Signed-off-by: Mateusz Grzonka <mateusz.grzonka> Signed-off-by: Jes Sorensen <jsorensen> diff --git a/Create.c b/Create.c index 18b5e64..f5d57f8 100644 --- a/Create.c +++ b/Create.c @@ -254,9 +254,8 @@ int Create(struct supertype *st, char *mddev, case LEVEL_MULTIPATH: case LEVEL_CONTAINER: if (s->chunk) { - s->chunk = 0; - if (c->verbose > 0) - pr_err("chunk size ignored for this level\n"); + pr_err("specifying chunk size is forbidden for this level\n"); + return 1; } break; default: Thanks Xiao |