Skip to content

Unsupported value: "RestoreVolumeInfo" #8326

Open
@amrap030

Description

What steps did you take and what happened:

I just tried to restore a backupt with the following command: velero restore create restore01 --include-namespaces cert-manager --from-backup velero-daily-20241017030011

When I then run velero restore describe restore01 I can see the following error:

Restore PVs:  auto
              <error getting restore volume info: DownloadRequest.velero.io "restore01-1fe601c7-105a-4cf3-8a56-81f74fc0f4e2" is invalid: spec.target.kind: Unsupported value: "RestoreVolumeInfo": supported values: "BackupLog", "BackupContents", "BackupVolumeSnapshots", "BackupItemOperations", "BackupResourceList", "BackupResults", "RestoreLog", "RestoreResults", "RestoreResourceList", "RestoreItemOperations", "CSIBackupVolumeSnapshots", "CSIBackupVolumeSnapshotContents", "BackupVolumeInfos">

I made sure that all latest crds are installed but I still get the error.

What did you expect to happen:

I expect to restore the backup without errors.

The following information will help us better understand what's going on:

If you are using velero v1.7.0+:
Please use velero debug --backup <backupname> --restore <restorename> to generate the support bundle, and attach to this issue, more options please refer to velero debug --help

If you are using earlier versions:
Please provide the output of the following commands (Pasting long output into a GitHub gist or other pastebin is fine.)

  • kubectl logs deployment/velero -n velero
  • velero backup describe <backupname> or kubectl get backup/<backupname> -n velero -o yaml
  • velero backup logs <backupname>
  • velero restore describe <restorename> or kubectl get restore/<restorename> -n velero -o yaml
  • velero restore logs <restorename>

Anything else you would like to add:

Environment:

  • Velero version (use velero version): 1.14.1
  • Velero features (use velero client config get features):
  • Kubernetes version (use kubectl version): v1.31.1
  • Kubernetes installer & version: juju charms
  • Cloud provider or hardware configuration: Openstack
  • OS (e.g. from /etc/os-release):

Vote 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.

  • 👍 for "I would like to see this bug fixed as soon as possible"
  • 👎 for "There are more important bugs to focus on right now"

Metadata

Assignees

Labels

Area/CLIrelated to the command-line interfaceNeeds infoWaiting for information

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions