-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MGMT-15054: FCP devices (multipath) do not show correct size #2286
Conversation
@jgyselov: This pull request references MGMT-15054 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good and the tests changes too.
However, I have noticed that the function createHostInventoryWithDiskHolders
does not really create fixtures with the expected master/workerDisk
. It overwrites the disks
with fixed data defined as disksWithHolders
.
I suggest to fix it, perhaps by changing the function createHostInventoryWithDiskHolders
(removing the declared diskSpace
param, and send a dummy diskSpace
value (eg. 0) to createHostInventory
.). Or make diskHolders
dynamic and use the received diskSpace.
I decided to remove the |
[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.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…ft-assisted#2286) * Do not include disks with holders in the total storage size calculations * Total disk storage calculation tests * Simplify storage host inventory fixtures --------- Co-authored-by: Jonathan Kilzi <[email protected]>
…ft-assisted#2286) * Do not include disks with holders in the total storage size calculations * Total disk storage calculation tests * Simplify storage host inventory fixtures --------- Co-authored-by: Jonathan Kilzi <[email protected]>
https://issues.redhat.com/browse/MGMT-15054
If a disk has defined holders, it is not included in the total storage size calculations.