Bug 2193058 - 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 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.3
Assignee: Rich Megginson
QA Contact: guazhang@redhat.com
URL:
Whiteboard: role:storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 07:06 UTC by Vojtech Trefny
Modified: 2023-07-12 17:16 UTC (History)
4 users (show)

Fixed In Version: rhel-system-roles-1.22.0-0.8.el9
Doc Type: Bug Fix
Doc Text:
Looks like we forgot `raid_chunk_size` when adding the pool/volume parameters checking.
Clone Of: 2193057
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles storage pull 351 0 None Merged fix: Allow using raid_chunk_size for RAID pools and volumes 2023-05-30 16:57:40 UTC
Red Hat Issue Tracker RHELPLAN-156376 0 None None None 2023-05-04 07:09:45 UTC

Description Vojtech Trefny 2023-05-04 07:06:38 UTC
+++ This bug was initially created as a clone of Bug #2193057 +++

"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:31:05 UTC
upstream PR: https://github.com/linux-system-roles/storage/pull/351

Comment 5 guazhang@redhat.com 2023-06-13 11:48:28 UTC
test pass with fixed package.


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