mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 08:52:55 +00:00
lvol: fix thin-pool creation with percentage size (#11925)
* fix(lvol): use --extents (-l) for thin-pool creation with percentage size
Fixes #11923
* chore(lvol): add changelog fragment for #11925
* test(lvol): add integration tests for thin-pool creation with percentage sizes
* test(lvol): use extent-aligned size for thin-pool absolute-size idempotency test
* test(lvol): reduce thin-pool sizes to leave space for test_pvs.yml
* test(lvol): add shrink=false to thin-pool absolute-size idempotency check
* test(lvol): add shrink: false to thin volume idempotency test
LVM reports thin volume size slightly above requested (metadata overhead),
triggering spurious shrink attempts. Disable shrink for idempotency checks
to avoid false failures.
---------
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| main.yml | ||
| setup.yml | ||
| teardown.yml | ||
| test_pvs.yml | ||
| test_thinpool.yml | ||