# Curator Reindex Failed

**URL:** https://discuss.elastic.co/t/curator-reindex-failed/168182
**Category:** Elasticsearch
**Created:** [February 13, 2019, 10:30am UTC](https://discuss.elastic.co/t/curator-reindex-failed/168182 "2019-02-13T10:30:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![PoLo\_Chang](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@PoLo\_Chang](https://discuss.elastic.co/u/PoLo_Chang)
#### Post date: [February 13, 2019, 10:30am UTC](https://discuss.elastic.co/t/curator-reindex-failed/168182/1 "2019-02-13T10:30:47Z")

</div>

Hi Everyone,

I wanted to reindex my daily indices to monthly with Curator.

But i encountered a error like this :

> 2019-02-13 10:12:37,083 ERROR Failed to complete action: reindex. \<class 'curator.exceptions.FailedExecution'\>: Exception encountered. Rerun with loglevel DEBUG and/or check Elasticsearch logs for more information. Exception: Unable to obtain task information for task\_id "cMCmxcrHSzKcVBZta0pXnw:388736123". Exception TransportError(404, 'resource\_not\_found\_exception', 'no such index')

I use GET \_tasks/task\_id to figure out what happen.  
I think this error happened due to reindex already finish but curator stil get task status,but task status has gone like below:

```
{
  "error": {
    "root_cause": [
      {
        "type": "index_not_found_exception",
        "reason": "no such index",
        "index_uuid": "_na_",
        "resource.type": "index_expression",
        "resource.id": ".tasks",
        "index": ".tasks"
      }
    ],
    "type": "resource_not_found_exception",
    "reason": "task [cMCmxcrHSzKcVBZta0pXnw:388736123] isn't running and hasn't stored its results",
    "caused_by": {
      "type": "index_not_found_exception",
      "reason": "no such index",
      "index_uuid": "_na_",
      "resource.type": "index_expression",
      "resource.id": ".tasks",
      "index": ".tasks"
    }
  },
  "status": 404
}

```

How could I fix this problem?

Here action.yml

```
---
# Remember, leave a key empty if there is no value. None will be a string,
# not a Python "NoneType"
#
# Also remember that all examples have 'disable_action' set to True. If you
# want to use this action as a template, be sure to set this to False after
# copying it.
actions:
  1:
    description: >-
      'Reindex all daily logstash indices from March 2017 into logstash-2017.03'
    action: reindex
    options:
      disable_action: False
      ignore_empty_list: True
      max_wait: -1
      request_body:
        source:
          index: mobile-nginx-2017.12.*
        dest:
          index: mobile-nginx-2017.12
    filters:
    - filtertype: none

```

Thank for help.

P.S.:  
Elasticsearch version : 6.4.1  
Curator : 5.6

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 13, 2019, 10:30am UTC](https://discuss.elastic.co/t/curator-reindex-failed/168182/2 "2019-03-13T10:30:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
