Lucretius / vault_raft_snapshot_agent

⛔️ DEPRECATED ⛔️ An agent which provides periodic snapshotting capabilities of Vault's Raft backend
MIT License
78 stars 42 forks source link

Not performing snapshots when running on the leader #24

Closed upt-systems-engineering closed 2 years ago

upt-systems-engineering commented 2 years ago

Hello,

We reference the DNS name of the node with all nodes using the same TLS certificate with SAN entries for each node. When running the script on the leader (and any node) it determines that it is not the leader, and doesn't run the snapshot. All of the nodes are behind a global traffic manager so that the cluster runs in different data centers for HA. The leader refers to the FQDN of the node, however the node itself is just configured with it's own hostname. Are there any changes that I would need to make to the nodes for the script to work (or conversely any changes in the script to make it work with my configuration)?

upt-systems-engineering commented 2 years ago

Without any intervention on my part snapshots started working. Closing the issue.