Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
7.1.1
-
None
-
1
Description
What's the issue?
The Azure SDK errors are very raw, and not particularly useful to users; where possible we should provide more informative error messages.
One example of a bad error is the error that we get when trying to authenticate with the Azure blob storage using environment and it we fail:
Backup repository creation failed: failed to lock remote archive: failed to create lockfile object with key 'lock-fb5f345a-d6be-4aac-98dd-5271f5d243ab.lk': ===== INTERNAL ERROR =====
|
DefaultAzureCredential: failed to acquire a token.
|
Attempted credentials:
|
EnvironmentCredential: missing environment variable AZURE_CLIENT_ID
|
ManagedIdentityCredential: IMDS token request timed out
|
AzureCLICredential: ERROR: Please run 'az login' to setup account.
|
In this example ManagedIdentityCredential doesn't seem to provide useful errors and we do not support AzureCLICredential at all.