GCE实例终止,没有任何细节或说明 [英] GCE instance terminated without detail or clarification

查看:108
本文介绍了GCE实例终止,没有任何细节或说明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨晚我们发生了一个奇怪的错误事件,其中GCE VM实例由于不清楚的原因而被系统终止.有什么方法可以确定为什么正在运行的实例被终止?

We got a weird error event last night where a GCE VM instance got terminated by the system for reasons that are unclear. Is there any way to identify why a running instance got terminated?

来自GCE服务的REST响应部分:

Portion of the REST response from the GCE service:

{
  "kind": "compute#operation",
  "operationType": "compute.instances.guestTerminate",
  "status": "DONE",
  "statusMessage": "Instance terminated by guest OS shutdown.",
  "user": "system",
}

推荐答案

在这种情况下,看来您实例的来宾OS本身就是请求关闭/停止的操作系统,因此实例被终止了.这可能是由于多种原因造成的,例如,某人在VM内运行了诸如shutdown -h now之类的命令.

In this case, it appears that your instance's guest OS itself was the one which requested to shutdown / halt so the instance was terminated as a result. This could be due to any number of reasons, e.g., someone ran a command such as shutdown -h now inside the VM.

在这种情况下发生的情况的记录可能会保留在实例的永久磁盘上;但是,如果VM启用了在VM实例终止时自动删除启动磁盘的设置,则此刻可能已消失.

The record of what happened in this case may be left on the instance's persistent disk; however, if the VM had the setting enabled for automatically deleting the boot disk on VM instance termination, it's likely gone at this time.

这篇关于GCE实例终止,没有任何细节或说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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