I am running Vault in a three-node cluster, using Raft as the integrated storage backend. Everything is working great except I am not able to save raft snapshots onto disk. It seems as if it fails to open file for writing.
Please take a look at the following snapshot:
ubuntu@ip:/tmp$ vault operator raft snapshot save /tmp/snap Error taking the snapshot: Error making API request. URL: GET http://localhost:8200/v1/sys/storage/raft/snapshot Code: 500. Errors: * 1 error occurred: * failed to create snapshot file: open /tmp/snapshot083311904: no such file or directory
While performing the above operation, I am logged in using root token.
Edit: I am also not able to save it from UI as well.