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]
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 main]/Influxdb: :Configure/ Ini_setting[ http_log] /value: value changed 'true' to 'false' main]/Influxdb: :Service/ Service[ influxdb] : Triggered 'refresh' from 1 events main]/Lma_ monitoring_ analytics: :Influxdb/ Exec[configure_ influxdb_ script] /returns: + INFLUXDB_URL=http:// 127.0.0. 1:8086 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' main]/Lma_ monitoring_ analytics: :Influxdb/ Exec[configure_ influxdb_ script] /returns: % Total % Received % Xferd Average Speed Time Time Time Current main]/Lma_ monitoring_ analytics: :Influxdb/ Exec[configure_ influxdb_ script] /returns: Dload Upload Total Spent Left Speed bin/configure_ influxdb. sh returned 7 instead of one of [0] 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]
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
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/
Error: /Stage[