-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix ts-scripts opensearch timeout #3363
Comments
This is reproducable locally and the status of things when it happens is as follows: The container starts
there is no response on the http endpoint
The logs on the docker container show a problem starting up:
The last two lines only printed out at shutdown. |
Here's Peter seeing one of the issues I'm researching here: Here's a link to an endless Jest bug on noise ... jestjs/jest#13576 |
Here is a similar Opensearch issue |
The following environment variable would disable the performance analyzer in Opensearch 2: DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI="true" There's no argument for keeping it on in CI really. |
It looks like in Opensearch 1.3.10 they have added the same env variable We should probably switch to this version of Opensearch 1 and disable this ... |
I have made a pull request with this solution here #3453 |
I have followed the instructions and guidance of issue #3363 to hopefully fix the opensearch timeout problem. - Updated the default opensearch version to be `v1.3.10` > > This is to have access to an environment variable that can turn off the performance analyzer. - Set DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI to 'true' for opensearch container > > This will ideally stop opensearch from failing to startup randomly References to this solution [here](#3363 (comment))
Hopefully the PR above resolved this problem. If anyone sees this 2m timeout on Opensearch containers again let us know. |
About 1 in 10 runs of the opensearch container by ts-scripts service runner results in a 2min timeout error like this:
This is a retry-able error but a big nuisance.
The text was updated successfully, but these errors were encountered: