opensearch-project / ansible-playbook

🤖 A community repository for Ansible Playbook of OpenSearch Project.
https://opensearch.org/
Apache License 2.0
81 stars 97 forks source link

chore: wait for OS port instead of time #127

Closed Kampfmoehre closed 1 year ago

Kampfmoehre commented 1 year ago

Description

Instead of waiting a fixed amount of time, wait until OpenSearch is listening on the port the securityadmin script uses.

Issues Resolved

Fixes error ERR: Seems there is no OpenSearch running on localhost:9200 - Will exit when OpenSearch is not fast enough on startup and securityadmin.sh emits this error.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

saravanan30erd commented 1 year ago

@Kampfmoehre Thank you for the contribution. But this is duplication of an already raised PR #123 hence closing it.

Kampfmoehre commented 1 year ago

Ah, I forgot to check open PRs.