Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault raft storage local guide: ./cluster.sh setup vault_1 error - failed to read environment: open /etc/vault.d/client-certs/client-cert.pem: no such file or directory #289

Open
bbros-dev opened this issue Sep 15, 2020 · 1 comment

Comments

@bbros-dev
Copy link

$ vault --version
Vault v1.5.3 (9fcd81405feb320390b9d71e15a691c3bc1daeef)

Following the local raft Vault cluster guide:

$ ./cluster.sh setup vault_1

[vault_1] starting Vault server @ http://127.0.0.1:8200

[vault_1] initializing and capturing the unseal key and root token
failed to read environment: open /etc/vault.d/client-certs/client-cert.pem: no such file or directory

The log file:

==> Vault server configuration:

             Api Address: http://127.0.0.1:8200
                     Cgo: disabled
         Cluster Address: https://127.0.0.1:8201
              Go Version: go1.14.7
              Listener 1: tcp (addr: "127.0.0.1:8200", cluster address: "127.0.0.1:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
               Log Level: trace
                   Mlock: supported: true, enabled: false
           Recovery Mode: false
                 Storage: inmem
                 Version: Vault v1.5.3
             Version Sha: 9fcd81405feb320390b9d71e15a691c3bc1daeef

==> Vault server started! Log data will stream in below:

2020-09-15T22:30:50.645+1000 [INFO]  proxy environment: http_proxy= https_proxy= no_proxy=
2020-09-15T22:30:50.646+1000 [DEBUG] storage.cache: creating LRU cache: size=0
2020-09-15T22:30:50.646+1000 [DEBUG] cluster listener addresses synthesized: cluster_addresses=[127.0.0.1:8201]

The vault_1 configuration:

storage "inmem" {}
listener "tcp" {
  address = "127.0.0.1:8200"
  tls_disable = true
}
disable_mlock = true
@con-f-use
Copy link

Same problem. Also, while you people are at it: https://github.com/hashicorp/vault-guides/blob/master/operations/raft-storage/local/cluster.sh#L170-L172 why the same command three times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants