Open mrkkrp opened 2 years ago
All the guest features are now handled by the google guest agent. https://github.com/GoogleCloudPlatform/guest-agent#features
We need to update that module to use the agent instead of the legacy python scripts. WIP there: https://github.com/NinjaTrappeur/nixpkgs/tree/nin/gce-fix
I marked this as stale due to inactivity. → More info
Describe the bug
With current nixpkgs, commit
34ad3ffe08adfca17fcb4e4a47bb5f3b113687be
, Google compute engine uses this systemd service to run startup scripts (metadata startup script and such):https://github.com/NixOS/nixpkgs/blob/f442ae9fc1a1f5a08d503dcedd490823a034af19/nixos/modules/virtualisation/google-compute-config.nix#L154-L170
As you can see it expects
${gce}/bin/google_metadata_script_runner
to exist, which used to be the case, but for some reason, it's not there anymore:The
bin/
subdirectory is not there.This means, that
google-startup-scripts.service
is going to always fail now and whatever setup it performed is not performed anymore. Which means nothing works anymore.Metadata
"x86_64-linux"
Linux 5.10.52, NixOS, 21.11 (Porcupine)
yes
yes
nix-env (Nix) 2.4pre20210707_02dd6bb
/home/mark/nixpkgs