-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Cassandra database plugin intermittent timeouts connection to Cassandra #8527
Comments
Marking as an enhancement because the request appears to be to add retrying when Cassandra returns 500's. |
If work is going to be done under the hood to fix this, it might help to stem the number of total roles that this plugin generates and maintains. If some kind of Using this plugin with |
Any updates here? I am also running into this exact issue. @nmylesnbx were you able to resolve / work around this? |
@munjalpatel it is possible to increase the In my case that solved the problem. |
Documentation says timeout is 5s, but code uses 0s, which is too short any any real world usage, causing issues. https://www.vaultproject.io/api/secret/databases/cassandra#connect_timeout issues: hashicorp#8527 hashicorp#9400
* fix cassandra db plugin timeout to 5s as in docs Documentation says timeout is 5s, but code uses 0s, which is too short any any real world usage, causing issues. https://www.vaultproject.io/api/secret/databases/cassandra#connect_timeout issues: #8527 #9400 * Create 12443.txt changelog entry
Hey folks - I feel that this issue is no longer relevant and may be closed. @nmylesnbx any chance you can confirm if / how this may still be applicable for you? On a related note there's #10467 expected in the next major release of 1.12 which adds PS - this request seems somewhat related to #15899 |
Closing due to no response. Please re-open if still relevant. |
Describe the bug
I'm getting intermittent timeout errors from the Cassandra database plugin connecting to Cassandra. This happens when calling
database/creds/<role>
. Most of the time it works but I'm hitting this every 10 or so calls to get new database credentials.hvac python stacktrace:
To Reproduce
Steps to reproduce the behavior:
vault secrets enable database
GET http://vault:8200/v1/database/creds/role
Expected behavior
I would expect timeouts to be retried to avoid intermittent 500's
Environment:
This happens both locally (docker-compose) and in a deployed environment
vault status
): 1.2.2vault version
): 1.2.2Vault cassandra plugin configuration was something like this:
The text was updated successfully, but these errors were encountered: