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

snapshot agent service does not create snapshots #22

Closed iulianroman closed 2 years ago

iulianroman commented 2 years ago

I have enabled and configured the snapshot agent as described in the instructions but when the service is started , I get the following message:

"Not running on leader node, skipping"

This is a one node cluster and it is indeed leader : vault operator raft list-peers Node Address State Voter


node_1 127.0.0.1:8201 leader true

Any idea how that can be fixed, because I do not know how to get a more verbose output and I am stuck with debugging.

iulianroman commented 2 years ago

The binary I used was corrupted. Using a new binary solved the problem.