isusanin / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

RESOURCE_EXHAUSTED during deployment #612

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Issue running command [gcloud preview app deploy].

What steps will reproduce the problem?

As long as I ran "aedeploy gcloud preview app deploy ./app.yaml"

What is the expected output? What do you see instead?

Deployment success

Please provide any additional information below.

Tried > 10 time in the past 2 hours. Is this system glitch you guys have or is 
there a way to prevent this from happening? It significantly affects our 
deployment plan

Traceback (most recent call last):
  File "googlecloudsdk/gcloud_main.py", line 171, in main
    gcloud_cli.Execute()
  [...]
  File "googlecloudsdk/third_party/apitools/base/py/http_wrapper.py", line 217, in CheckResponse
    raise exceptions.BadStatusCodeError.FromResponse(response)
BadStatusCodeError: HttpError accessing 
<https://cloudbuild.googleapis.com/v1/projects/strydweb/builds?alt=json>: 
response: <{'status': '429', 'alternate-protocol': '443:quic,p=1', 
'content-length': '510', 'x-xss-protection': '1; mode=block', 
'x-content-type-options': 'nosniff', 'transfer-encoding': 'chunked', 'vary': 
'Origin, X-Origin, Referer', 'server': 'ESF', '-content-encoding': 'gzip', 
'cache-control': 'private', 'date': 'Wed, 02 Mar 2016 05:35:45 GMT', 
'x-frame-options': 'SAMEORIGIN', 'alt-svc': 'quic=":443"; ma=2592000; 
v="30,29,28,27,26,25"', 'content-type': 'application/json; charset=UTF-8'}>, 
content <{
  "error": {
    "code": 429,
    "message": "Insufficient tokens for quota group and limit AllElseGroupCLIENT_PROJECT-1d using the limit by ID 32555940559.",
    "status": "RESOURCE_EXHAUSTED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.Help",
        "links": [
          {
            "description": "Google developer console API key",
[output truncated]

Original issue reported on code.google.com by likunarm...@gmail.com on 2 Mar 2016 at 5:37

GoogleCodeExporter commented 8 years ago
I've raised the quota limit that you were hitting, this should be fixed now. 
Please let us know if you see this again.

Original comment by jasonhall@google.com on 2 Mar 2016 at 3:25

GoogleCodeExporter commented 8 years ago
Thanks Jason, it's working now.

I'm curious what can we do on our side to prevent this kind of error happening 
again? I was not aware of the quota limit on deployment before.

Original comment by likunarm...@gmail.com on 2 Mar 2016 at 4:59