Skip to content
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

Vault Agent Breaks with NixOS 23.11 #83

Open
usmcamp0811 opened this issue Dec 4, 2023 · 2 comments
Open

Vault Agent Breaks with NixOS 23.11 #83

usmcamp0811 opened this issue Dec 4, 2023 · 2 comments

Comments

@usmcamp0811
Copy link

usmcamp0811 commented Dec 4, 2023

I just tried upgrading to NixOS 23.11 and ran into some issues with Vault Agent. The upgrade results in Vault server being bumped to 2.15.0 which seems to not be compatible with the current version of Vault Agent.

Edit: I think I was wrong, its not the version of Vault Agent. I cat'd out the service and ran it manually and it seems to work; however something is definitely off with this and 23.11 cause none of the Vault Agent services are starting.

@usmcamp0811
Copy link
Author

Seems like maybe getent isn't being put in the PATH for Vault Agent some how? I dunno.. I tried adding it to the system wide environment and its there but still get this in journalctl

░░ The unit detsys-vaultAgent-copyKUBECONFIG.service has entered the 'failed' state with result 'exit-code'.
Dec 04 22:57:46 butler messenger[558929]: 2023-12-05T04:57:46.179882Z ERROR messenger: status_msg=vault agent exited with code 1
Dec 04 22:57:46 butler messenger[559011]: Error fetching client: failed to get token helper: error expanding config path "": exec: "getent": executable file not >
Dec 04 22:57:46 butler messenger[558937]: 2023-12-05T04:57:46.186291Z ERROR messenger: status_msg=vault agent exited with code 1
Dec 04 22:57:46 butler systemd[1]: Failed to start detsys-vaultAgent-copyKUBECONFIG.service.

@usmcamp0811
Copy link
Author

usmcamp0811 commented Dec 5, 2023

Found the solution and opened a PR #84

@usmcamp0811 usmcamp0811 changed the title Vault Agent Version not compatible with latest Vault Vault Agent Breaks with NixOS 23.11 Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant