<div dir="ltr"><div>Hello,</div><div><br></div><div>InfluxDB is configured to only listen on the internal API interface. Can you check the hostname you are using resolves correctly from the cloudkitty host?</div><div>Inside the influxdb container, you should use `influxdb -host <IP_ADDRESS>` with the internal IP of the influxdb host.</div><div><br></div><div>Also check if the output of `docker logs influxdb` has any logs.</div><div><br></div><div>Best wishes,</div><div>Pierre Riteau (priteau)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 19 Apr 2022 at 01:24, wodel youchi <<a href="mailto:wodel.youchi@gmail.com">wodel.youchi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>I am trying to deploy Cloudkitty, but I get this error message :</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">TASK [cloudkitty : Creating Cloudkitty influxdb database] ******************************************************<br>task path: /home/deployer/kollavenv/xenavenv/share/kolla-ansible/ansible/roles/cloudkitty/tasks/bootstrap.yml:36</blockquote><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">fatal: [192.168.1.5 -> 192.168.1.5]: FAILED! => {<br> "action": "influxdb_database",<br> "changed": false,<br> "invocation": {<br> "module_args": {<br> "database_name": "cloudkitty",<br> "hostname": "<a href="http://dashint.cloud.cerist.dz" target="_blank">dashint.cloud.cerist.dz</a>",<br> "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",<br> "path": "",<br> "port": 8086,<br> "proxies": {},<br> "retries": 3,<br> "ssl": false,<br> "state": "present",<br> "timeout": null,<br> "udp_port": 4444,<br> "use_udp": false,<br> "username": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",<br> "validate_certs": true<br> }<br> },<br> "msg": "('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))"<br>}</blockquote></div><div><br></div><div><br></div><div>On the influxdb container I did this :</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">[root@controllerb ~]# docker ps | grep inf<br>68b3ebfefbec <a href="http://192.168.1.16:4000/openstack.kolla/centos-source-influxdb:xena" target="_blank">192.168.1.16:4000/openstack.kolla/centos-source-influxdb:xena</a> "dumb-init --single-…" 22 minutes ago Up 22 minutes influxdb<br>[root@controllerb ~]# docker exec -it influxdb /bin/bash<br>(influxdb)[influxdb@controllerb /]$ influx<br>Failed to connect to <a href="http://localhost:8086" target="_blank">http://localhost:8086</a>: Get <a href="http://localhost:8086/ping" target="_blank">http://localhost:8086/ping</a>: dial tcp [::1]:8086: connect: connection refused<br>Please check your connection settings and ensure 'influxd' is running.<br>(influxdb)[influxdb@controllerb /]$ ps -ef<br>UID PID PPID C STIME TTY TIME CMD<br>influxdb 1 0 0 Apr18 ? 00:00:00 dumb-init --single-child -- kolla_start<br>influxdb 7 1 0 Apr18 ? 00:00:01 /usr/bin/influxd -config /etc/influxdb/influxdb.conf<br>influxdb 45 0 0 00:12 pts/0 00:00:00 /bin/bash<br>influxdb 78 45 0 00:12 pts/0 00:00:00 ps -ef<br>(influxdb)[influxdb@controllerb /]$</blockquote><div><br></div><div>I have no log file for influxdb, the directory is empty.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Regards.<br></div></div>
</blockquote></div></div>