-
Notifications
You must be signed in to change notification settings - Fork 272
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
more targeted cleanup of target/scratch pvcs #2676
Conversation
/hold |
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
7d1d326
to
e2d7ebb
Compare
/test pull-containerized-data-importer-e2e-ceph |
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
/unhold |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mhenriks The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherrypick release-v1.54 |
@mhenriks: once the present PR merges, I will cherry-pick it on top of release-v1.54 in a new PR and assign it to you. 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. |
@mhenriks: #2676 failed to apply on top of branch "release-v1.54":
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. |
@mhenriks shouldn't we backport this to v1.55 and v1.56 too? |
/cherrypick release-v1.56 |
@awels: #2676 failed to apply on top of branch "release-v1.56":
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. |
@mhenriks @awels After a couple of days investigating I’ve found that at least two of these test failures are related to this PR. The issue occurs when importing a fully allocated block PVC (e.g., the image’s actual size is 512Mi, and the PVC is also 512Mi). In such cases, we create a scratch PVC with additional overhead (542Mi). However, using rook-ceph, there's always a lost+found directory in the scratch space that reduces the actual usable space to "capacity - overhead - lost+found size" (~505Mi in my test case), causing the import to fail. This is a bug but I’m unsure if it’s acceptable to delete lost+found in cases like these. Other solution that comes to mind is adding an arbitrary overhead to the scratch PVC to account for the lost+found size. What are your thoughts on this? This is 100% replicable when using the vm manifest endpoint in the export API. |
Created a Jira card to track this bug https://issues.redhat.com/browse/CNV-51575 |
What this PR does / why we need it:
Rather than cleaning up everything on target/scratch PVCs, only delete what we may have created
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #2635
Special notes for your reviewer:
Release note: