zfs-localpv: Cannot restore backups to encrypted pools

I’m having trouble restoring PVs with velero, it always fails with mysterious error

  Cluster:  error executing PVAction for persistentvolumes/pvc-10e06ec5-293a-4ec9-a47b-12613bf74396: rpc error: code = Unknown desc = zfs: error in restoring pvc-10e06ec5-293a-4ec9-a47b-12613bf
74396.redis, status:{Failed}

The detailed info is posted at velero-plugin repo, as it seemed more relevant. Would be glad if someone helps me to debug this.

https://github.com/openebs/velero-plugin/issues/145

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 23

Most upvoted comments

thanks for confirming @artw. would you mind mentioning your use case in our Adopters file https://github.com/openebs/openebs/issues/2719.

Yes @artw, we will fix it so that we don’t need to restore it in not encrypted dataset. We are working on the design, will ping to test the fix once it is ready.