2017-03-07 77 views
4

我無法停止並因此刪除應用引擎版本。我有3個不同版本的那一刻,在相同的默認服務:無法關閉應用程序引擎版本。保持帳單

  1. gappa-v1,這是目前服務於交通
  2. mg-v1,這是100%,目前停止
  3. 20170223t163224

我能夠停止,重新啓動和刪除所有版本,但20170223t163224版本。 我已嘗試過所有內容,包括Google雲端控制檯和gcloud命令行工具。 從谷歌雲端控制檯交互是有點兒無用的,因爲它給我的錯誤沒有反饋,但只是一個通用未能就停止學嘗試或停止版本版本無法在刪除嘗試刪除

當與gcloud命令行工具進行交互,我曾嘗試:

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

然後,如果我嘗試將其刪除:

$> 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引擎控制檯顯示以下內容:

Traffic allocation and instances

我也曾嘗試使用`gcloud應用實例刪除INSTANCE_ID --service =默認--version = 20170223t163224刪除單個版本的實例。這個命令沒有返回任何錯誤,但沒有效果,仍然有2個實例。

我也嘗試覆蓋部署一個新的,基本上是空的應用程序(你好,從the google tutorial)的版本,但它不允許我部署它。

最大的問題是我仍然收取這個版本,因爲它仍然存在,服務和2個實例。

我目前正在使用Google App Engine Flexible Environment和NodeJS。

回答

2

您應通過this form聯繫帳單。今後,對於這樣的生產問題,您還應該看到有關發佈到issue tracker

相關問題