Cant connect to VM - GCP

14 views
Skip to first unread message

Mohammed Sameer

unread,
Nov 20, 2019, 12:38:57 PM11/20/19
to gce-discussion
My VM was working fine for last 8 months and all of a sudden I am not able to login to it via terminal and gcp console as well.

Upon checking further, I could see that the image section in the VM is blank which means there is no image however server is ON.

I have attached serial port output and screenshot for blank image section for reference.


Kindly help.
serial-port-output
Screenshot 2019-11-20 at 11.07.00 PM.png

Alexandre Duval-Cid

unread,
Nov 20, 2019, 1:50:10 PM11/20/19
to gce-discussion
Hey,

I looked into similar cases and there two solutions that I can find.

1- recreate the instance with the same boot disk

2- use the serial console [1] [2] to log into the instance and restart the network manager service.

[2] the startup script to set up credentials for serial console access: 
#!/bin/bash
adduser test
echo 'test:test' | chpasswd
usermod -aG google-sudoers test


Reply all
Reply to author
Forward
0 new messages