Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ILM] Unable to remove Index priority value on existing index lifecycle policy #67968

Closed
hendry-lim opened this issue Jun 2, 2020 · 6 comments · Fixed by #70154
Closed

[ILM] Unable to remove Index priority value on existing index lifecycle policy #67968

hendry-lim opened this issue Jun 2, 2020 · 6 comments · Fixed by #70154
Labels
bug Fixes for quality problems that affect the customer experience Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more triage_needed

Comments

@hendry-lim
Copy link

hendry-lim commented Jun 2, 2020

Kibana version: 7.7.0

Elasticsearch version: 7.7.0

Server OS version: RHEL 8

Browser version: 83.0.4103.61

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): Docker

Describe the bug:
Index priority reverted back to 100 even though value was removed before saving the policy.
In some cases, the index priority value became 1 instead of 100.

Steps to reproduce:

  1. Create a new index lifecycle policy mypolicy
  2. Leave all fields to be default
  3. Save policy
  4. Edit mypolicy
  5. Remove Hot phase - Index priority value
  6. Save policy
  7. Edit mypolicy

Expected behavior:
Index priority field value is blank

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
This issue also occurs in Warm and Cold phases.

Discuss URL: https://discuss.elastic.co/t/ilm-unable-to-remove-index-priority-on-existing-index-lifecycle-policy/235271

@hendry-lim hendry-lim changed the title [ILM] Unable to remove Index priority on existing index lifecycle policy [ILM] Unable to remove Index priority value on existing index lifecycle policy Jun 2, 2020
@myasonik myasonik added bug Fixes for quality problems that affect the customer experience Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more triage_needed labels Jun 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@hendry-lim
Copy link
Author

hendry-lim commented Jun 4, 2020

The same issue persists in 7.7.1.

Noticed that the Index priority value was set to 100 when saving.

{
    "name": "mypolicy",
    "phases": {
        "hot": {
            "min_age": "0ms",
            "actions": {
                "rollover": {
                    "max_age": "30d",
                    "max_size": "50gb"
                },
                "set_priority": {
                    "priority": 100
                }
            }
        }
    }
}

@cjcenizal
Copy link
Contributor

Thanks for reporting this @hendry-lim! Looking into this now.

@hendry-lim
Copy link
Author

Issue persists in 7.8.0.

@alisonelizabeth
Copy link
Contributor

Thanks for the update @hendrikmuhs! I was able to reproduce and opened #70154 with a fix.

@hendry-lim
Copy link
Author

Thank you @alisonelizabeth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more triage_needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants