Search code examples
amazon-web-serviceselasticsearchaws-elasticsearchelasticsearch-opendistro

Amazon Elasticsearch service Kibana's error: "Tenant indices migration failed"


I got my Elasticsearch service disk storage space totally used, henceforth I had to increase the space, which worked. However, after that kibana stopped working with error on kibana URL as Tenant indices migration failed.

I've tried multiple links but most of them are pointing towards opendistro related settings which I am not able to access in this case as my configuration is over Amazon Elasticsearch service. One of the closest issue is About “Tenant indices migration failed” error in kibana

Below is the screenshot from my kibana: enter image description here

Any help will be highly appreciated. Thanks in Advance.


Solution

  • I've got a workaround for Amazon's Elasticsearch which worked for me for the time being, and may help others as well who are facing the same problem with this service in future until fix is finally added to AWS, I've added the step below:

    1. Once you encounter this error, wait for your nodes(data nodes, if dedicated nodes are present) to be active.
    2. Click on Edit domain in Elasticsearch service page on AWS.
    3. Change EBS storage size per node by 1GB (this will cause migrations to happen again and possibly fix indices migration error).
    4. Click Submit, and wait for domain to become active, once active try testing kibana url.
    5. If it does not work try changing EBS storage size per node by 1GB again.
    6. Last resort to be try changing Instance type and again after domain is active switch to previous type.

    I've got this working solution by trial and error only. I am open for discussion on the same.