After a successful backup, I tried to restore it, but I got an error during EC2 create volume step, with the following error:
level=error msg="Cluster resource restore error: error executing PVAction for persistentvolumes/ebs-pv: rpc error: code = Unknown desc = operation error EC2: CreateVolume, https response error StatusCode: 400, RequestID: 0dade47f-1b38-422c-8f87-e35dcd81a8e1, api error MissingParameter: The request must contain the parameter zone" logSource="pkg/controller/restore_controller.go:576" restore=velero/app-restore
What did you expect to happen:
I want to restore successfully from a velero backup.
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
velero debug --backup app-backup --restore app-restore
2024/05/24 20:19:41 Collecting velero resources in namespace: velero
2024/05/24 20:19:43 Collecting velero deployment logs in namespace: velero
2024/05/24 20:19:43 Collecting log and information for backup: app-backup
2024/05/24 20:19:46 Collecting log and information for restore: app-restore
2024/05/24 20:19:49 Generated debug information bundle: /home/ubuntu/bundle-2024-05-24-20-19-40.tar.gz
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): v1.13.2
Velero features (use velero client config get features):
Kubernetes version (use kubectl version):
Client Version: v1.29.3-eks-ae9a62a
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.3-eks-adc7111
Kubernetes installer & version:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
RETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
bundle-2024-05-24-20-19-40.zip
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.
:+1: for "I would like to see this bug fixed as soon as possible"
:-1: for "There are more important bugs to focus on right now"
What steps did you take and what happened:
After a successful backup, I tried to restore it, but I got an error during EC2 create volume step, with the following error: level=error msg="Cluster resource restore error: error executing PVAction for persistentvolumes/ebs-pv: rpc error: code = Unknown desc = operation error EC2: CreateVolume, https response error StatusCode: 400, RequestID: 0dade47f-1b38-422c-8f87-e35dcd81a8e1, api error MissingParameter: The request must contain the parameter zone" logSource="pkg/controller/restore_controller.go:576" restore=velero/app-restore
What did you expect to happen: I want to restore successfully from a velero backup.
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 tovelero debug --help
velero debug --backup app-backup --restore app-restore 2024/05/24 20:19:41 Collecting velero resources in namespace: velero 2024/05/24 20:19:43 Collecting velero deployment logs in namespace: velero 2024/05/24 20:19:43 Collecting log and information for backup: app-backup 2024/05/24 20:19:46 Collecting log and information for restore: app-restore 2024/05/24 20:19:49 Generated debug information bundle: /home/ubuntu/bundle-2024-05-24-20-19-40.tar.gzIf 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>
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:
Environment:
velero version
): v1.13.2velero client config get features
):kubectl version
): Client Version: v1.29.3-eks-ae9a62a Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.29.3-eks-adc7111/etc/os-release
): RETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian bundle-2024-05-24-20-19-40.zipVote 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.