-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetch-ssh-keys.service fails on GCE #756
Comments
The last part of the URL seems to be called |
@P-E-Meunier you can find the definition in nixpkgs:nixos/modules/virtualisation/google-compute-image.nix, I think I saw this issue as well, would be nice if you fix it. |
Will fix in exchange for documentation (in the manual or on the wiki) on how these images are supposed to work, how they're generated and uploaded. I am willing to test and to write it up in the manual. I like this project, I want to use it, but I have absolutely no clue how this works right now (I've learned mostly from looking at nix and python code, and this was done manually by someone, apparently). |
Here is an extra problem with that service: even if they're fetched, authorized keys get written to |
As far as I understand, Nixos writes authorized keys into |
Seems the google compute metadata service behavior changed a bit recently which caused this issue ? see: https://cloud.google.com/compute/docs/storing-retrieving-metadata (cherry picked from commit 5dba59d)
On GCE, Nix tries to start a service called
fetch-ssh-keys
, but it seems to be using obsolete calls to the GCE API.I feel like this is something I could fix myself (and submit a PR), but the documentation doesn't mention anything about where this is defined.
Is the standard way a find/grep on nixpkgs? on the nixops source?
The text was updated successfully, but these errors were encountered: