Skip to content

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

@rudolf

Description

@rudolf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions