Bug 2142781 - Topolvm does not consider the spare-gb setting when annotating the node
Summary: Topolvm does not consider the spare-gb setting when annotating the node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: topolvm
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.12.0
Assignee: N Balachandran
QA Contact: Rahul Deore
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-15 09:23 UTC by N Balachandran
Modified: 2023-08-09 17:03 UTC (History)
8 users (show)

Fixed In Version: 4.12.0-125
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-08 14:06:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage topolvm pull 26 0 None open bug 2142781: fix: consider spare-gb in free space calculations 2022-11-24 05:24:37 UTC

Description N Balachandran 2022-11-15 09:23:46 UTC
Description of problem (please be detailed as possible and provide log
snippets):

Additional details at:
https://issues.redhat.com/browse/USHIFT-570
and
https://github.com/topolvm/topolvm/issues/595


"If spare-gb and the size of volumes we attempt to create are larger than the size of the VG, we expect volumes will not be created, but they do.

To Reproduce
Steps to reproduce the behavior:

create a VG with 40GB.
set spare-gb to 20GB.
create a PV with 30GB.
the PV is created
Expected behavior

The PV should not be created."

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?
No

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.
2.
3.


Actual results:


Expected results:


Additional info:

Comment 5 Shay Rozen 2023-01-16 13:03:22 UTC
Can you elaborate how to configure the spare-gb.


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