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

Update the ILM UI to include the ability to wait for snapshot #56776

Closed
matt-davis-elastic opened this issue Feb 4, 2020 · 7 comments
Closed
Labels
enhancement New value added to drive a business result Feature:ILM Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@matt-davis-elastic
Copy link

ILM is adding a new action in the delete phase that allows ILM to wait for the specified snapshot policy to complete. Can we add something in the UI on the delete phase to allow someone to include the action to wait for a snapshot policy?

@jethr0null let me know if you need any other information.

@snide
Copy link
Contributor

snide commented Feb 4, 2020

Hello @matt-davis-elastic. I think you might have dropped this issue in the wrong repo. The covers the React UI framework (Elastic UI Framework) and doesn't cover the Elasticsearch UI. For those issues, I think you want to make them in Kibana, likely using the Elasticsearch UI label. https://github.com/elastic/kibana/issues?q=is%3Aopen+is%3Aissue+label%3A%22Team%3AElasticsearch+UI%22

@snide snide closed this as completed Feb 4, 2020
@jethr0null jethr0null transferred this issue from elastic/eui Feb 4, 2020
@jethr0null
Copy link

cc @elastic/es-ui

@jethr0null jethr0null reopened this Feb 4, 2020
@cjcenizal cjcenizal added enhancement New value added to drive a business result Feature:ILM Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Feb 4, 2020
@jethr0null
Copy link

@cjcenizal, @matt-davis-elastic and I chatted about this and he is planning on adding some additional detail to this issue when he has a chance.

@cjcenizal
Copy link
Contributor

For reference, here's the ES PR that introduced the change to the API: elastic/elasticsearch#45067

@cjcenizal
Copy link
Contributor

This change adds a "snapshot" action to the delete phase (Snapshot action docs). Here's an example of a policy that uses this action to wait until the slm-policy-name SLM policy has taken a snapshot before proceeding to delete the index:

PUT _ilm/policy/my_policy
{
  "policy": {
    "phases": {
      "delete": {
        "actions": {
          "wait_for_snapshot" : {
            "policy": "slm-policy-name"
          }
        }
      }
    }
  }
}

We can surface this in the UI with a single-selection combobox that's populated with the user's SLM policies. A nice enhancement would be a preview that shows up below the combobox that shows you the crucial details of the policy you've selected (and maybe a deep-link into Snapshot Restore).

@matt-davis-elastic
Copy link
Author

Yes, thanks, CJ. Somehow I lost track of this ticket. I think a single-selection combobox would solve this.

@cjcenizal
Copy link
Contributor

Addressed by #68505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:ILM Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

4 participants