I am attempting to setup vault using the HELM chart with HA enabled utilizing raft storage. Anytime I attempt to initalize I receive the following error on my k8s pods
“Error initializing storage of type raft: failed to create fsm: failed to open bolt file: open /vault/data/vault.db: permission denied”
I have ensured that my PV and PVC are set up properly and my PV is bound to the pod. We are using GlusterFS for the volume.
I have also tried setting up an initContainer to update the perms for that directory and that did not help the issue either.
I have the same issue right now and i am not using GlusterFS, everything with the default as described in this document Highly Available Vault Cluster with Raft | Vault | HashiCorp Developer
Where i am able to init and unseal the vault-0 pod and not able to do the same for the other pods due to the below error: Error initializing storage of type raft: failed to create fsm: failed to open bolt file: open /vault/data/vault.db: permission denied