Comment 0 for bug 1563757

Revision history for this message
Swann Croiset (swann-w) wrote :

when patching the InfluxDB configuration to disable HTTP logs, the script used to create users/database/rentention policy fails because it executed while InfluxDB is restarting: connection refused

Notice: Compiled catalog for node-68.test.domain.local in environment production in 0.68 seconds
Notice: /Stage[main]/Influxdb::Configure/Ini_setting[http_log]/value: value changed 'true' to 'false'
Notice: /Stage[main]/Influxdb::Service/Service[influxdb]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Lma_monitoring_analytics::Influxdb/Exec[configure_influxdb_script]/returns: + INFLUXDB_URL=http://127.0.0.1:8086
Notice: /Stage[main]/Lma_monitoring_analytics::Influxdb/Exec[configure_influxdb_script]/returns: + curl -G http://127.0.0.1:8086/query --data-urlencode 'q=CREATE USER root WITH PASSWORD '\''azeaze'\'' WITH ALL PRIVILEGES'
Notice: /Stage[main]/Lma_monitoring_analytics::Influxdb/Exec[configure_influxdb_script]/returns: % Total % Received % Xferd Average Speed Time Time Time Current
Notice: /Stage[main]/Lma_monitoring_analytics::Influxdb/Exec[configure_influxdb_script]/returns: Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to 127.0.0.1 port 8086: Connection refused
Error: /usr/local/bin/configure_influxdb.sh returned 7 instead of one of [0]
Error: /Stage[main]/Lma_monitoring_analytics::Influxdb/Exec[configure_influxdb_script]/returns: change from notrun to 0 failed: /usr/local/bin/configure_influxdb.sh returned 7 instead of one of [0]