简体   繁体   English

谷歌云gcloud应用程序部署给我权限被拒绝

[英]google cloud gcloud app deploy gives me permission denied

I can't deploy an app anymore. 我无法再部署应用。 I was able to yesterday, then I deleted the project, then today I re-enabled it. 我昨天能够,然后删除了该项目,然后今天重新启用了它。 And now when I deploy with gcloud app deploy I get a build error, in the build error log I get the following 现在,当我使用gcloud app deploy出现构建错误,在构建错误日志中,我得到以下内容

Pulling image: gcr.io/gae-runtimes/python37_app_builder:python37_20190328_3_7_3_RC00
python37_20190328_3_7_3_RC00: Pulling from gae-runtimes/python37_app_builder
Digest: sha256:64993f54d3c409dd342d23167eb3ff5b92485a4225dc30762125e9c99fcf105a
Status: Downloaded newer image for gcr.io/gae-runtimes/python37_app_builder:python37_20190328_3_7_3_RC00
11 May 2019 22:00:03 INFO     Arguments: ['--parser_script=/usr/local/bin/ftl.par', '--name=eu.gcr.io/ellipticdata-ai/app-engine-tmp/app/ttl-2h:248e94c0-9e01-412c-9435-8fc7b0cbda1f', '--directory=/workspace', '--destination=/srv', '--cache-repository=eu.gcr.io/ellipticdata-ai/app-engine-tmp/build-cache/ttl-7d', '--cache', '--python-cmd=/opt/python3.7/bin/python3.7', '--pip-cmd=/env/bin/python3.7 -m pip', '--venv-cmd=/opt/python3.7/bin/python3.7 -m venv /env', '-v=DEBUG', '--entrypoint-from-app-yaml=false', '--entrypoint-contents=', '--base=gcr.io/gae-runtimes/python37:python37_20190328_3_7_3_RC00']
11 May 2019 22:00:03 INFO     Unparsed arguments: ['--name=eu.gcr.io/ellipticdata-ai/app-engine-tmp/app/ttl-2h:248e94c0-9e01-412c-9435-8fc7b0cbda1f', '--destination=/srv', '--cache-repository=eu.gcr.io/ellipticdata-ai/app-engine-tmp/build-cache/ttl-7d', '--cache', '--python-cmd=/opt/python3.7/bin/python3.7', '--pip-cmd=/env/bin/python3.7 -m pip', '--venv-cmd=/opt/python3.7/bin/python3.7 -m venv /env', '-v=DEBUG', '--base=gcr.io/gae-runtimes/python37:python37_20190328_3_7_3_RC00']
11 May 2019 22:00:03 INFO     Using entrypoint from command line
11 May 2019 22:00:03 INFO     Entrypoint: {'type': 'default'}
11 May 2019 22:00:03 INFO     Executing ['/usr/local/bin/ftl.par', '--name=eu.gcr.io/ellipticdata-ai/app-engine-tmp/app/ttl-2h:248e94c0-9e01-412c-9435-8fc7b0cbda1f', '--destination=/srv', '--cache-repository=eu.gcr.io/ellipticdata-ai/app-engine-tmp/build-cache/ttl-7d', '--cache', '--python-cmd=/opt/python3.7/bin/python3.7', '--pip-cmd=/env/bin/python3.7 -m pip', '--venv-cmd=/opt/python3.7/bin/python3.7 -m venv /env', '-v=DEBUG', '--base=gcr.io/gae-runtimes/python37:python37_20190328_3_7_3_RC00', '--entrypoint=/start', '--directory=/workspace', '--additional-directory=/.gaeconfig']
INFO     FTL version python-v0.15.0
INFO     Beginning FTL build for python
INFO     FTL arg passed: virtualenv_dir /env
INFO     FTL arg passed: ttl 168
INFO     FTL arg passed: python_cmd /opt/python3.7/bin/python3.7
INFO     FTL arg passed: cache True
INFO     FTL arg passed: virtualenv_cmd virtualenv
INFO     FTL arg passed: entrypoint /start
INFO     FTL arg passed: exposed_ports None
INFO     FTL arg passed: pip_cmd /env/bin/python3.7 -m pip
INFO     FTL arg passed: tar_base_image_path None
INFO     FTL arg passed: builder_output_path /builder/outputs
INFO     FTL arg passed: destination_path /srv
INFO     FTL arg passed: sh_c_prefix False
INFO     FTL arg passed: base gcr.io/gae-runtimes/python37:python37_20190328_3_7_3_RC00
INFO     FTL arg passed: cache_key_version v0.15.0
INFO     FTL arg passed: cache_salt 
INFO     FTL arg passed: cache_repository eu.gcr.io/ellipticdata-ai/app-engine-tmp/build-cache/ttl-7d
INFO     FTL arg passed: venv_cmd /opt/python3.7/bin/python3.7 -m venv /env
INFO     FTL arg passed: name eu.gcr.io/ellipticdata-ai/app-engine-tmp/app/ttl-2h:248e94c0-9e01-412c-9435-8fc7b0cbda1f
INFO     FTL arg passed: global_cache False
INFO     FTL arg passed: upload True
INFO     FTL arg passed: fail_on_error True
INFO     FTL arg passed: output_path None
INFO     FTL arg passed: directory /workspace
INFO     FTL arg passed: additional_directory /.gaeconfig
INFO     FTL arg passed: verbosity DEBUG
INFO     starting: full build
INFO     starting: builder initialization
INFO     Loading Docker credentials for repository 'gcr.io/gae-runtimes/python37:python37_20190328_3_7_3_RC00'
INFO     Loading Docker credentials for repository 'eu.gcr.io/ellipticdata-ai/app-engine-tmp/app/ttl-2h:248e94c0-9e01-412c-9435-8fc7b0cbda1f'
INFO     builder initialization took 0 seconds
INFO     starting: build process for FTL image
INFO     starting: checking_cached_interpreter_layer
INFO     starting: check python version
INFO     `python version` full cmd:
/opt/python3.7/bin/python3.7 --version
INFO     `python version` stderr:

