简体   繁体   English

Google Cloud Deployment错误响应:[13]无法选择区域和/或区域

[英]Google Cloud Deployment Error Response: [13] Could not pick a region and/or zone

Context: Following, " How to Use Pub/Sub with Python ". 上下文:以下为“ 如何在Python中使用发布/订阅 ”。

Problem: The following error is being thrown while Deploying an app to Google Cloud Platform: 问题:将应用程序部署到Google Cloud Platform时抛出以下错误:

Error Response: [13] Could not pick a region and/or zone

Resolutions attempted: 尝试的解决方案:

  1. Ran gcloud init to re-apply region/zone settings. 运行gcloud init以重新应用区域/区域设置。
  2. Set ZONE in config.py to "us-central1-f". config.py ZONE设置为“ us-central1-f”。
  3. Reset Google Cloud API with gcloud config set app/use_appengine_api false . 使用gcloud config set app/use_appengine_api false重置Google Cloud API。

gcloud info response: gcloud info响应:

Google Cloud SDK [90.0.0]

Platform: [Mac OS X, x86_64]
Python Version: [2.7.10 (default, Oct 23 2015, 18:05:06)  [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]]
Python Location: [/Users/.../getting-started-python/6-pubsub/env/bin/python2]
Site Packages: [Enabled]

Installation Root: [/Users/user/google-cloud-sdk]
Installed Components:
  core: [2015.12.07]
  core-nix: [2015.11.24]
  gcloud: []
  gsutil-nix: [4.15]
  gsutil: [4.16]
  bq: [2.0.18]
  bq-nix: [2.0.18]
System PATH: [...]
Cloud SDK on PATH: [True]

Installation Properties: [/Users/user/google-cloud-sdk/properties]
User Config Directory: [/Users/user/.config/gcloud]
User Properties: [/Users/user/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [*******]
Project: [*******]

Current Properties:
  [core]
    project: [*******]
    account: [*******]
    disable_usage_reporting: [True]
  [app]
    use_appengine_api: [true]
    suppress_change_warning: [true]
  [compute]
    region: [us-central1]
    zone: [us-central1-f]

Logs Directory: [/Users/user/.config/gcloud/logs]
Last Log File: [/Users/user/.config/gcloud/logs/2015.12.30/14.29.56.415916.log]

尝试gcloud config set compute/zone us-central1-f

Recreating the project seems to have resolved the issue. 重新创建项目似乎已经解决了该问题。

I haven't been able to identify a difference between the two project settings. 我无法确定两个项目设置之间的差异。 I imagine the error might have occurred on Google's end while setting up the original project. 我想在设置原始项目时可能会在Google端发生错误。

暂无
暂无

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

相关问题 Google Cloud DataLab + BigQuery:如何设定地区/区域/位置 - Google Cloud DataLab + BigQuery: how to set region/zone/location 无法在 Google Cloud Console 上上传 python 脚本。 (错误响应 [13] && 错误响应 [9]) - Can't Upload python script on Google Cloud Console. (Error response [13] && Error response [9]) 错误:(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 Google Cloud Function: FunctionsError: OperationError: code=13, message=由于运行状况检查失败,函数部署失败 - Google Cloud Function: FunctionsError: OperationError: code=13, message=Function deployment failed due to a health check failure Django部署在谷歌云错误(pywin32问题) - Django deployment in google cloud error (pywin32 problem ) 在 Google Cloud 上部署 Bokeh Flask - Bokeh Flask Deployment on Google Cloud 部署错误:由于使用 Tweepy 对 Google Cloud Function 进行健康检查失败,函数部署失败 - Deployment Error: Function deployment failed due to a health check failure on Google Cloud Function with Tweepy gcloud.app.deploy 错误响应:[13] 无法创建云构建:无效存储桶 - 如何修复? - gcloud.app.deploy Error Response: [13] Failed to create cloud build: invalid bucket - how to fix? 谷歌云部署错误:找不到满足要求的版本 - google cloud deploy ERROR: Could not find a version that satisfies the requirement 谷歌云 Function 返回“错误:无法处理请求” - Google Cloud Function returning "Error: could not handle the request"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM