yannart / docker-cerebro Goto Github PK
View Code? Open in Web Editor NEWDocker image to run cerebro elasticsearch web admin tool.
Docker image to run cerebro elasticsearch web admin tool.
Hi,
Thank you for this container, easy to use.
I've getting the following error:
OpenJDK 64-Bit Server VM warning: You have loaded library /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libnio.so which might have disabled stack guard. The VM will tryto fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
OpenJDK 64-Bit Server VM warning: Unable to fix stack guard. Giving up.
OpenJDK 64-Bit Server VM warning: You have loaded library /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libnio.so which might have disabled stack guard. The VM will tryto fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
OpenJDK 64-Bit Server VM warning: Unable to fix stack guard. Giving up.
OpenJDK 64-Bit Server VM warning: You have loaded library /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libnio.so which might have disabled stack guard. The VM will tryto fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
OpenJDK 64-Bit Server VM warning: Unable to fix stack guard. Giving up.
Killed
Didn't find any solution online, did you encounter this issue?
Thank you,
Jorden
Hello, using the default application.conf isn't advisable. It should be changeable to use a different secret for CSRF tokens and encryption utilities accordingly: https://github.com/lmenezes/cerebro/blob/master/conf/application.conf#L2
Current version is broken with ES 6.x
I'm getting the following error message when pulling the latest yannart/cerebro today;
Error: failed to start container "cerebro": Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"rm -rf ./RUNNING_PID && ./bin/cerebro\\\": stat rm -rf ./RUNNING_PID && ./bin/cerebro: no such file or directory\"\n"
Error syncing pod
Back-off restarting failed container
This might be a cerebro issue but its docker related so I'm posting here first.
I have an elasticsearch cluster (with search-guard) with 3 nodes and cerebro running in docker.
I can't connect with cerebro to elasticsearch on the same host as cerebro (e.g. cerebro on elk00 -> es on elk00) but works fine when connecting to another elasticsearch (e.g. cerebro on elk00 -> es on elk01).
The issue seems that cerebro resolves the domain name to its own docker ip instead of the host ip:
[info] play.api.Play - Application started (Prod)
[info] p.c.s.NettyServer - Listening for HTTP on /0.0.0.0:9000
[error] application -
! @77816l344 - Internal server error, for (POST) [/connect] ->
play.api.UnexpectedException: Unexpected exception[ConnectException: Connection refused: elk00.example.com/172.17.0.3:9200]
at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:289)
at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:220)
at play.api.GlobalSettings$class.onError(GlobalSettings.scala:160)
at play.api.DefaultGlobal$.onError(GlobalSettings.scala:188)
at play.api.http.GlobalSettingsHttpErrorHandler.onServerError(HttpErrorHandler.scala:100)
Caused by: java.net.ConnectException: Connection refused: elk00.example.com/172.17.0.3:9200
at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:160)
at org.asynchttpclient.netty.request.NettyChannelConnector$1.onFailure(NettyChannelConnector.java:103)
at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:28)
at org.asynchttpclient.netty.SimpleChannelFutureListener.operationComplete(SimpleChannelFutureListener.java:20)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:514)
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: elk00.example.com/172.17.0.3:9200
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:257)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:291)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:628)
cerebro docker ip: 172.17.0.3
es docker ip: 172.17.0.2
es version: 6.2.2
searchguard version: 21
cerebro version: latest (0.7.2)
application.conf hosts:
hosts = [
{
host = "https://elk00.example.com:9200"
name = "clustername elk00"
auth = {
username = "test"
password = "test123"
}
},
{
host = "https://elk01.example.com:9200"
name = "clustername elk01"
auth = {
username = "test"
password = "test123"
}
},
{
host = "https://elk02.example.com:9200"
name = "clustername elk02"
auth = {
username = "test"
password = "test123"
}
}
]
Will be great if you can build the image with the new versoin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.