-
Notifications
You must be signed in to change notification settings - Fork 365
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
Cannot restore pv from vcluster #1324
Comments
Hey @SCLogo ! Thanks for creating this issue and sorry for the delay, we will need to investigate that. |
thanks. Let me know if you need anything else |
@FabianKramm did you find anything ? |
found few more things: found the following erron in syncer:
in velero the pv does not contain the |
using velero inside with enabledCSI. the snapshot created successfully, but in syncer I see the following issue:
|
can be the possible issue that when velero creates the volumesnapshot then syncer sync the object out to the hostcluster and snapshotter on hostcluster creates the volumesnapshotcontent, and sync that back into the vcluster. But because it was not created by vcluster and that's why not managed by that and that's why it does not sync out the changes ? |
new info:
I see that during sync the |
Hi, sorry for taking a while to reply. Have started and paused trying to repro a few times(having been pulled away to other tasks). I've now since skimmed some valero docs, but it would help if you could be more specifc with the repro steps assuming I'm not familiar with Valero. I may be able to read the docs and clear this up on my own, but this would speed things up: What does it mean to:
I understand valero is a backup tool, what is the backup source and target in this scenario
do you mean vcluster sync? sync is a vcluster term so if you're using it to refer to a valero operation, this is unclear
does this mean back up the vcluster or back up to the vcluster? I assume the former
where can I observe this?
in vcluster? |
backup source :
yes using vcluster sync. so we have statefulsets inside vcluster and we need to use pv/pvc sync to have real disks
Backup inside the vcluster. Do a backup like a vcluster would be a separated cluster
on that time we used aws plugin for velero and on aws I saw the snapshots created by velero.
correct. delete pv/pvc. with that ask the ebs controller to delete the ebs volume |
What happened?
Tried to restore pv from vcluster but got errors:
What did you expect to happen?
able to restore pv in vcluster
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
velero logs:
https://loft-sh.slack.com/files/U04Q21T430D/F0623UB3UKH/restore.log?origin_team=TDSP6B7DY&origin_channel=Vall_threads
pv object:
vcluster values:
Host cluster Kubernetes version
Host cluster Kubernetes distribution
vlcuster version
vcluster version 0.16.4
Vcluster Kubernetes distribution(k3s(default)), k8s, k0s)
OS and Arch
The text was updated successfully, but these errors were encountered: