sme*_*its 5 google-app-engine node.js
我无法停止并因此删除应用引擎版本.目前我有3个不同的版本,在相同的默认服务下:
gappa-v1,目前正在提供100%的流量mg-v1,目前已停止20170223t163224我能够停止,重新启动和删除所有版本,但20170223t163224版本.我已尝试过所有内容,包括Google云端控制台和gcloud命令行工具.从Google云端控制台进行交互有点无用,因为它没有给我任何关于错误的反馈,但只是一个通用无法在停止尝试时停止版本或者在删除尝试时无法删除该版本.
在与gcloud命令行工具交互时,我尝试过:
$> gcloud app versions stop `20170223t163224`
$> ERROR: (gcloud.app.versions.stop) INTERNAL: This flexible version cannot be modified, it can only be deleted.
Run Code Online (Sandbox Code Playgroud)
然后,如果我尝试删除它:
$> 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\"}}"}]
Run Code Online (Sandbox Code Playgroud)
在某个地方(我现在无法找到它),文档说我不能删除版本,直到流量被分配给它.所以,我确保该版本没有分配流量.实际上,应用引擎控制台显示以下内容:
我还尝试使用`gcloud app instances delete删除INSTANCE_ID --service = default --version = 20170223t163224删除单个版本实例.此命令没有返回任何错误,但没有任何效果,仍然有2个实例.
我还尝试覆盖部署一个新的,基本上是空的应用程序的版本(hello world,来自google教程),但它不允许我部署它.
最大的问题是我仍然对这个版本收费,因为它仍然存在,服务和2个实例.
我目前正在使用Google App Engine Flexible Environment和NodeJS.
| 归档时间: |
|
| 查看次数: |
719 次 |
| 最近记录: |