Restic restore stuck InProcess while restoring PV with "volumeBindingMode: WaitForFirstConsumer" storage class #2971
Labels
Bug
Needs investigation
Restic - GA
needed for restic integration to be considered GA
Restic
Relates to the restic integration
Reviewed Q2 2021
Milestone
What steps did you take and what happened:
volumeBindingMode: Immediate
.What's happening then:
Restore
object is stuck forever (or very long) inInProgress
statePodVolumeRestore
object gets created, but it's state is never updated.Restic
logs does not say anything oninfo
log level.What did you expect to happen:
Data in PV should be restored from backup.
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)
kubectl logs deployment/velero -n velero
velero backup describe <backupname>
orkubectl get backup/<backupname> -n velero -o yaml
velero backup logs <backupname>
velero restore describe <restorename>
orkubectl get restore/<restorename> -n velero -o yaml
velero restore logs <restorename>
Anything else you would like to add:
As a workaround, one can create a copy of used storageclass and use https://velero.io/docs/v1.5/restore-reference/#changing-pvpvc-storage-classes feature to use modified one, which has
volumeBindingMode: Immediate
.Volumes are being provisioned using https://github.com/hetznercloud/csi-driver.
Restoring volumes with
volumeBindingMode: Immediate
works well.Environment:
velero version
): Tried1.4.2
and1.5.1
with the same resultvelero client config get features
):features: <NOT SET>
kubectl version
):/etc/os-release
): Flatcar stableVote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: