Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upload to Azure storage broken due to azure-cli bug #4568

Open
cg505 opened this issue Jan 16, 2025 · 1 comment
Open

upload to Azure storage broken due to azure-cli bug #4568

cg505 opened this issue Jan 16, 2025 · 1 comment

Comments

@cg505
Copy link
Collaborator

cg505 commented Jan 16, 2025

Azure/azure-cli#30635
When uploading to an azure storage bucket, azure-cli will dynamically download a utility called azcopy to actually do it. However, as described in Azure/azure-cli#30635, azure-cli had a hard-coded download URL for azcopy, which has been deprecated and now removed (by Azure lol), so the download fails.

This make the upload fail, unless you already have azcopy downloaded. Existing users probably already have azcopy, which is maybe why we haven't seen this.

azure-cli has pushed a fix but it will only be part of the next release, due on Feb 12. The proposed workaround is to manually download and install the azcopy binary. Which is insane, but they don't seem to see this as a significant issue.

@cg505
Copy link
Collaborator Author

cg505 commented Jan 16, 2025

Looks like the following commands can mitigate this on Linux:

curl -L https://aka.ms/downloadazcopy-v10-linux > azcopy.tar.gz
tar xfvz azcopy.tar.gz
cp azcopy_linux_amd64_10.27.1/azcopy ~/.azure/bin

haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant