Closed jgyselov closed 1 year ago
@jgyselov: This pull request references MGMT-15054 which is a valid jira issue.
However, I have noticed that the function
createHostInventoryWithDiskHolders
does not really create fixtures with the expectedmaster/workerDisk
. It overwrites thedisks
with fixed data defined asdisksWithHolders
.I suggest to fix it, perhaps by changing the function
createHostInventoryWithDiskHolders
(removing the declareddiskSpace
param, and send a dummydiskSpace
value (eg. 0) tocreateHostInventory
.). Or makediskHolders
dynamic and use the received diskSpace.
I decided to remove the diskSpace
parameter. I don't have the best understanding of how exactly the host inventory data works, I'm just using mock data provided here for the disks with holders.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ammont82, jgyselov, jkilzi
The full list of commands accepted by this bot can be found here.
https://issues.redhat.com/browse/MGMT-15054
If a disk has defined holders, it is not included in the total storage size calculations.