isusanin / google-cloud-sdk

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

I enabled the Cloud Builder API but it still fails when I try to deploy to GAE #609

Open GoogleCodeExporter opened 8 years ago

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

What steps will reproduce the problem?

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

Please provide any additional information below.

Traceback (most recent call last):
  File "googlecloudsdk/gcloud_main.py", line 169, in main
    gcloud_cli.Execute()
  [...]
  File "googlecloudsdk/third_party/apitools/base/py/base_api.py", line 714, in ProcessHttpResponse
    self.__ProcessHttpResponse(method_config, http_response))
  File "googlecloudsdk/third_party/apitools/base/py/base_api.py", line 586, in __ProcessHttpResponse
    raise exceptions.HttpError.FromResponse(http_response)
HttpError: HttpError accessing 
<https://cloudbuild.googleapis.com/v1/projects/devdot-staging/builds?alt=json>: 
response: <{'status': '403', 'alternate-protocol': '443:quic,p=1', 
'content-length': '126', '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': 'Tue, 01 Mar 2016 17:21:39 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": 403,
    "message": "The caller does not have permission",
    "status": "PERMISSION_DENIED"
  }
}
>

[output truncated]

Original issue reported on code.google.com by and...@ionicsecurity.com on 1 Mar 2016 at 5:24

GoogleCodeExporter commented 8 years ago
Please take a look at the suggested workarounds in the duplicate issue.

Original comment by z...@google.com on 1 Mar 2016 at 5:48

GoogleCodeExporter commented 8 years ago
actually, that's not the same issue.  The problem is that i'm not the project 
owner and for now you have to be the owner for the first deploy with cloud 
builder.

Original comment by and...@ionicsecurity.com on 1 Mar 2016 at 5:50

GoogleCodeExporter commented 8 years ago
Ahh, thanks for the clarification. Sorry for the confusion. We'll look into it.

Original comment by z...@google.com on 1 Mar 2016 at 5:52