-
Notifications
You must be signed in to change notification settings - Fork 268
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
Smart clone fails with No PVC found (zfs-localpv CSI) #2524
Comments
Hi, thanks for opening the issue! Could you please also attach the I think "No PVC found" is said in the context of the target PVC which will not get created unless |
Thanks for the reply, sure!
cdi-deployment has some interesting lines... (the other pods are silent)
Seems to be an issue with the size of the PVC it's trying to create. Looks like restoreSize should be the capacity of the snapshot?
|
Yeah apparently this specific CSI driver will not populate the There is an open PR tackling this on the zfs-localpv repo: There might be something we can do on the CDI side if the restore size is 0;
|
Since this is an identified bug in a specific provisioner and not in CDI we are closing this issue. |
We will probably play nicer with restoreSize missing/0 following #2679 |
What happened:
A DataVolume created with a PVC source (created by the importer pod) and fits all the criteria for smart clone is failing with "No PVC found" event. Using zfs-localpv CSI driver.
The PVC in question does exist and is in the same namespace as the DV.
The ZFS operator does successfully create a snapshot and shows as Ready.
But in a different namespace than where the PVC to be cloned is. Not sure if that's an issue here.
DataVolume looks like:
What you expected to happen:
Smart clone to be successful when creating a VM with a DataVolumeTemplate that includes a DataVolume source of PVC.
Environment:
CDI version (use kubectl get deployments cdi-deployment -o yaml): v1.55.0
Kubernetes version (use kubectl version): v1.24.7-eks-fb459a0
DV specification: N/A
Cloud provider or hardware configuration: AWS
OS (e.g. from /etc/os-release): Ubuntu 20.04
Kernel (e.g. uname -a): 5.15.0-1023-aws
Install tools: N/A
Others: N/A
The text was updated successfully, but these errors were encountered: