-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.3.0.z
-
rhel-system-roles-1.79.0-0.2.el9
-
None
-
Moderate
-
ZStream
-
4
-
rhel-sst-system-roles
-
2
-
QE ack, Dev ack
-
False
-
-
Yes
-
Red Hat Enterprise Linux
-
System Roles Sprint 1, System Roles Sprint 2, System Roles Sprint 3, System Roles Sprint 4
-
Approved Blocker
-
Pass
-
RegressionOnly
-
Bug Fix
-
-
Done
-
-
All
-
None
What were you trying to do that didn't work?
Configure System logical volumes using the Storage role from rhel_system_roles collection.
Please provide the package NVR for which bug is seen:
redhat.rhel_system_roles 1.22.0
How reproducible:
always
Steps to reproduce
- install redhat.rhel_system.roles collection
- apply following playbook twice
--- - name: Demo RHEL System Role Storage hosts: client-1.example.com collections: - redhat.rhel_system_roles tasks: - name: Apply Storage role ansible.builtin.import_role: name: redhat.rhel_system_roles.storage vars: storage_pools: - name: "vg01" disks: - vdb volumes: - name: "lv01" size: "1.2 GiB" fs_type: "xfs" mount_point: "/mount/lv01" state: present
Expected results
The playbook should be executed without any error and modifications, when there is nothing required
Actual results
TASK [redhat.rhel_system_roles.storage : Manage the pools and volumes to match the specified state] *************************************************************************************************************************************************
fatal: [client-1.example.com]: FAILED! => {"actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "msg": "volume 'lv01' cannot be resized to '1.2 GiB'", "packages": [], "pools": [], "volumes": []}
- links to
-
RHEA-2024:130467 rhel-system-roles bug fix and enhancement update