-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cherry-pick #11265 to 7.0: Log Kibana GET /api/status response on test failure #11327
Conversation
To help debug elastic#11261. (cherry picked from commit 67ebca4)
Interestingly enough, this PR failed in Travis CI and printed out the Kibana
|
Does this mean we probably need to improve the health check? |
I'm not sure. The health check is already calling the same API that is failing in CI. Here's what the health check looks like:
Also, I'm stumped that the failure is a 401. AFAIK, Security isn't even enabled in Elasticsearch for these tests! |
We have a different check here: https://github.com/elastic/beats/blob/master/testing/environments/snapshot.yml#L31 |
It's probably a good idea to make all healthchecks for a service consistent across the various Dockerfiles and docker-compose files we have across beats. I'll make a separate PR (to Two things, however:
|
Let's continue the conversation here but I'm going to merge this backport PR now as it's green and it does what it set out to do, which is to log the Kibana API response in case of an error. |
Cherry-pick of PR #11265 to 7.0 branch. Original message:
To help debug #11261.