New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When Multistage Build on Docker file " No Elastic Node Aviable " #810
Comments
This doesn't have to do anything with Docker and/or multi-stage builds. It has to do something with the way sniffing works (see details in the Wiki). The node IPs are probably not accessible from your application. |
Okay. When you enable sniffing, it will retrieve the node IPs from the Where does that Can you try to disable health checks temporarily to see if that makes a difference? |
Any news here? |
Oh, my bad sorry for no response. After your suggestion, I'm disabled health checks its work fine |
@Navapon I have been trying to reproduce this with https://github.com/olivere/elastic-with-docker (now updated to work with ES 6.x), but I couldn't. Maybe you can try it with that repo, and I'll re-open here if you can get the bug there. Thank you. |
Using ElasticSearch Version
[ ] elastic.v6 (for Elasticsearch 6.1.2)
Please describe the expected behavior
Expect move binary file to small images && Can run normally
I'm wanna use Docker multistage build images with Olivere / elastic
but when I'm trying to move an executed go binary file from builder stage has to error
time=09-09-26068 09:09:00 level=error msg=no active connection found: no Elasticsearch node available host=045b4f45f939 layer=STORAGE model=NewElastic
But !! if i don't move execute file from builder stage just leave it in to builder container and delete seconds build stage this error is not happen i'm currious what i'm missing
Is this library require some lib. Below is my Dockerfile
Please describe the actual behavior
When move execute file to small image has promble " No Elastic Node Aviable "
I'm already open elasticsearch in browser and ping inside the container it's work fine
The text was updated successfully, but these errors were encountered: