无法关闭应用引擎版本.继续计费 [英] Can't shutdown app engine version. Keeps billing

查看:40
本文介绍了无法关闭应用引擎版本.继续计费的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法停止,因此无法删除应用引擎版本.目前,在相同的默认服务下,我有3个不同的版本:

I am not able to stop and consequently delete a app engine version. I have 3 different versions at the moment, under the same default service:

  1. gappa-v1 ,目前正在提供100%的流量
  2. mg-v1 ,当前已停止
  3. 20170223t163224
  1. gappa-v1, which is currently serving 100% of the traffic
  2. mg-v1, which is currently stopped
  3. 20170223t163224

我可以停止,重新启动和删除除 20170223t163224 版本之外的所有版本.我已经从Google Cloud Console和 gcloud 命令行工具进行了所有尝试.从Google Cloud Console进行交互是没有用的,因为它没有给我有关该错误的反馈,而只是在临时停止时出现无法停止版本无法删除该版本尝试删除.

I am able to stop, restart and delete all the versions but the 20170223t163224 version. I have tried everything, both from the Google Cloud Console, and the gcloud command-line tool. Interacting from the Google Cloud Console is kinda useless because it gives me no feedback on the error, but just a generic Failed to stop version on a stop attemp or The version could not be deleted on a delete attempt.

gcloud 命令行工具进行交互时,我已经尝试过:

When interacting with the gcloud command line tool, I have tried:

$> gcloud app versions stop `20170223t163224`
$> ERROR: (gcloud.app.versions.stop) INTERNAL: This flexible version cannot be modified, it can only be deleted.

然后,如果我尝试将其删除:

Then if I try to delete it:

$> gcloud app versions delete `20170223t163224`
$> [default/20170223t163224]: Error Response: [13] Deployment Manager operation failed, name: operation-1488895382516-54a247861f121-d456a139-0b1e3fc6, error: [{"code":"RESOURCE_ERROR","locati
on":"/deployments/aef-default-20170223t163224/resources/aef-default-20170223t163224-00","message":"{\"ResourceType\":\"compute.beta.regionInstanceGroupManager\",\"ResourceErrorCode\":\"400
\",\"ResourceErrorMessage\":{\"code\":400,\"errors\":[{\"domain\":\"global\",\"message\":\"The instance_group_manager resource 'aef-default-20170223t163224-00' is already being used by 'ae
f-default-20170223t163224'\",\"reason\":\"resourceInUseByAnotherResource\"}],\"message\":\"The instance_group_manager resource 'aef-default-20170223t163224-00' is already being used by 'ae
f-default-20170223t163224'\",\"statusMessage\":\"Bad Request\",\"requestPath\":\"https://www.googleapis.com/compute/beta/projects/MYAPPID/regions/us-central1/instanceGroupMana
gers/aef-default-20170223t163224-00\"}}"}]

某处(此刻我找不到位置),文档说在分配流量之前,我无法删除一个版本.因此,我确保该版本没有分配流量.实际上,App Engine控制台显示以下内容:

Somewhere (I can't find where in this moment), the docs says I can't delete a version until traffic is allocated to it. So, I made sure that the version has no traffic allocated. Infact the app engine console shows the following:

我还尝试过使用`gcloud应用实例delete INSTANCE_ID --service = default --version = 20170223t163224删除单个版本实例.该命令没有返回任何错误,但是没有任何效果,仍然有2个实例.

I have also tried to delete the single version instances using `gcloud app instances delete INSTANCE_ID --service=default --version=20170223t163224. This command didn't return any error, but had no effect, there are still 2 instances.

我还尝试覆盖部署新的,基本上为空的应用程序的版本(您好,来自google教程),但不允许我进行部署.

I also tried to override the version deploying a new, basically empty app (hello world, from the google tutorial), but it didn't allow me to deploy it.

最大的问题是,我仍然需要为此版本付费,因为它仍然存在,正在提供服务并且有2个实例.

The biggest problem is that i am still getting charged for this version, as it is still there, serving and with 2 instances.

我目前正在使用Google App Engine灵活环境和NodeJS.

I am currently working with Google App Engine Flexible Environment and NodeJS.

推荐答案

您应通过这种形式.将来,对于类似这样的生产问题,您还应该看到有关发布到问题跟踪器的信息.

You should contact billing through this form. In future, for production issues like this, you should also see about posting to the issue tracker.

这篇关于无法关闭应用引擎版本.继续计费的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