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

/bin/sh: vault: command not found #1

Open
nvkanumuri opened this issue Feb 28, 2022 · 2 comments
Open

/bin/sh: vault: command not found #1

nvkanumuri opened this issue Feb 28, 2022 · 2 comments

Comments

@nvkanumuri
Copy link

I am seeing below error when trying to initiliaze, and I see vault is in the path as well.. not sure why its throwing this error. But when I manually go and run it works. Any help would be greatly appreciated

TASK [vault-init : Initialise Vault operator] ********************************************************************************************************************************************************************************
fatal: [vault3]: FAILED! => {"changed": true, "cmd": "vault operator init -key-shares=5 -key-threshold=3 -format json", "delta": "0:00:00.008257", "end": "2022-02-28 21:10:17.041600", "msg": "non-zero return code", "rc": 127, "start": "2022-02-28 21:10:17.033343", "stderr": "/bin/sh: vault: command not found", "stderr_lines": ["/bin/sh: vault: command not found"], "stdout": "", "stdout_lines": []}

@romanoalessandro
Copy link

How did you resolve it?

@nvkanumuri
Copy link
Author

I couldn't fix this, But we tried to go different route by setting up in k8s and it's much easier. Initially I planned to write a script and run that script but then deploying on k8s was little easier.

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

2 participants