CiscoCloud / haproxy-consul

Dynamic haproxy configuration using consul
Apache License 2.0
168 stars 85 forks source link

Constant log messages #29

Closed badc0re closed 8 years ago

badc0re commented 8 years ago

I am receiving the same messages all the time, but i am not sure what the problem is:

2016/02/11 07:27:11 [WARN] ("key(service/haproxy/timeouts/client)") Consul returned no data (does the path exist?)
2016/02/11 07:27:11 [WARN] ("key(service/haproxy/timeouts/connect)") Consul returned no data (does the path exist?)
2016/02/11 07:27:12 [WARN] ("key(service/haproxy/maxconn)") Consul returned no data (does the path exist?)
2016/02/11 07:27:14 [WARN] ("key(service/haproxy/timeouts/server)") Consul returned no data (does the path exist?)
2016/02/11 07:28:11 [WARN] ("key(service/haproxy/timeouts/client)") Consul returned no data (does the path exist?)
2016/02/11 07:28:13 [WARN] ("key(service/haproxy/timeouts/connect)") Consul returned no data (does the path exist?)
2016/02/11 07:28:15 [WARN] ("key(service/haproxy/timeouts/server)") Consul returned no data (does the path exist?)
2016/02/11 07:28:16 [WARN] ("key(service/haproxy/maxconn)") Consul returned no data (does the path exist?)

Any ideas?

BrianHicks commented 8 years ago

that's fine, actually. It's just consul-template letting you know that it can't find the keys specified in the messages. If you want to make them go away, set those keys to the default values. (https://github.com/CiscoCloud/haproxy-consul/blob/master/template/consul.tmpl#L2 and https://github.com/CiscoCloud/haproxy-consul/blob/master/template/consul.tmpl#L16-L18)