You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a blank machine (CentOS 7) everything provisions OK until datasources:
Notice: /Stage[main]/Grafana::Service/Service[grafana-server]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Grafana::Service/Service[grafana-server]: Unscheduling refresh on Service[grafana-server]
Error: /Stage[main]/Profile_grafana/Grafana_datasource[elasticsearch]: Could not evaluate: Network is unreachable - connect(2)
Error: /Stage[main]/Profile_grafana/Grafana_datasource[graphite]: Could not evaluate: Network is unreachable - connect(2)
There's not enough time for the service to actually be ready to accept connections. Executing the same 'Puppet run' again succeeds as expected. The send_request would ideally have some 'try once per second for five seconds' logic to make it more robust.
The text was updated successfully, but these errors were encountered:
simonpasquier
pushed a commit
to simonpasquier/puppet-grafana
that referenced
this issue
Jun 9, 2016
This fix for the issue bfraser#95 adds a fixed number of retries (5 attempts
with a 1 second interval between each) in case the Grafana server isn't
ready to serve the requests immediately.
From a blank machine (CentOS 7) everything provisions OK until datasources:
There's not enough time for the service to actually be ready to accept connections. Executing the same 'Puppet run' again succeeds as expected. The
send_request
would ideally have some 'try once per second for five seconds' logic to make it more robust.The text was updated successfully, but these errors were encountered: