Skip to content
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

Virtctl upload memory requirments #3557

Open
mw-0 opened this issue Dec 4, 2024 · 3 comments
Open

Virtctl upload memory requirments #3557

mw-0 opened this issue Dec 4, 2024 · 3 comments
Labels

Comments

@mw-0
Copy link

mw-0 commented Dec 4, 2024

What happened:
When using the import feature " virtctl image-upload dv ......" i get an error when it hits the ram limit. When i try and upload a larger 5GB qcow image i have to set the podresourcerequirements in the cdi spec to a higher amount or memory than the download size.

I have tested a few different images and found the same issue when matching the limit lower.

Environment:

  • CDI version (use kubectl get deployments cdi-deployment -o yaml): 1.61.0
  • Kubernetes version (use kubectl version): 1.31.2
  • OS (e.g. from /etc/os-release): Debian12
  • Kernel (e.g. uname -a): 6.10.11
@mw-0 mw-0 added the kind/bug label Dec 4, 2024
@akalenyu
Copy link
Collaborator

akalenyu commented Dec 4, 2024

So you are seeing OOMs on the upload pod? which storage class are you using?
We've had similar situations with some kernel bug, was very common with nfs based storage classes:
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/4523

@mw-0
Copy link
Author

mw-0 commented Dec 5, 2024

i am using NFS 4.1 PVC with Netapp Trident. I can see the pvc are attached. Is the patch upstream into kernel or specific for RHEL there?

@akalenyu
Copy link
Collaborator

akalenyu commented Dec 5, 2024

It made it into centos stream. But I don't know where it stands in other distros. If you have the debian sources should be easy enough to check if the revert made it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants