Cadvisor: Elasticsearch failed to initialize storage driver

Created on 27 Oct 2016  路  37Comments  路  Source: google/cadvisor

Elastic have just released for GA Elasticsearch and Kibana 5. The cadvisor elasticsearch driver doesn't seem to support the latest version of elasticsearch.

'Failed to initialize storage driver: failed to create the elasticsearch client - no Elasticsearch node available'

Changing my image tag from elasticsearch:latest to elasticsearch:2 has fixed the issue. Is there a plan to make this work with 5.0?

arestorage kinenhancement

Most helpful comment

+1

All 37 comments

Should have looked, current requirement is 'gopkg.in/olivere/elastic.v2'. v5 isn't stable yet.

Elastic is showing GA on v5, so I'd like to +1 the release.

Yes , same issue , it fails on initiliazing . When can this be available

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1
It will be great to have es 5 support

+1

Check pull request 1597, hope will merge soon.

+1

+1

+1

+1

+1

+1

ES5 support #1597 is currently blocked by #1458.

+1

+1

+1

+1

+1

+1

+1

+1

+1

Does this issue still exist that cadvisor works fine only with elasticserach version 2 and not above that? I have elasticserach instance with version 5.4.0 and on running cadvisor it gives me following error.

docker run \

--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--publish=9091:8080 \
--detach=true \
--name=cadvisor5 \
docker.fmr.com/google/cadvisor:latest\
-storage_driver=elasticsearch -storage_driver_es_host="http://my_elk.fcorp.com:9200"

F0912 07:50:13.460296 1 cadvisor.go:117] Failed to initialize storage driver: failed to create the elasticsearch client - no Elasticsearch node available

+1

+1

+1

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vivekj11 picture vivekj11  路  4Comments

terrpan picture terrpan  路  5Comments

hridyeshpant picture hridyeshpant  路  7Comments

jlec picture jlec  路  5Comments

dashpole picture dashpole  路  7Comments