Skip to content

Progress bar fails to show 100% for az storage blob upload with az_cli 2.34.1 #21781

@jaianshu12

Description

@jaianshu12

Description
Command: az storage blob upload --file filename -c container_name --account-name stg_acc_name

The progress bar does not show 100% completion when a file of large size is being uploaded (~1GB) even though it is seen file is uploaded to storage account. It reaches to aroung 99.6% and the just ends. Also noted that progess bar completion to 100% is seen with lower version of az_cli i.e. 2.32.0.

Please note that we have tried upload with az_copy but we saw performact of az storage blob upload is much faster than az_copy. So we plan to use "az storage blob upload".

To Reproduce

  1. Get a file of size 1GB or more.
  2. Check az cli version (az --version).
  3. Set the env variable "AZURE_STORAGE_KEY" (Get it from access key of storage account).
  4. az storage blob upload --file -c <container_name> --account-name <stg_acc_name>
  5. Check Progess Bar while the data is being uploaded.

Expected behavior
Progress Bar should show 100% upon completion.

Environment summary
az_cli 2.34.1

Metadata

Metadata

Labels

Auto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.Storageaz storagecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions