-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
/status endpoint returns 503 when any plugin is unavailable #110583
Comments
Pinging @elastic/kibana-core (Team:Core) |
+1 |
Seems like the best / simplest behavior change that would be helpful here. |
Another case that was affected: https://github.com/elastic/elastic-stack-testing/issues/936 |
This may be the root cause of elastic/apm-integration-testing#1188 which we originally filed with Kibana as #107300 If this is indeed the cause, it's been causing failures for test suites all across Observability. |
@cachedout we can prioritize the work on the fix. Do you experience the problem with Kibana |
That's great news! Thanks, @mshustov !
We have been testing against nightly snapshots in 7.x and master. We have seen the problem in master but I don't think we've seen it at all in 7.x.
Yes. We consume nightly snapshots so we'd be able to test this for you as soon as a nightly snapshot is built. (We cannot replicate this locally at all so I think it is best to let this go through our regular CI pipeline before we declare it fixed.) |
+1 to only return 503 before Kibana becomes available and then only if any core service is unavailable/critical. |
Problem
#79012 added logic for
/api/status
endpoint to return503
whenever any Kibana plugin hasunavailable
status.This logic affects Beats module elastic/beats#27036 (fixed in #109741 by lowering status from
unavailable
todegraded
)@joshdover said this logic was added because it's was the simplest option to inform an external observer that Kibana is ready to serve traffic:
IMO the current logic seems to be too aggressive - a problem in a single plugin might block traffic for Kibana. Maybe it's more appropriate to return
503
only when Core functionality is unavailable?Sidenote
The original RFC declares several contradictory statements:
but
We should clarify the expected behavior in the
status
service documentation.The text was updated successfully, but these errors were encountered: