H3AP
H3AP

Reputation: 1058

Google Cloud VM instance restarts unexpectedly

A Google Cloud VM did restart unexpectedly. According to the log:

When connecting with SSH and running htop, the uptime indicates it has been restarted.

enter image description here

VM settings:

Can someone shed some light on why this VM did restart?

Upvotes: 1

Views: 972

Answers (1)

norbjd
norbjd

Reputation: 11287

Notice the compute.instances.migrateOnHostMaintenance operation in your Stackdriver logs; according to your On host maintenance (Migrate) setting, what you have experienced here is a live migration :

By default, standard instances are set to live migrate, where Compute Engine automatically migrates your instance away from an infrastructure maintenance event, and your instance remains running during the migration. Your instance might experience a short period of decreased performance, although generally most instances should not notice any difference. This is ideal for instances that require constant uptime, and can tolerate a short period of decreased performance.

Upvotes: 1

Related Questions