Azure / acr

Azure Container Registry samples, troubleshooting tips and references
https://aka.ms/acr
Other
162 stars 106 forks source link

Not able to purge images from ACR #731

Open ragatgen opened 5 months ago

ragatgen commented 5 months ago

Describe the bug Unable to Purge the images from the registry

To Reproduce Steps to reproduce the behavior:

  1. tried to purge image: az acr run --timeout 28200 --cmd "acr purge --filter :. --ago 730d --untagged --dry-run" --registry registrynamehere /dev/null --subscription nameofthesub/number
  2. Command time out, did test with show one repo, still failed az acr run --timeout 28200 --cmd "acr purge --filter rancher/istio-installer:.* --ago 730d --dry-run" --registry registrynamehere
    /dev/null --subscription nameofthesub/number
  3. Then checked registry log, but no reqeust was showing in there about the above operation

Expected behavior With the command az acr run --timeout 28200 --cmd "acr purge --filter :. --ago 730d --untagged --dry-run" --registry registrynamehere /dev/null --subscription nameofthesub/number ACR should be able to purge and clean unused imaged to save storage, however is not happening due to some kind of issue with the purge function in the lower level

Screenshots If applicable, add screenshots to help explain your problem.

Any relevant environment information

Additional context Add any other context about the problem here.

If any information is a concern to post here, you can create a support ticket or send an email to acrsup@microsoft.com.

terencet-dev commented 5 months ago

Hi @ragatgen, apologies for the delay here. Have you opened a support ticket for this yet?

ragatgen commented 3 months ago

Hello I am the escalation support engineer from MS, I was attending a cx that had this issue, and actually PG team requested to report this bug via GitHub