hashicorp / terraform-google-vault

A Terraform Module for how to run Vault on Google Cloud using Terraform and Packer
Apache License 2.0
113 stars 75 forks source link

Instance populates bootstrap_expect with 404 #42

Closed sce81 closed 5 years ago

sce81 commented 5 years ago

i've tried building and rebuilding this module several times, but keep hitting this wall - the consul agent is trying to come up as a server and it is also populating its config file with the html of a 404 error page..

`sudo cat /opt/consul/config/default.json { "advertise_addr": "172.16.12.18", "bind_addr": "172.16.12.18", "bootstrap_expect": <!DOCTYPE html>

Error 404 (Not Found)!!1

404. That’s an error.

The requested URL /computeMetadata/v1/instance/attributes/cluster-size was not found on this server. That’s all we know., "client_addr": "0.0.0.0", "datacenter": "europe-west1", "node_name": "vault-cluster-99h3", "retry_join": ["provider=gce project_name=XXXX tag_value=vault"], "server": true, "ui": true, "raft_protocol": 3 }`

sce81 commented 5 years ago

fixed due to mismatch between meta data and config