Comment 4 for bug 1938299

Revision history for this message
Chad Smith (chad.smith) wrote :

A note as well, a 2nd reboot of these Hirsute "broken" images will end up properly activating google-guest-agent across that reboot. So, for some reason the unit appears installed and enabled but not running.

# after reboot
$ systemctl status google-guest-agent.service
● google-guest-agent.service - Google Compute Engine Guest Agent
     Loaded: loaded (/lib/systemd/system/google-guest-agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-08-06 20:35:26 UTC; 17min ago
   Main PID: 626 (google_guest_ag)
      Tasks: 9 (limit: 8924)
     Memory: 20.1M
     CGroup: /system.slice/google-guest-agent.service
             └─626 /usr/bin/google_guest_agent

Aug 06 20:35:26 SRU-worked-gce GCEGuestAgent[626]: 2021-08-06T20:35:26.9717Z GCEGuestAgent Info: Created google sudoers file
Aug 06 20:35:26 SRU-worked-gce GCEGuestAgent[626]: 2021-08-06T20:35:26.9720Z GCEGuestAgent Info: Creating user powersj.
Aug 06 20:35:27 SRU-worked-gce GCEGuestAgent[626]: 2021-08-06T20:35:27.3118Z GCEGuestAgent Info: Updating keys for user powersj.
Aug 06 20:35:27 SRU-worked-gce GCEGuestAgent[626]: 2021-08-06T20:35:27.3121Z GCEGuestAgent Info: Creating user csmith.
Aug 06 20:35:27 SRU-worked-gce gpasswd[946]: user csmith added by root to group lxd
Aug 06 20:35:27 SRU-worked-gce gpasswd[953]: user csmith added by root to group google-sudoers
Aug 06 20:35:27 SRU-worked-gce GCEGuestAgent[626]: 2021-08-06T20:35:27.5706Z GCEGuestAgent Info: Updating keys for user csmith.
Aug 06 20:35:27 SRU-worked-gce GCEGuestAgent[626]: 2021-08-06T20:35:27.5709Z GCEGuestAgent Info: Adding existing user ubuntu to google-sudoers group.
Aug 06 20:35:27 SRU-worked-gce gpasswd[959]: user ubuntu added by root to group google-sudoers
Aug 06 20:35:27 SRU-worked-gce GCEGuestAgent[626]: 2021-08-06T20:35:27.5859Z GCEGuestAgent Info: Updating keys for user ubuntu.