【问题标题】:Creating Google Cloud Image fails with "Could not fetch resource: Internal error"创建 Google Cloud Image 失败并显示“无法获取资源:内部错误”
【发布时间】:2021-12-27 17:05:40
【问题描述】:

我正在尝试使用 Google Cloud 设置私人 Redash instance。第 1 步是将 Redash 映像添加到您的帐户,以便您可以使用它启动 VM。

通过 Google Cloud Shell 添加图像时,我的 shell 在该过程完成之前超时。

通过控制台 UI 添加图像时,它会加载并加载然后消失得无影无踪。

通过 gcloud CLI 添加图片时,我终于得到了响应:

➜ gcloud compute images create "redash" --source-uri gs://redash-images/redash.8.0.0-b32245-1.tar.gz

ERROR: (gcloud.compute.images.create) Could not fetch resource:
 - Internal error. Please try again or contact Google Support. (Code: '-527xxxxxxxxxx759')

(x = 隐藏号码)

我的网速非常慢,所以我认为这可能是问题所在。我已联系 Google 支持,但没有回复。

【问题讨论】:

  • Google 今天早些时候遇到了网络问题。重试看看您是否受到影响。
  • 是的,没错。谷歌有一个网络问题,可以检查其状态here。请重试,看看是否可以添加图片。
  • 您能解决问题还是遇到错误?
  • 我当时无法解决,所以我切换到 AWS
  • 我复制并执行了命令gcloud compute images create "redash" --source-uri gs://redash-images/redash.8.0.0-b32245-1.tar.gz。即使对我来说,它似乎也需要更多的时间来执行,然后我使用 CRTL + C 杀死了它,但是当我检查 Compute Engine > Images 时,使用我执行命令的相同时间戳创建了一个重划线图像。通过这个实验,我假设即使命令被中断,图像创建也可能在后台运行。我建议您检查一次 Compute Engine 中的图像部分。

标签: google-cloud-platform google-cloud-storage gcloud redash


【解决方案1】:

我复制并执行了命令gcloud compute images create "redash" --source-uri gs://redash-images/redash.8.0.0-b32245-1.tar.gz。即使对我来说,它似乎也需要更多的时间来执行,然后我使用 CRTL + C 杀死了它,但是当我检查 Compute Engine > Images 时,使用与我执行命令相同的时间戳创建了一个 redash 图像。通过这个实验,我假设即使命令被中断,图像创建也可能在后台运行。我建议您检查一次 Compute Engine 中的图像部分。

【讨论】:

    【解决方案2】:

    这是 Redash 的 GCP 帐户付款状态问题。 如果此问题再次出现,我建议告诉 redash 管理员检查他们的 GCP 帐户付款状态。

    以下 URL 与 Redash 社区讨论了此问题。 https://discuss.redash.io/t/cant-pull-redash-image-on-google-cloud/9486

    【讨论】:

      猜你喜欢
      • 2023-04-07
      • 1970-01-01
      • 2020-05-10
      • 2017-10-07
      • 1970-01-01
      • 2021-09-17
      • 2017-06-16
      • 2017-07-22
      • 2018-06-25
      相关资源
      最近更新 更多