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

Setup lifecycle of "monitoring" plugin wasn't completed in 30sec #79451

Closed
rudolf opened this issue Oct 5, 2020 · 1 comment · Fixed by #79518
Closed

Setup lifecycle of "monitoring" plugin wasn't completed in 30sec #79451

rudolf opened this issue Oct 5, 2020 · 1 comment · Fixed by #79518
Labels
Team:Monitoring Stack Monitoring team

Comments

@rudolf
Copy link
Contributor

rudolf commented Oct 5, 2020

The monitoring plugin frequently takes more than 30s to complete which causes Kibana to fail to start up. Plugin's setup lifecycle should not block Kibana from starting up see https://github.com/elastic/kibana/blob/6042a01f385078587e8e09418ef07f69ec2dadf7/rfcs/text/0007_lifecycle_unblocked.md and #53268

Versions where I've seen this behaviour:

  • 7.7.0
  • 7.9.0
  • 7.9.1
  • 7.9.2

This is most likely caused by the following line:

await this.licenseService.refresh();

Workarounds:

  • Disable monitoring with the following kibana.yml setting: monitoring.enabled: false
  • Upgrade to 7.9.3
  • Provide more resources to Elasticsearch so that GET /_xpack doesn't take longer than 30s to respond
@rudolf rudolf added the Team:Monitoring Stack Monitoring team label Oct 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Monitoring Stack Monitoring team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants