Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error migrating to Artifact Registry: RESOURCE_EXHAUSTED

We are following Google's instructions on migrating Container Registry to Artifact Registry. We don't want to do this, but we have to, as Container Registry is shutting down.

We are executing the command, 

 

gcloud artifacts docker upgrade migrate --projects=projectid

 

It succeeded for one project. When we went to do the next project, it started failing with:

 

ERROR: (gcloud.artifacts.docker.upgrade.migrate) RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota).

 

So, I went to the quotas page and checked: we have not exceeded any quotas.

What can I do to fix this error so we can continue the migration? We have many services to migrate and this is NOT a good experience for migrating production services

Here's the http call that is failing with the 429:

==== request start ====
uri: https://cloudasset.googleapis.com/v1/organizations/xxxx:analyzeIamPolicy?alt=json&analysisQuery.accessSelector.permissions=storage.objects.get&analysisQuery.accessSelector.permissions=storage.objects.list&analysisQuery.accessSelector.permissions=storage.objects.create&analysisQuery.accessSelector.permissions=storage.objects.delete&analysisQuery.resourceSelector.fullResourceName=%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2Fxxxxx
method: GET
7 2 954
2 REPLIES 2

Hi @timsolo , we're having the same issue here.

Did you find a solution? Was it only a matter of time?

By default the Policy Analyzer is limited to 20 Queries per day: https://cloud.google.com/policy-intelligence/docs/policy-analyzer-overview#pricing