velero: Upgrade to 1.2 failed to load config file, /credentials/cloud
What steps did you take and what happened:
I upgraded from 1.1 to 1.2 ( Followed https://velero.io/docs/v1.2.0/upgrade-to-1.2/ )
The velero pod crashed with error :
error getting backup store for location "default": rpc error: code = Unknown desc = SharedConfigLoadError: failed to load config file, /credentials/cloud
caused by: INIParseError: invalid state with ASTKind { {4 NONE 0 [61]} true [{expr {1 STRING 0 [97 119 115 95 115 101 99 114 101 116 95 97 99 99 101 115 115 95 107 101 121]} true []}]} and TokenType sep
I double checked and seems that the secret still exists. Seems more like a parsing issue.
What did you expect to happen:
No regression
Environment:
- Velero version (use
velero version
):
Client:
Version: v1.2.0
Git commit: 5d008491bbf681658d3e372da1a9d3a21ca4c03c
- Velero features (use
velero client config get features
):
features: <NOT SET>
- Kubernetes version (use
kubectl version
):
1.11.0
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (8 by maintainers)
Awesome !
I should have think of this workaround !
Maybe the documentation can be updated to put that doubles quotes to make sure this will work for Everyone.
@skriss I’ll close the issue. Thanks a lot for your help.