-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add timeout support for vault client #21
base: master
Are you sure you want to change the base?
Add timeout support for vault client #21
Conversation
@Lucretius Please review it, thanks! |
@devops-42 , please consider to test this feature, it's not harmful for your production, but you should test it at UAT if possible. |
unfortunately it seems not to work. Steps which I've done:
The pod still exits after 60 secs with the well-known error:
I already logged into the pod and can confirm, that the
Maybe I missed something? |
@devops-42 : there was a typo on my code, fixed, can you please pull the latest and try again ? |
Tested again. The log file now shows that the timeout parameter could parsed correctly, but the task still aborts after 60s:
|
@devops-42 thanks, I might be missed somethings, will update it soon. |
@devops-42: please test the latest commit once have a chance, thanks! |
Hey @luanphantiki finally :) Thumbs up, good work!
Thanks |
Alright, thanks for the confirmation @devops-42 ;) @Lucretius The new feature seems to work, please review it, thanks! |
Can we merge this is? For me snapshot creation didn't work at all. Sometimes got infamous context deadline error, but other times the snapshots were created with only 0 bytes. I just tried this PR to increase the timeout and it does work for me. |
Add Timeout for Vault-Connections (based on Lucretius#21)
@Lucretius The repository is stale since 2021 - are you planning on updating or enhancing it with PR's like this at all? |
HI @druesendieb: see #28 (comment) This repo is not actively maintained any more. There are some forks with added features including the timeout for vault client (e.g. https://github.com/Boostport/vault_raft_snapshot_agent). I've created a fork too (https://github.com/Argelbargel/vault-raft-snapshot-agent) which includes most of the open prs and some further enhancements. Perhaps one of those might work for you? |
Hello, No, I built this years ago when I was working at a place that used Vault, which I no longer do. There are others who have forked this repo and have enhanced it. Feel free to do so as well. I will update this repo to reflect its status. |
ref: