microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
376 stars 86 forks source link

AzCopy does not expose correct error information for deletes that failed b/c of leases #2693

Open v-xianya opened 4 years ago

v-xianya commented 4 years ago

Storage Explorer Version: 1.12.0 Build: 20200305.2 Branch: master Platform/OS: Windows 10/ Linux Ubuntu 16.04 Architecture: ia32/x64 Regression From: Previous release (1.12.0)

Steps to reproduce:

  1. Expand one Non-ADLS Gen2 storage account -> Blob Containers.
  2. Create one blob container -> Upload one blob to it.
  3. Acquire lease for this blob -> Delete the leased blob.
  4. Check the activity log.

Expect Experience: No 'Retry...' action displays. image

Actual Experience: Display an extra 'Retry...' action. image

More Info:

  1. This issue also reproduces when deleting multi leased blobs.
  2. Show the below 'Retry Azcopy' dialog after clicking 'Retry...'. image
  3. Related Bug: 2284
v-xianya commented 4 years ago

@MRayermannMSFT The reasons as belows:

  1. We can get the failure reason from AzCopy log file. image

  2. We still can't delete leased blobs even using retry action.

  3. Also the failure reason is not correct in Retry AzCopy dialog. image