Skip to content

Instantly share code, notes, and snippets.

@Wicaeed
Created April 29, 2021 20:39
Show Gist options
  • Save Wicaeed/fb8cc02ae68b4000780a6412dbd9fae0 to your computer and use it in GitHub Desktop.
Save Wicaeed/fb8cc02ae68b4000780a6412dbd9fae0 to your computer and use it in GitHub Desktop.
consul-template debug output
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [INFO] consul-template v0.25.2 (c8372a0a)
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [INFO] (runner) creating new runner (dry: false, once: false)
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) final config: {"Consul":{"Address":"127.0.0.1:8500","Namespace":"","Auth":{"Enabled":false,"Username":"","Password":""},"Retry":{"Attempts":12,"Backoff":250000000,"MaxBackoff":60000000000,"Enabled":true},"SSL":{"CaCert":"","CaPath":"","Cert":"","Enabled":false,"Key":"","ServerName":"","Verify":true},"Token":"","Transport":{"DialKeepAlive":30000000000,"DialTimeout":30000000000,"DisableKeepAlives":false,"IdleConnTimeout":90000000000,"MaxIdleConns":100,"MaxIdleConnsPerHost":2,"TLSHandshakeTimeout":10000000000}},"Dedup":{"Enabled":false,"MaxStale":2000000000,"Prefix":"consul-template/dedup/","TTL":15000000000,"BlockQueryWaitTime":60000000000},"DefaultDelims":{"Left":null,"Right":null},"Exec":{"Command":"","Enabled":false,"Env":{"Denylist":[],"Custom":[],"Pristine":false,"Allowlist":[]},"KillSignal":2,"KillTimeout":30000000000,"ReloadSignal":null,"Splay":0,"Timeout":0},"KillSignal":2,"LogLevel":"debug","MaxStale":2000000000,"PidFile":"","ReloadSignal":1,"Syslog":{"Enabled":false,"Facility":"LOCAL0","Name":"consul-template"},"Templates":[{"Backup":false,"Command":"","CommandTimeout":30000000000,"Contents":"","CreateDestDirs":true,"Destination":"/etc/haproxy/conf.d/web_lb.backends.cfg","ErrMissingKey":false,"Exec":{"Command":"sudo systemctl reload haproxy || true","Enabled":true,"Env":{"Denylist":[],"Custom":[],"Pristine":false,"Allowlist":[]},"KillSignal":2,"KillTimeout":30000000000,"ReloadSignal":null,"Splay":0,"Timeout":30000000000},"Perms":0,"Source":"/etc/haproxy/conf.d/web_lb.backends.tmpl","Wait":{"Enabled":false,"Min":0,"Max":0},"LeftDelim":"","RightDelim":"","FunctionDenylist":[],"SandboxPath":""}],"Vault":{"Address":"","Enabled":false,"Namespace":"","RenewToken":false,"Retry":{"Attempts":12,"Backoff":250000000,"MaxBackoff":60000000000,"Enabled":true},"SSL":{"CaCert":"","CaPath":"","Cert":"","Enabled":true,"Key":"","ServerName":"","Verify":true},"Transport":{"DialKeepAlive":30000000000,"DialTimeout":30000000000,"DisableKeepAlives":false,"IdleConnTimeout":90000000000,"MaxIdleConns":100,"MaxIdleConnsPerHost":2,"TLSHandshakeTimeout":10000000000},"UnwrapToken":false},"Wait":{"Enabled":false,"Min":0,"Max":0},"Once":false,"BlockQueryWaitTime":60000000000}
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [INFO] (runner) creating watcher
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [INFO] (runner) starting
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) running initial templates
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) initiating run
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) checking template 6d255c1b142368a623570a46e5e74e70
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) missing data for 1 dependencies
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) missing dependency: health.service(www|passing)
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) add used dependency health.service(www|passing) to missing since isLeader but do not have a watcher
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) was not watching 1 dependencies
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (watcher) adding health.service(www|passing)
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) diffing and updating dependencies
Apr 29 13:37:03 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) watching 1 dependencies
Apr 29 13:37:04 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) receiving dependency health.service(www|passing)
Apr 29 13:37:04 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) initiating run
Apr 29 13:37:04 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) checking template 6d255c1b142368a623570a46e5e74e70
Apr 29 13:37:04 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) rendering "/etc/haproxy/conf.d/web_lb.backends.tmpl" => "/etc/haproxy/conf.d/web_lb.backends.cfg"
Apr 29 13:37:04 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) diffing and updating dependencies
Apr 29 13:37:04 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) health.service(www|passing) is still needed
Apr 29 13:37:04 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) watching 1 dependencies
Apr 29 13:37:04 haproxy-web-centos-7.vagrantup.com consul-template[11588]: [DEBUG] (runner) all templates rendered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment