Hi,
I tested with
influx -host <IP_ADDRESS>
First I tested with the internal api IP address of the host itself, and it did work :
influx -host 10.10.3.9
Then I tested with VIP of the internal api, which is held by haproxy :
influx -host 10.10.3.1, it didn't work, looking in the haproxy configuration file of influxdb, I noticed that haproxy uses https in the front end, so I tested with :
influx -ssl -host 10.10.3.1 and it did work.
And if you see the error message from
TASK [cloudkitty : Creating Cloudkitty influxdb database], ssl is false
fatal: [192.168.1.5 -> 192.168.1.5]: FAILED! => {
"action": "influxdb_database",
"changed": false,
"invocation": {
"module_args": {
"database_name": "cloudkitty",
"hostname": "
dashint.cloud.cerist.dz",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"path": "",
"port": 8086,
"proxies": {},
"retries": 3,
"ssl": false, "state": "present",
"timeout": null,
"udp_port": 4444,
"use_udp": false,
"username": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"validate_certs": true
}
},
"msg": "('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))"
}
Could that be the problem? if yes how to force Cloudkitty to enable ssl?
Regards.