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

Ensure the the logs template has been processed #99893

Closed
wants to merge 9 commits into from

Conversation

gmarouli
Copy link
Contributor

@gmarouli gmarouli commented Sep 26, 2023

We use GET _cluster/health?wait_for_events=LANGUID&wait_for_status=green to ensure the index templates from the registry have been processed.

Closes: #99764
Closes: #99734
Closes: #97795
Closes: #99911

This did not work only for the following case which was converted to a java rest case. The reason that this didn't work was that the cluster health will be requested too early and the logs template wasn't submitted yet. Adding another cluster health request would work but it felt tedious.

Closes: #98163

@gmarouli gmarouli added >test-failure Triaged test failures from CI :Data Management/Indices APIs APIs to create and manage indices and templates labels Sep 26, 2023
@gmarouli gmarouli requested a review from andreidan September 26, 2023 07:06
@elasticsearchmachine elasticsearchmachine added v8.11.0 Team:Data Management Meta label for data/management team labels Sep 26, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@gmarouli gmarouli marked this pull request as draft September 26, 2023 11:06
@gmarouli
Copy link
Contributor Author

@elasticmachine update branch

@gmarouli gmarouli closed this Sep 28, 2023
@gmarouli gmarouli deleted the wait-for-logs-index-template branch December 10, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment