RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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: CLOSED ERRATA
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
Levi
URL:
Whiteboard: role:storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 07:05 UTC by Vojtech Trefny
Modified: 2023-11-14 16:42 UTC (History)
4 users (show)

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.
Clone Of:
: 2193058 (view as bug list)
Environment:
Last Closed: 2023-11-14 15:31:16 UTC
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
Red Hat Product Errata RHEA-2023:6946 0 None None None 2023-11-14 15:31:31 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.

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


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