WIP: Check actual volume size after volume expand to verify if expand…#1044
WIP: Check actual volume size after volume expand to verify if expand…#1044nschad wants to merge 1 commit into
Conversation
… was successful Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
PR needs rebase. DetailsInstructions 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-sigs/prow repository. |
… was successful
How to categorize this PR?
/kind enhancement
What this PR does / why we need it:
Problem mitigation. This also happens on the openstack CSI.
The problem is that the expand is async and therefore later-on can be rejected (due to i.e. storage policies), while still pretending to been have successful. This check checks the actual volume size and then reports an error. Additionally it also retries.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Breaking changes: