You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Vault in random moments loose connection to Cassandra which is used as a secrets storage. When this are happen Vault is unable to recover.
Jun 09 08:25:30 cluster1-vault01 vault[14227]: 2020-06-09T08:25:30.868Z [ERROR] core: key rotation periodic upgrade check failed: error="gocql: no hosts available in the pool"
Jun 09 08:25:40 cluster1-vault01 vault[14227]: 2020-06-09T08:25:40.868Z [ERROR] core: key rotation periodic upgrade check failed: error="gocql: no hosts available in the pool"
Jun 09 08:25:50 cluster1-vault01 vault[14227]: 2020-06-09T08:25:50.868Z [ERROR] core: key rotation periodic upgrade check failed: error="gocql: no hosts available in the pool"
Jun 09 08:26:00 cluster1-vault01 vault[14227]: 2020-06-09T08:26:00.868Z [ERROR] core: key rotation periodic upgrade check failed: error="gocql: no hosts available in the pool"
Jun 09 08:26:10 cluster1-vault01 vault[14227]: 2020-06-09T08:26:10.868Z [ERROR] core: key rotation periodic upgrade check failed: error="gocql: no hosts available in the pool"
Jun 09 08:26:20 cluster1-vault01 vault[14227]: 2020-06-09T08:26:20.868Z [ERROR] core: key rotation periodic upgrade check failed: error="gocql: no hosts available in the pool"
Jun 09 08:26:30 cluster1-vault01 vault[14227]: 2020-06-09T08:26:30.869Z [ERROR] core: key rotation periodic upgrade check failed: error="gocql: no hosts available in the pool"
To Reproduce
Steps to reproduce the behavior:
Run vault server
Wait
Expected behavior
Vault should recover (reconnect to Cassandra?)
Environment:
Vault Server Version (retrieve with vault status): Version 1.4.2
Vault CLI Version (retrieve with vault version): Version 1.4.2
Server Operating System/Architecture: Ubuntu 18.04.4 LTS / x86_64
Good news - i was able to find root cause of my issue. Cassandra is passing to client (Vault) list of servers which contain private ip addresses which are not accessable form Vault cluster.
I'm aware that this is Cassandra miss configuration however Vault don't allow me to use use walk around provided by gocql driver which is set DisableInitialHostLookup option to true.
Is there option to implement this parameter in Vault configuration?
Describe the bug
Vault in random moments loose connection to Cassandra which is used as a secrets storage. When this are happen Vault is unable to recover.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Vault should recover (reconnect to Cassandra?)
Environment:
vault status
):Version 1.4.2
vault version
):Version 1.4.2
Ubuntu 18.04.4 LTS / x86_64
Vault server configuration file(s):
Additional context
Cluster was build on top of 6 nodes. For now we have only one test vault agent which pull single secret so traffic is very low.
The text was updated successfully, but these errors were encountered: