-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.7
-
rhel-system-roles-1.99.1-0.1.el9
-
No
-
Low
-
rhel-system-roles
-
0
-
QE ack, Dev ack
-
False
-
False
-
-
No
-
Red Hat Enterprise Linux
-
None
-
None
A recent blivet fix for LVM VG size calculation (see RHEL-74078) uncovered a bug in the storage role breaking the grow_to_fill feature.
Steps to reproduce:
1. Create a VG on a PV with size smaller than the size of the underlying block device:
- pvcreate /dev/vdb
- pvresize --setphysicalvolumesize 10g /dev/vdb
- vgcreate myvg /dev/vdb
2. Try to grow the PV using the grow_to_fill feature
roles:
- name: linux-system-roles.storage
storage_pools: - name: myvg
disks: ["vdb"]
type: lvm
grow_to_fill: true
3. Run the playbook and check the PV size after.
Result:
The PV is not resized
- pvs
PV VG Fmt Attr PSize PFree
/dev/vdb myvg lvm2 a-- <10,00g <10,00g
Expected result:
The PV is resized to its max size (size of the underlying block device):
- pvs
PV VG Fmt Attr PSize PFree
/dev/vdb myvg lvm2 a-- <20,00g <20,00g
- clones
-
RHEL-89118 [storage] LVM grow_to_fill feature doesn't work with latest blivet
-
- Release Pending
-
- links to
-
RHEA-2025:148880 rhel-system-roles bug fix and enhancement update