go-graphite / graphite-clickhouse-tldr

Preconfigured graphite-web with ClickHouse backend
20 stars 20 forks source link

Didn't run graphite-clickhouse-tldr cluster, error: No route to host: (clickhouse:9000, 172.17.0.2) #2

Open cp38510 opened 5 years ago

cp38510 commented 5 years ago

Hello! I try up cluster on test server, but when i execute: docker-compose up, i get some error in stdout:

clickhouse_1 | Include not found: clickhouse_remote_servers clickhouse_1 | Include not found: clickhouse_compression

carbon-clickhouse_1 | [2019-01-21T19:00:42.696Z] ERROR [upload] handle failed {"name": "graphite_reverse", "filename": "/data/carbon-clickhouse/graphite_reverse/default.1548097091464170147", "error": "Post http://clickhouse:8123/?query=INSERT+INTO+graphite_reverse+%28Path%2C+Value%2C+Time%2C+Date%2C+Timestamp%29+FORMAT+RowBinary: dial tcp 172.17.0.2:8123: connect: no route to host", "time": 3.074608817}

clickhouse-init_1 | Code: 210. DB::NetException: Net Exception: No route to host: (clickhouse:9000, 172.17.0.2) clickhouse-init_1 | graphite-clickhouse-tldr_clickhouse-init_1 exited with code 210

When i remove start container's and run docker-compose up the second time, i get another error: Creating graphite-clickhouse-tldr_graphite-clickhouse_1 ... error Creating graphite-clickhouse-tldr_clickhouse-init_1 ... ERROR: for graphite-clickhouse-tldr_graphite-clickhouse_1 Cannot start service graphite-clickhouse: b'Cannot link to a non running container: Creating graphite-clickhouse-tldr_clickhouse-init_1 ... error Creating graphite-clickhouse-tldr_carbon-clickhouse_1 ... error ERROR: Encountered errors while bringing up the project.

I try use GCE as platform and localhost with Ubuntu 16.04: -Docker version 18.06.1-ce, build e68fc7a -docker-compose version 1.24.0-rc1, build 0f3d4dda

I try change variables in configuration file's(https://github.com/lomik/graphite-clickhouse-tldr) but It didn't help.

What could be the problem??

mary3000 commented 5 years ago

@cp38510 changing clickhouse-server version (yandex/clickhouse-server:1.1.54380 to yandex/clickhouse-server in docker-compose.yaml file) helped me.

Felixoid commented 2 years ago

I'd suggest closing the issue