Skip to content

Velero-Restic backup not restoring VM to Ceph-backed PV #3411

Discussion options

You must be logged in to vote

I forgot that the CSI watchers are supposed to create the backing image when the PV is created (brain fart). As it turns out, Rook depends on storage.kubernetes.io/csiProvisionerIdentity in .spec.csi.volumeAttributes. If this value does not match between the backup cluster and the restore cluster, the PV is ignored, even if the storageClassName matches. I haven't discovered whether it is possible to change this in the target cluster deployment.

Of course, the PV is immutable, so its impossible change the csiProvisionerIdentity without manually deleting it and recreating it. Once I did, the image was created as expected, but there would be no way to do this for Velero while it's doing a re…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by briantopping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant