Skip to content

GET _migration/deprecations doesn't show deprecations for hidden indices #118020

Closed
@valeriy42

Description

@valeriy42

Elasticsearch Version

8.18

Installed Plugins

No response

Java Version

bundled

OS Version

Linux

Problem Description

The GET _migration/deprecations API in 8.18 no longer lists deprecations for hidden indices like .ml-* by default:

  • if you run GET _migration/deprecations the deprecation warnings are not displayed
  • if you run GET .ml*/_migration/deprecations they are displayed

This is a change from the previous behavior in 7.17, where GET _migration/deprecations would list the deprecation for .ml* indices in the index_settings part and the deprecation for ML model snapshots in the ml_settings part.

This change in the API behavior breaks the expected workflow in Kibana Update Assistant in 8.18 since now no ES deprecation warnings for .ml-* indices are shown before the major upgrade.

Steps to Reproduce

  1. Set up a cluster in 7.17
  2. Create an anomaly detection job, e.g. using kibana flights data
  3. Upgrade the cluster to 8.18
  4. Run GET _migration/deprecations in Dev Console

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions