Bug 2111895 - Topolvm does not check for overprovisioned capacity when resizing a volume
Summary: Topolvm does not check for overprovisioned capacity when resizing a volume
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: lvm-operator
Version: 4.11
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ODF 4.11.0
Assignee: N Balachandran
QA Contact: Shay Rozen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-28 12:02 UTC by N Balachandran
Modified: 2023-08-09 16:46 UTC (History)
5 users (show)

Fixed In Version: 4.11.0-130
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage topolvm pull 16 0 None open Bug 2111895: fix: ResizeLV does not check thinpool size 2022-07-29 14:55:12 UTC

Description N Balachandran 2022-07-28 12:02:55 UTC
Description of problem (please be detailed as possible and provide log
snippests):

Resize volume will fail if the amount by which the thinly provisioned volume is being expanded is more than the free space in the volume group, even if it is well within the overprovisioned thin pool capacity.

Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
Yes.


Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Create a vg and a thinpool on the vg
2. If x is the amount of free space on the vg (example, the vg is 10G, the pool is 9G and the volume is 3 G), expand the volume by 2G. 
3. 


Actual results:
The resize operation will fail.

Expected results:
The resize operation should succeed.

Additional info:

Comment 5 Shay Rozen 2022-08-09 07:49:36 UTC
Expanded pvc beyond thin pool size. Verified in 4.11.0-131


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