Hi everyone,
I’ve been trying this about 15 times and failing every time.
This is what I do:
- I create an Ubuntu 24.04 VM
- I ssh into it, via cli (gcloud compute ssh VM_NAME) or console SSH button
- I install tailscale and ubuntu-desktop for some internal marketing use
- I reboot with
sudo reboot - Instance’s ssh doesn’t start, tailscale is down, I can’t access the instance in any way and I have to delete it
These are some of the errors I get:
2025-02-20T10:26:26.598949+00:00 marketing-instance-ubuntu24 google_guest_agent[944]: ERROR metadata.go:68 Error watching metadata: c Stopping e[0;1;39mserial-getty@ttyS0.servicee[0m - Serial Getty on ttyS0...
2025-02-20T10:26:47.640649+00:00 marketing-instance-ubuntu24 tailscaled[645]: health(warnable=warming-up): error: Tailscale is starting. Please wait.
2025-02-20T10:26:50.835466+00:00 marketing-instance-ubuntu24 google_guest_agent[950]: Failed to rollback primary nic (left over) config for NetworkManager: error reloading NetworkManager config cache: exec: "nmcli": executable file not found in $PATH
2025-02-20T10:26:50.835810+00:00 marketing-instance-ubuntu24 google_guest_agent[950]: Unable to roll back config for NetworkManager: error reloading NetworkManager config cache: exec: "nmcli": executable file not found in $PATH
2025-02-20T10:26:56.896422+00:00 marketing-instance-ubuntu24 google_guest_agent[950]: ERROR oslogin.go:173 Error reloading service: Failed to reload-or-restart sshd.service: Unit sshd.service not found..
025-02-20T10:30:00.192906+00:00 marketing-instance-ubuntu24 chrome-remote-desktop[3535]: [0220/103000.192745:ERROR:stream_packet_socket.cc(427)] Stream socket received net error: -109
2025-02-20T10:30:00.193000+00:00 marketing-instance-ubuntu24 chrome-remote-desktop[3535]: [0220/103000.192777:ERROR:turn_port.cc(437)] Port[14ee00:0:1:0:relay:Net[tailscale0:fd7a:115c:a1e0:x:x:x:x:x/128:Unknown:id=5]]: Failed to create TURN client socket
2025-02-20T10:30:01.173275+00:00 marketing-instance-ubuntu24 chrome-remote-desktop[3535]: [0220/103001.173217<li-emoji id="lia_warning" title=":warning:"></li-emoji>p2p_transport_channel.cc(1339)] Failed to resolve ICE candidate hostname 560031f1-d3c6-4a3c-9991-443bc2456380.local with error -3
What am I doing wrong?
My ssh keys are registered in the project’s metadata, why every instance I create and reboot fails to start ssh?
Also I run troubleshoot and find zero errors:
---- Checking user permissions ----
User permissions: 0 issue(s) found.
---- Checking VPC settings ----
VPC settings: 0 issue(s) found.
---- Checking VM status ----
The Monitoring API is needed to check the VM's Status.
If not already enabled, is it OK to enable it and check the VM's Status? (Y/n)?
VM status: 0 issue(s) found.
---- Checking VM boot status ----
VM boot: 0 issue(s) found.
Thanks in advance,
Mike S