ILM in 7.7.0 not applying - 0 linked indices

I have a 7.7.0 cluster which reports 0 linked indices for every ILM policy and no ILM is being performed on any index. I have a similarly configured 7.5.0 cluster in which ILM is working as expected.

Is there something new I'm missing for creating ILMs in 7.7 with or is this a 7.7.0 bug?

The following test works as expected on a 7.5.0 cluster, but results in 0 linked indices and no ILM applied to any indexes in 7.7.0:

PUT _ilm/policy/test
{
  "policy": {
    "phases": {
      "hot": {                      
        "actions": {
          "rollover": {
            "max_size": "50GB",     
            "max_age": "30d"
          }
        }
      }
    }
  }
}

PUT _template/test
{
  "index_patterns": [
    "test-*"
  ],
  "settings": {
    "index": {
      "lifecycle": {
        "name": "test"
      }
    }
  }
}

PUT /test-000001

Both 7.7.0 and 7.5.0 clusters "test-000001" index returns that it is attached to the correct ILM:

GET /test-000001
{
  "test-000001" : {
    "aliases" : { },
    "mappings" : { },
    "settings" : {
      "index" : {
        "lifecycle" : {
          "name" : "test"
        },
        "number_of_shards" : "1",
        ...truncated for brevity...
        }
      }
    }
  }
}

But 7.7.0 clusters ILM page in Kibana shows 0 linked indices:

The 7.5.0 clusters ILM page shows 1 linked indice as expected:

1 Like

Hi,

Same problem here. It seems like a bug.

/Angelos

I opened a support ticket with Elastic. I'm told it's a UI bug in Kibana, the ILM policies are still applying. It will be fixed in 7.7.2.

1 Like

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