Bug 2193057

Summary: Cannot set chunk size for RAID: Unsupported parameters for (blivet) module: pools.raid_chunk_size
Product: Red Hat Enterprise Linux 8 Reporter: Vojtech Trefny <vtrefny>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: guazhang <guazhang>
Severity: unspecified Docs Contact: Levi <lvaleeva>
Priority: unspecified    
Version: 8.9CC: djez, guazhang, rmeggins, spetrosi
Target Milestone: rcKeywords: Triaged
Target Release: 8.9Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:storage
Fixed In Version: rhel-system-roles-1.22.0-0.8.el8 Doc Type: Bug Fix
Doc Text:
.`raid_chunk_size` parameter no longer returns an error message Previously, `raid_chunk_size` attribute was not allowed for RAID pools and volumes. With this update, you can now configure the `raid_chunk_size` attribute for RAID pools and volumes without encountering any restrictions.
Story Points: ---
Clone Of:
: 2193058 (view as bug list) Environment:
Last Closed: 2023-11-14 15:31:16 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:

Description Vojtech Trefny 2023-05-04 07:05:42 UTC
"raid_chunk_size" is not allowed for RAID pools and volumes:

----
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (blivet) module: pools.raid_chunk_size. Supported parameters include: disks, encryption, encryption_cipher, encryption_key, encryption_key_size, encryption_luks_version, encryption_password, name, raid_device_count, raid_level, raid_metadata_version, raid_spare_count, state, type, volumes."}
----

Simple reproducer for pools:

----
    - name: Create a RAID0 device
      include_role:
        name: linux-system-roles.storage
      vars:
        storage_pools:
          - name: vg1
            disks: ["/dev/sdc", "/dev/sdd"]
            type: lvm
            state: present
            raid_level: "raid0"
            raid_device_count: 2
            raid_metadata_version: "1.0"
            raid_chunk_size: "1 MiB"
----

Comment 1 Vojtech Trefny 2023-05-04 07:32:22 UTC
upstream PR: https://github.com/linux-system-roles/storage/pull/351

Comment 5 guazhang@redhat.com 2023-06-16 09:05:37 UTC
test pass with the new changes, move to verified.

Comment 7 guazhang@redhat.com 2023-08-28 05:12:51 UTC
looks good for me.

Comment 9 errata-xmlrpc 2023-11-14 15:31:16 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 (rhel-system-roles bug fix and enhancement update), 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/RHEA-2023:6946