When configuring an Azure Blob Storage remote, interacting with the remote while 'access_tier' is set to "archive" fails. When 'access_tier' is set to "Archive", the same interaction appears to work.
What is your rclone version (output from rclone version)
$ rclone lsd AzureHomestackBackup:
2022/01/22 20:57:43 Failed to create file system for "AzureHomestackBackup:": Azure Blob: Supported access tiers are Hot, Cool and Archive
$ rclone ls AzureHomestackBackup:/
2022/01/22 20:57:52 Failed to create file system for "AzureHomestackBackup:/": Azure Blob: Supported access tiers are Hot, Cool and Archive
IMHO either the backend should handle access_tier options in a case insensitive manner, or at the config step invalid values (i.e., 'archive') should result in an error.
How to use GitHub
Please use the 👍reaction to show that you are affected by the same issue.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
The text was updated successfully, but these errors were encountered:
I submitted a PR, but I wanted to mention that I was surprised that there appears to be no input validation at all for config options. It's admittedly a larger project, but implementing input validation might be valuable.
Input validation is hard in general and specifically keeping it up to date with the cloud in questions. Usually we leave it to the SDK or the cloud provider unless it is really important.
Are there any specific cases you think could be improved?
The associated forum post URL from
https://forum.rclone.org
https://forum.rclone.org/t/azure-advanced-config-option-access-tier-appears-to-be-case-sensitive/28801/4
What is the problem you are having with rclone?
When configuring an Azure Blob Storage remote, interacting with the remote while 'access_tier' is set to "archive" fails. When 'access_tier' is set to "Archive", the same interaction appears to work.
What is your rclone version (output from
rclone version
)Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Which cloud storage system are you using? (e.g. Google Drive)
Azure Blob Storage
The command you were trying to run (e.g.
rclone copy /tmp remote:tmp
)With the following config,
Results in this:
While this:
Results in this:
IMHO either the backend should handle access_tier options in a case insensitive manner, or at the config step invalid values (i.e., 'archive') should result in an error.
How to use GitHub
The text was updated successfully, but these errors were encountered: