Issue in error on Terraform Vault [ RAFT ]

Hi,

      I am trying to work on lab exercise for Raft and the first topic is to check for the raft status(node which are part of ha cluster). I ran the command and it just do not provide any information.

bob@node-1 ~ ➜ vault operator raft list-peers
Error reading the raft cluster configuration: Error making API request.

URL: GET http://192.20.75.3:8200/v1/sys/storage/raft/configuration
Code: 403. Errors:

  • permission denied

bob@node-1 ~ :heavy_multiplication_x: sudo vault operator raft list-peers
Error reading the raft cluster configuration: Get “https://127.0.0.1:8200/v1/sys/storage/raft/configuration”: dial tcp 127.0.0.1:8200: connect: connection refused

bob@node-1 ~ :heavy_multiplication_x:

Thanks

Ganapathy

Hi @rgsubramaniam

Can you please provide the link to the labs?

Regard

Above is the error which we had got for for terraform vault.

Hi @rgsubramaniam,
Did you log in through the root token? Because I see the permission issues.

Regards,

The root token is given at the /opt/vault.creds location.
and
command is vault login

do Vault login, get the root credential from .cred file and then check