Hi,
I was trying to run ansible commands influxdb_database to create and destroy databases and I seeing errors with it.
The ansible command look like this
-
name: Destroy database
influxdb_database:
hostname: “{{ ansible_hostname }}”
database_name: jmeter
state: absent -
name: Create database
influxdb_database:
hostname: “{{ ansible_hostname }}”
database_name: jmeter
state: present
While running this, I get the error from ansible. If I run the same command from curl, then it works fine. Did anyone see this problem ? BTW, I am seeing this problem recently. Earlier I did not see this problem with the same setup. I think this may be a bug with 1.7.9 version of influxdb. I was working with 1.7.8 earlier.
HTTPConnectionPool(host=‘terraform-test’, port=8086): Max retries exceeded with url: /query?q=SHOW+DATABASES&db=jmeter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e82be4d50>: Failed to establish a new connection: [Errno 111] Connection refused