I’ve recently rebuilt consul without taking a backup of Vault’s data (not very familiar with either Consul or Vault unfortunately).
Consul is back up and running and the configuration for Consul & Vault hasn’t changed.
I’ve tried to reinitialise Vault from scratch, however, I’m presented with the following error message “GET https://<vault_server_address>/v1/sys/seal-status/:EOF”
I’ve also tried to use Vault with raft storage to try and get around the problem, however, when I try to re-initialise Vault again, the same error is thrown.
Please can someone help advise what can be done to re-initialise Vault successfully again?
When you say you are trying to reinitialize Vault, do you mean set up a new, empty cluster? Or bring the cluster back online that was previously running (presumably using the Consul cluster you rebuilt as a backend/storage layer)?
If you’re new to Vault, we have some good learning resources you can follow for free on developer.hashicorp.com.
Check out this collection as a starting point:
When preparing to build your new Vault cluster, these may be helpful:
And documentation on backups is here (click the how-to guides tab)
Hopefully these can help you get up and running with a new cluster.
Another option, depending on your use case is to use Vault on the HashiCorp Cloud Platform - things like upgrades and backups are managed there and gives you support options.