Skip to content
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

Wait for ES to be green before deleting configs #53437

Merged

Conversation

williamrandolph
Copy link
Contributor

Testing manual creation of a keystore in Docker fails unpredictably on
7.6, possibly indicating a problem with deleting the keystore file
at a particular moment during Elasticsearch startup. In order to cut
this Gordian Knot, we should just wait for Elasticsearch to become green
before messing around with files that it needs for startup.

I'm also backporting a change to how we check whether ES is running. It
doesn't seem to be a problem with this test, but I think it's more
reliable. This got into 7.7 and master via #50610.

Closes #51316

Testing manual creation of a keystore in Docker fails unpredictably on
7.6, possibly indicating a problem with deleting the keystore file
at a particular moment during Elasticsearch startup. In order to cut
this Gordian Knot, we should just wait for Elasticsearch to become green
before messing around with files that it needs for startup.

I'm also backporting a change to how we check whether ES is running. It
doesn't seem to be a problem with this test, but I think it's more
reliable.
@williamrandolph williamrandolph added >non-issue >test Issues or PRs that are addressing/adding tests :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts v7.6.2 labels Mar 11, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Packaging)

Copy link
Member

@jaymode jaymode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@williamrandolph
Copy link
Contributor Author

@jaymode Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >non-issue Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v7.6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants