# Curator Rollover not working

**URL:** <https://discuss.elastic.co/t/curator-rollover-not-working/150078>\
**Category:** Elasticsearch\
**Created:** [September 26, 2018, 7:57pm UTC](https://discuss.elastic.co/t/curator-rollover-not-working/150078 "2018-09-26T19:57:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lzukel](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@lzukel](https://discuss.elastic.co/u/lzukel)\
**Post date:** [September 26, 2018, 7:57pm UTC](https://discuss.elastic.co/t/curator-rollover-not-working/150078/1 "2018-09-26T19:57:18Z")

</div>

ES version - 6.3.2  
Curator version - 5.5.4  
Installed Curator from RPM on RHEL7

My Curator file:

```
actions:
  1:
    action: rollover
    description: >-
      Rollover the index associated with alias 'index_prod_active', which should be in the
      form of prefix-000001 (or similar), or prefix-YYYY.MM.DD-1.
    options:
      name: index_prod_active
      conditions:
        max_age: 1d
        max_size: 480gb

```

Output:  
Preparing Action ID: 1, "rollover"

Issue the index rollover action is not performed. I can curl the index\_prod\_active/\_rollover api with the same settings and it will rollover. Other curator actions in other files work as expected.

---

<div class="post-metadata">

**Author:** ![lzukel](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@lzukel](https://discuss.elastic.co/u/lzukel)\
**Post date:** [September 26, 2018, 8:17pm UTC](https://discuss.elastic.co/t/curator-rollover-not-working/150078/2 "2018-09-26T20:17:22Z")

</div>

Here is output from Debug loglevel with verify\_certs=False for debugging purposes:

> <https://gist.github.com/lanerjo/0b98949330fe9a5831577f257ea4c562>

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 26, 2018, 8:33pm UTC](https://discuss.elastic.co/t/curator-rollover-not-working/150078/3 "2018-09-26T20:33:59Z")

</div>

`/etc/elasticsearch/curator.conf` and `index_prod_rollover.curator` Shouldn't these end in`.yml`? Just a syntactic thing for me.

You can run this with `--dry-run` and it will show the dry run output, just like the rollover API does. Because it never gets past the client connection, though, it seems like there might be an issue there. Everything else seems to have validated properly, schema-wise.

---

<div class="post-metadata">

**Author:** ![lzukel](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@lzukel](https://discuss.elastic.co/u/lzukel)\
**Post date:** [September 26, 2018, 8:44pm UTC](https://discuss.elastic.co/t/curator-rollover-not-working/150078/4 "2018-09-26T20:44:26Z")

</div>

Since I am specifying the filenames to load they do not have to be .yml

I get the same message when using --dry-run.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 26, 2018, 9:21pm UTC](https://discuss.elastic.co/t/curator-rollover-not-working/150078/5 "2018-09-26T21:21:01Z")

</div>

Yes, but did you set the logging to be:

```auto
logging:
  # ... other options
  blacklist: []

```

---

<div class="post-metadata">

**Author:** ![lzukel](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@lzukel](https://discuss.elastic.co/u/lzukel)\
**Post date:** [September 27, 2018, 2:35pm UTC](https://discuss.elastic.co/t/curator-rollover-not-working/150078/6 "2018-09-27T14:35:43Z")

</div>

Someone had changed the password for the user in ES & SG that was being used to run the curator script. The server was sending back an empty reply, I found this by building the curl with all the parameters from curator.

---

<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:** [October 25, 2018, 2:44pm UTC](https://discuss.elastic.co/t/curator-rollover-not-working/150078/7 "2018-10-25T14:44:02Z")

</div>

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