INFO     check python version took 0 seconds
DEBUG    Checking cache for cache_key d62f0bca0db2e6b2b1312f303e883b8ff187274fe5fd7b9aa17b13cdb68bad80
INFO     checking_cached_interpreter_layer took 0 seconds
INFO     build process for FTL image took 0 seconds
INFO     full build took 0 seconds
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/ftl.par/__main__.py", line 65, in <module>
  File "/usr/local/bin/ftl.par/__main__.py", line 54, in main
  File "/usr/local/bin/ftl.par/__main__/ftl/python/builder.py", line 73, in Build
  File "/usr/local/bin/ftl.par/__main__/ftl/python/layer_builder.py", line 361, in BuildLayer
  File "/usr/local/bin/ftl.par/__main__/ftl/common/cache.py", line 113, in Get
  File "/usr/local/bin/ftl.par/__main__/ftl/common/cache.py", line 137, in _getEntry
  File "/usr/local/bin/ftl.par/__main__/ftl/common/cache.py", line 152, in _getLocalEntry
  File "/usr/local/bin/ftl.par/__main__/ftl/common/cache.py", line 175, in getEntryFromCreds
  File "/usr/local/bin/ftl.par/containerregistry/client/v2_2/docker_image_.py", line 279, in exists
  File "/usr/local/bin/ftl.par/containerregistry/client/v2_2/docker_image_.py", line 293, in manifest
  File "/usr/local/bin/ftl.par/containerregistry/client/v2_2/docker_image_.py", line 250, in _content
  File "/usr/local/bin/ftl.par/containerregistry/client/v2_2/docker_http_.py", line 364, in Request
containerregistry.client.v2_2.docker_http_.V2DiagnosticException: response: {'status': '403', 'content-length': '294', 'x-xss-protection': '0', 'transfer-encoding': 'chunked', 'server': 'Docker Registry', '-content-encoding': 'gzip', 'docker-distribution-api-version': 'registry/2.0', 'cache-control': 'private', 'date': 'Sat, 11 May 2019 22:00:04 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-type': 'application/json'}
Permission denied for "d62f0bca0db2e6b2b1312f303e883b8ff187274fe5fd7b9aa17b13cdb68bad80" from request "/v2/ellipticdata-ai/app-engine-tmp/build-cache/ttl-7d/python-cache/manifests/d62f0bca0db2e6b2b1312f303e883b8ff187274fe5fd7b9aa17b13cdb68bad80". : None

I tried to create my credentials from scratch again but no luck, i cant deploy my app anymore. 我试图再次从头开始创建我的凭据,但是没有运气,我不能再部署我的应用了。 Any ideas? 有任何想法吗?

Solution found. 找到解决方案。 I need to re enable billing for the project through the 'identity platform'. 我需要通过“身份平台”重新启用该项目的结算。 As apparently the previous approval gets deleted. 显然,先前的批准被删除了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 gcloud app deploy 失败并显示 Failed to create cloud build: Permission denied on 'locations/xyz' (or it may not exist) - gcloud app deploy is failing with Failed to create cloud build: Permission denied on 'locations/xyz' (or it may not exist) 为什么谷歌云应用部署仍然给我旧网站 - Why is google cloud app deploy still giving me the old site 使用capistrano部署应用程序后,权限被拒绝 - Permission denied after deploy app with capistrano 错误:(gcloud.app.deploy) 错误响应:[13] 创建 Google Cloud Storage 存储桶时发生内部错误 - ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket (gcloud.functions.deploy) 使用特定服务帐户部署功能时权限被拒绝 - (gcloud.functions.deploy) permission denied when deploying function with specific service account GCloud 命令不适用于 SSH(gcloud app deploy) - GCloud commands not working with SSH (gcloud app deploy) gcloud 无法部署 nodejs 应用程序 - gcloud cant deploy nodejs app 将gcloud应用部署到差异环境 - Deploy gcloud app to diff environments Google Cloud-将应用程序部署到特定的VM实例 - Google Cloud - Deploy App to Specific VM Instance 上限部署-获得权限被拒绝 - cap deploy - getting permission denied
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM