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

Slow retrieval of nested keys #18

Open
datamc-pdetomasi opened this issue Sep 17, 2019 · 5 comments
Open

Slow retrieval of nested keys #18

datamc-pdetomasi opened this issue Sep 17, 2019 · 5 comments

Comments

@datamc-pdetomasi
Copy link

I am experiencing an issue with retrieving keys inside a nested folder.

If I have /folder1/Key then it can retrieve the key instantly, whether this is using Rundeck's Key Storage browser or through a job itself.

If I have /folder1/folder2/Key then there is about an 8 second delay PER key.
Thus when i have a job which references 5 keys, there is a considerable delay just to get the keys and start the job.

I am running:

  • Rundeck 3.0.21-20190424
  • vault-storage-1.3.2-SNAPSHOT.jar
  • Vault 1.1.2

Rundeck is running in a docker and vault is running in a docker on a seperate system which they are on an intranet together.
I can't see any considerable CPU or RAM usage spiking on either system.

Any idea why this is happening? any help would be much appreciated

@datamc-pdetomasi
Copy link
Author

Bump
does anyone have a solution for me yet?

@chagaspa
Copy link

Hi having trouble configuring the integration can you share your configuration in the docker yaml ?
are you using the env VARIABLES or using the remco template ?

Thanks in advance
Paulo

@datamc-pdetomasi
Copy link
Author

datamc-pdetomasi commented Apr 15, 2020 via email

@padraiglennon
Copy link

I've been hit by this issue as well. The following was a workaround for now

config.retryIntervalMilliseconds=50

@ElfoLiNk
Copy link

ElfoLiNk commented Nov 4, 2020

Upgrading to 'vault-java-driver', version: '5.1.0' will solve the issue due to

Changes the retry behavior, to no longer attempt retries on 4xx response codes (for which retries generally won't succeed anyway). This is the only (mildly) breaking change in this release, necessitating a major version bump. (PR #176) BetterCloud/vault-java-driver#176

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

4 participants