Hi,
I am using cassandra as backend for my vault service. Both vault and cassandra are running as containers.
When I restart vault and cassandra together then cassandra takes couple of minutes to come up.
Vault tries to create session but it fails with error:-
the reason for this failure is simple- cassandra is still not ready.
My question is is there any way to add a retry logic for creating cassandra session in vault config?
my current config for cassandra as backend:
"backend": {
"cassandra": {
"hosts": "127.0.0.1",
"consistency": "LOCAL_QUORUM",
"protocol_version": 4,
"keyspace": "vault",
"table": "entries",
"connection_timeout": 10
}
}
Thanks and regards
Saurabh