Created
September 9, 2020 08:46
-
-
Save alexcpn/0a76030795df348e4a248777455cec1e to your computer and use it in GitHub Desktop.
velero error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@green--1 velero]# velero backup logs test-nginx-b2 | grep error | |
time="2020-08-05T12:39:04Z" level=error msg="Error getting volume snapshotter for volume snapshot location" backup=velero/test-nginx-b2 error="rpc error: code = Unknown desc = missing region in aws configuration" error.file="/go/src/github.com/vmware-tanzu/velero-plugin-for-aws/velero-plugin-for-aws/volume_snapshotter.go:78" error.function="main.(*VolumeSnapshotter).Init" logSource="pkg/backup/item_backupper.go:437" name=pvc-a7a87cee-abb2-4db8-a445-fc95b4f8a237 namespace= persistentVolume=pvc-a7a87cee-abb2-4db8-a445-fc95b4f8a237 resource=persistentvolumes volumeSnapshotLocation=default | |
[root@green--1 velero]# | |
---- | |
Solution edit VolumeSnapshotClass | |
k edit VolumeSnapshotLocation -n velero | |
``` | |
apiVersion: velero.io/v1 | |
kind: VolumeSnapshotLocation | |
metadata: | |
creationTimestamp: "2020-08-05T09:30:21Z" | |
generation: 2 | |
labels: | |
component: velero | |
name: default | |
namespace: velero | |
resourceVersion: "52019245" | |
selfLink: /apis/velero.io/v1/namespaces/velero/volumesnapshotlocations/default | |
uid: bd3f40e3-5a24-4b13-ab7e-51100ae9fc0a | |
spec: | |
config: | |
profile: default | |
region: us-east-1 --> add this | |
provider: aws | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment