-
Notifications
You must be signed in to change notification settings - Fork 280
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
[BUG] opensearch_node container does not restart on error #2143
Comments
Hey @CEHENKLE, can you please transfer this issue to the |
Done! |
@tuotempo Thanks for submitting the issue. We have made lots of improvements to Docker image post 1.3.0 release. Can you try out the latest version of OpenSearch images (1.3.2 / 2.0) and let us know if you are still facing these issues? |
@tuotempo Are you able to validate the fix in the latest version (1.3.3) of docker images? |
Closing this issue for now. Please feel free to re-open if required. |
Hello, output of container's logs: In order to reproduce the issue, I have created the container with this java options inside Env: so that the Regards. |
Hi @bbarani can you check our response please? We can't reopen this issue with results of our tests |
Describe the bug
I am running an opensearch docker container, that sometimes exits with code 0 even if I see errors on logs
To Reproduce
I were not able to reproduce it sistematically
Expected behavior
If the container exits for an error, it should restart automatically.
Plugins
discovery-ec2
opensearch-alerting
opensearch-anomaly-detection
opensearch-asynchronous-search
opensearch-cross-cluster-replication
opensearch-index-management
opensearch-job-scheduler
opensearch-knn
opensearch-observability
opensearch-performance-analyzer
opensearch-reports-scheduler
opensearch-security
opensearch-sql
prometheus-exporter
repository-s3
Screenshots
Host/Environment:
Additional context
here is the output of
docker ps -a --no-trunc
:looking at log files, I see there was an out of memory error:
In order to handle those cases, I have set container policy to restart on-failure, but since the exit code is 0, it remains stopped.
I suspect the problem can be on terminateProcesses function, but I'm not 100% sure.
Thanks for your support.
The text was updated successfully, but these errors were encountered: