-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error while backup due to OpenEBS lvm-localpv
not setting VolumeSnapshot RestoreSize properly
#5
Comments
Hold on, that's if you're restoring, but it looks like this is still during a backup. Let me dig a little deeper |
So the backup process is roughly as follows:
It looks like this is occurring during step 3. The snapshot PVC is created with its storage resource request set to the restore size of the VolumeSnapshot created in step 2. It looks like in your case, the VolumeSnapshot restore size was Could you please run |
Hello @sgielen Not doing any restore, this is after installing backsnap and it tries to take a backup. |
I realized that as well after placing the first comment, could you check my second comment for further followup? |
Here is the output of
|
So it seems that you're using the OpenEBS It seems like they don't set the Although even if we do, it looks like that CSI may not support restoring from a VolumeSnapshot currently at all: openebs/lvm-localpv#13 So even if we fix this RestoreSize issue, you'll run into issues in the next step. I'm afraid this is unfixable on our side, until the CSI plugin supports restoring PVC from VolumeSnapshot (and preferably, also sets VolumeSnapshot RestoreSize at that point). |
(https://snoozeth.is/6H7ApEDKDsE) I will wait until openebs/lvm-localpv#13 is closed and then add a comment. |
lvm-localpv
not setting VolumeSnapshot RestoreSize properly
Hello, getting this error in controller pod. Can you help in identifying the cause.
{"time":"2024-09-15T15:03:48.339839244Z","level":"ERROR","msg":"Reconciler error","controller":"pvcbackup","controllerGroup":"backsnap.skyb.it","controllerKind":"PVCBackup","PVCBackup":{"name":"csi-lvmpv-1726406899","namespace":"default"},"namespace":"default","name":"csi-lvmpv-1726406899","reconcileID":"20828353-229d-426a-a9f0-e2ed970dc1a1","err":"PersistentVolumeClaim \"csi-lvmpv-1726406899\" is invalid: spec.resources[storage]: Invalid value: \"0\": must be greater than zero"}
The text was updated successfully, but these errors were encountered: