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 "No custom node attributes configured" callout gives incorrect guidance if allocation was originally "Off" #81648

Closed
cjcenizal opened this issue Oct 26, 2020 · 2 comments · Fixed by #81754
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

Comments

@cjcenizal
Copy link
Contributor

cjcenizal commented Oct 26, 2020

Note: This occurs on the 7.10 branch, not on master. Master exhibits a different bug: #81682.

To reproduce this bug, save a policy with allocation set to "Off". Edit the policy and select "Custom" instead. The callout below appears, informing that user that because there are no node attributes, node roles will be used instead:

image

Save the policy and go back and edit it again. Based on the callout, you'd expect allocation to be set to "Use cold nodes", but instead it's set to "Off". I think this is probably the desired behavior, in which case the solution will be to dynamically change the callout text depending on whether the policy is preconfigured with allocation set to "Default" or "Off".

@cjcenizal cjcenizal 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 labels Oct 26, 2020
@elasticmachine
Copy link
Contributor

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

@jloleysens
Copy link
Contributor

Do you think a simple fix in this case could be to just remove that last sentence from the copy "Cold nodes will be used instead"?

It seems reasonable to me that if you change a setting and receive a warning callout that setting has not changed. Otherwise we upgrade this to a danger callout and block if a user selects "Custom" with no node attrs, but that does not fit in with the underlying API.

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants