You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using the exact same docker-compose.yml file and image, startup works on OSX, but fails on a brand new AWS instance created with the AWS wizard
The last error output is
./opensearch-docker-entrypoint.sh: line 70: 103 Killed "$@" "${opensearch_opts[@]}
To Reproduce
Steps to reproduce the behavior:
Create an AWS Linux T2 instance using default image, install Docker and Docker Compose
copy the docker compose example from the documentation
run the command docker-compose up opensearch-node1 . only run one node, T2 doesn't have enough memory for two nodes
Wait a few seconds and you will get the error
Do the same but on OSX, works just fine
Expected behavior
What should happen is node1 should run fine but there will be complaints about not finding node2
Plugins
Standard off the shelf from the example and :latest
Screenshots
[+] Running 1/1
⠿ Container opensearch-node1 Recreated 0.1s
Attaching to opensearch-node1
opensearch-node1 | Enabling execution of install_demo_configuration.sh for OpenSearch Security Plugin
opensearch-node1 | **************************************************************************
opensearch-node1 | ** This tool will be deprecated in the next major release of OpenSearch **
opensearch-node1 | ** https://github.com/opensearch-project/security/issues/1755 **
opensearch-node1 | **************************************************************************
opensearch-node1 | OpenSearch Security Demo Installer
opensearch-node1 | ** Warning: Do not use on production or public reachable systems **
opensearch-node1 | Basedir: /usr/share/opensearch
opensearch-node1 | OpenSearch install type: rpm/deb on NAME="Amazon Linux"
opensearch-node1 | OpenSearch config dir: /usr/share/opensearch/config
opensearch-node1 | OpenSearch config file: /usr/share/opensearch/config/opensearch.yml
opensearch-node1 | OpenSearch bin dir: /usr/share/opensearch/bin
opensearch-node1 | OpenSearch plugins dir: /usr/share/opensearch/plugins
opensearch-node1 | OpenSearch lib dir: /usr/share/opensearch/lib
opensearch-node1 | Detected OpenSearch Version: x-content-2.4.1
opensearch-node1 | Detected OpenSearch Security Version: 2.4.1.0
opensearch-node1 |
opensearch-node1 | ### Success
opensearch-node1 | ### Execute this script now on all your nodes and then start all nodes
opensearch-node1 | ### OpenSearch Security will be automatically initialized.
opensearch-node1 | ### If you like to change the runtime configuration
opensearch-node1 | ### change the files in ../../../config/opensearch-security and execute:
opensearch-node1 | "/usr/share/opensearch/plugins/opensearch-security/tools/securityadmin.sh" -cd "/usr/share/opensearch/config/opensearch-security" -icl -key "/usr/share/opensearch/config/kirk-key.pem" -cert "/usr/share/opensearch/config/kirk.pem" -cacert "/usr/share/opensearch/config/root-ca.pem" -nhnv
opensearch-node1 | ### or run ./securityadmin_demo.sh
opensearch-node1 | ### To use the Security Plugin ConfigurationGUI
opensearch-node1 | ### To access your secured cluster open https://<hostname>:<HTTP port> and log in with admin/admin.
opensearch-node1 | ### (Ignore the SSL certificate warning because we installed self-signed demo certificates)
opensearch-node1 | Enabling OpenSearch Security Plugin
opensearch-node1 | Enabling execution of OPENSEARCH_HOME/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli for OpenSearch Performance Analyzer Plugin
opensearch-node1 | WARNING: A terminally deprecated method in java.lang.System has been called
opensearch-node1 | WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.OpenSearch (file:/usr/share/opensearch/lib/opensearch-2.4.1.jar)
opensearch-node1 | WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch
opensearch-node1 | WARNING: System::setSecurityManager will be removed in a future release
opensearch-node1 | ./opensearch-docker-entrypoint.sh: line 70: 103 Killed "$@" "${opensearch_opts[@]}"
opensearch-node1 exited with code 137
Host/Environment (please complete the following information):
Linux 5.10.157-139.675.amzn2.x86_64 #1 SMP Thu Dec 8 01:29:11 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Docker version 20.10.17, build 100c701
Docker Compose version v2.15.1
Additional context
docker-compose install isn't done by yum on AWS linux, used instructions from here
The text was updated successfully, but these errors were encountered:
Describe the bug
Using the exact same docker-compose.yml file and image, startup works on OSX, but fails on a brand new AWS instance created with the AWS wizard
The last error output is
To Reproduce
Steps to reproduce the behavior:
docker-compose up opensearch-node1
. only run one node, T2 doesn't have enough memory for two nodesDo the same but on OSX, works just fine
Expected behavior
What should happen is node1 should run fine but there will be complaints about not finding node2
Plugins
Standard off the shelf from the example and
:latest
Screenshots
Host/Environment (please complete the following information):
Linux 5.10.157-139.675.amzn2.x86_64 #1 SMP Thu Dec 8 01:29:11 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Docker version 20.10.17, build 100c701
Docker Compose version v2.15.1
Additional context
docker-compose install isn't done by yum on AWS linux, used instructions from here
The text was updated successfully, but these errors were encountered: