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

Allow access to some plugins when es plugin is red #5300

Closed
ppf2 opened this issue Nov 4, 2015 · 2 comments
Closed

Allow access to some plugins when es plugin is red #5300

ppf2 opened this issue Nov 4, 2015 · 2 comments

Comments

@ppf2
Copy link
Member

ppf2 commented Nov 4, 2015

Starting in ES 2.0, we have moved Sense into a Kibana app. One use case that arises is that you can no longer access the Sense editor when the .kibana index has not completed initialization:

image

In this particular case, the .kibana index has shards that cannot be started up because it is failing disk allocation threshold checks, eg.

[2015-11-03 16:54:46,233][WARN ][cluster.routing.allocation.decider] [node1] high disk watermark [90%] exceeded on [t3miuXlFQLSnoNkUdezszQ][node1][path_to_problem_shard] free: 11.9gb[5.1%], shards will be relocated away from this node

Hence:

index                 shard prirep state      docs   store ip        node  
.kibana               0     p      UNASSIGNED                              
.kibana               0     r      UNASSIGNED  

So to address this, the user can either provide more free disk space, or dynamically change the disk allocation settings.

And since the Sense editor does not work until .kibana index is available, they will have to write the command to adjust the disk allocation settings using curl or another REST client.

It will be nice if we will still allow the Sense editor to be accessible, so that:

  1. They can run queries to look at things like _cat/shards and update settings in Elasticsearch to resolve the shard initialization issues without having to run these commands from somewhere else.
  2. They can use Sense to interact with other (non .kibana) indices.
@msimos
Copy link

msimos commented Dec 14, 2015

I also had this problem, also Marvel becomes unavailable (blank screen) if Kibana can't access .marvel-es-data. Because there is a blank screen there's no indication of the issue.

@spalger spalger changed the title Allow access to Sense editor even when .kibana index is in red state Allow access to some plugins when .kibana index is in red state Dec 15, 2015
@spalger spalger changed the title Allow access to some plugins when .kibana index is in red state Allow access to some plugins when es plugin is red Dec 15, 2015
@epixa
Copy link
Contributor

epixa commented Dec 26, 2016

I'm going to close this in favor of #5300

@epixa epixa closed this as completed Dec 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants