Describe the bug
I'm encountering a connectivity issue when trying to run the following Azure CLI command in our QA environment:
az storage blob upload-batch -s ./ -d '$web' --account-name "$(STORAGE_ACCOUNT_NAME)" --overwrite --account-key "$(STORAGE_ACCOUNT_KEY)"
Problem
When running this command in the QA environment, I'm receiving the following error message:
ERROR: <urllib3.connection.HTTPSConnection object at 0x7ff24b791100>: Failed to establish a new connection: [Errno -2] Name or service not known
Related command
az storage blob upload-batch -s ./ -d '$web' --account-name "$(STORAGE_ACCOUNT_NAME)" --overwrite --account-key "$(STORAGE_ACCOUNT_KEY)"
Errors
ERROR: <urllib3.connection.HTTPSConnection object at 0x7ff24b791100>: Failed to establish a new connection: [Errno -2] Name or service not known
Issue script & Debug output
ERROR: <urllib3.connection.HTTPSConnection object at 0x7ff24b791100>: Failed to establish a new connection: [Errno -2] Name or service not known
Expected behavior
It should upload the files to Azure storage account
Environment Summary
Task : Azure CLI
Description : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
Version : 2.225.0
Author : Microsoft Corporation
Additional context
No response
Describe the bug
I'm encountering a connectivity issue when trying to run the following Azure CLI command in our QA environment:
az storage blob upload-batch -s ./ -d '$web' --account-name "$(STORAGE_ACCOUNT_NAME)" --overwrite --account-key "$(STORAGE_ACCOUNT_KEY)"Problem
When running this command in the QA environment, I'm receiving the following error message:
ERROR: <urllib3.connection.HTTPSConnection object at 0x7ff24b791100>: Failed to establish a new connection: [Errno -2] Name or service not knownRelated command
az storage blob upload-batch -s ./ -d '$web' --account-name "$(STORAGE_ACCOUNT_NAME)" --overwrite --account-key "$(STORAGE_ACCOUNT_KEY)"
Errors
ERROR: <urllib3.connection.HTTPSConnection object at 0x7ff24b791100>: Failed to establish a new connection: [Errno -2] Name or service not known
Issue script & Debug output
ERROR: <urllib3.connection.HTTPSConnection object at 0x7ff24b791100>: Failed to establish a new connection: [Errno -2] Name or service not known
Expected behavior
It should upload the files to Azure storage account
Environment Summary
Task : Azure CLI
Description : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
Version : 2.225.0
Author : Microsoft Corporation
Additional context
No response