您的位置 首页 错误

Error getting backup store for this location” backupLocation=default controller=backup-sync error=”rpc error: code = Unknown desc = NoCredentialProviders: no valid providers in chain

问题:

velero 安装后报错:

e="2023-11-30T06:17:42Z" level=error msg="Error getting backup store for this location" backupLocation=default controller=backup-sync error="rpc error: code = Unknown desc = NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors" error.file="/go/src/velero-plugin-for-aws/velero-plugin-for-aws/volume_snapshotter.go:59" error.function=main.getSession logSource="pkg/controller/backup_storage_location_controller.go:100"
time="2023-11-30T06:17:42Z" level=error msg="Current backup storage locations available/unavailable/unknown: 0/0/1)" controller=backup-storage-location logSource="pkg/controller/backup_storage_location_controller.go:166"
time="2023-11-30T06:17:43Z" level=error msg="Error getting a backup store" backup-storage-location=default controller=backup-storage-location error="rpc error: code = Unknown desc = NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors" error.file="/go/src/velero-plugin-for-aws/velero-plugin-for-aws/volume_snapshotter.go:59" error.function=main.getSession logSource="pkg/controller/backup_storage_location_controller.go:100"

 

解决方案:

问题排查

vim /data/velero/velero-auth.txt

里边我少些了一个字母, 就访问有问题。

[default]

 

这个错误为什么不报 权限的问题啊,这样定位容易,搞了我好久 啊。

欢迎来撩 : 汇总all

白眉大叔

关于白眉大叔linux云计算: 白眉大叔

热门文章