Bug 2193057 - Cannot set chunk size for RAID: Unsupported parameters for (blivet) module: pools.raid_chunk_size
Summary: Cannot set chunk size for RAID: Unsupported parameters for (blivet) module: p...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.9
Assignee: Rich Megginson
QA Contact: guazhang@redhat.com
Apurva Bhide
URL:
Whiteboard: role:storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 07:05 UTC by Vojtech Trefny
Modified: 2023-08-10 14:10 UTC (History)
4 users (show)

Fixed In Version: rhel-system-roles-1.22.0-0.8.el8
Doc Type: Bug Fix
Doc Text:
Looks like we forgot `raid_chunk_size` when adding the pool/volume parameters checking.
Clone Of:
: 2193058 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-156375 0 None None None 2023-05-04 07:09:41 UTC

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.


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