Hi, I have a Consul cluster setup at "consul1, consul2, consul3" hosts, and my Vault nodes are running Consul agents locally. These agents were talking to the Consul backend just fine and everything was working.
I wanted to shut down the Consul servers on "consul1, 2, 3" because I wanted Vault to use a completely different Consul cluster. So I went to each of my Vault nodes and did a "consul leave" so that the local agent left the existing cluster. I also shut down Vault itself on each node. In addition, I also moved the "data" directory of the Consul agents to a different name, so that they could start fresh when join the other cluster. The other cluster also has a different datacenter.
I then re-started the local Consul agent nodes and did a "join" to the different cluster that I wanted to use. The local Consul agents were able to successfully join the other cluster.
Now, when I start up Vault, it complains with the following error:
"2018-05-31T10:43:55.656Z [WARN ] check unable to talk with Consul backend: error="Unexpected response code: 500 (CheckID "vault:vault-1.foo.com:443:vault-sealed-check" does not have associated TTL)""
I can't "unseal" Vault either at the moment. Have I missed a step here somewhere?
This is the HA config in my Vault config file:
===
ha_storage "consul" {
address = "localhost:8500"
path = "vault"
}
===