Raft storage cluster.sh errors
AdamGoldsmith opened this issue · 4 comments
AdamGoldsmith commented
When running operations/raft-storage/local/cluster.sh
on a centos7 VM, I hit the following problems:
- OSNAME incorrectly identified as
macos
cluster.sh
usesifconfig lo0
as the identification method for macos, if that fails it triesifconfig lo
to identify linux. On my VM, both of these "ifconfig" commands are successful so it incorrectly picks up on macos first. - When trying to start vault on 127.0.0.1 via
cluster.sh setup vault_1
, it errors complaining about mlock not being enabled on the system. I addeddisable_mlock = true
to vault1's config to avoid this error. As this is a demo environment, I didn't consider this a security concern, and the fact disable_mlock is set in the remaining vault nodes' config files, I assume this was accidentally omitted from vault1's config.
rgevaert commented
I also hit the same issue mentioned in (2).
stractenberg-hashi commented
I'm having a problem with "operations/raft-storage/local/cluster.sh" running any of the ./cluster.sh
commands:
No matter which command:
./cluster.sh setup all
./cluster.sh setup vault_1
./cluster.sh setup vault_2
etc
I get the following.
[vault_1] starting Vault server @ http://127.0.0.1:8200 usage: sleep seconds
[vault_2] starting Vault server @ http://127.0.0.2:8200 usage: sleep seconds
[vault_3] starting Vault server @ http://127.0.0.3:8200 usage: sleep seconds
I've seen this from 2 people on 3 different M1 Macs.
stractenberg-hashi commented
working great. Thanks @yhyakuna !