Describe the bug:
In the Snapshot and Restore UI, a timestamp is shown for when the next snapshot will be taken even if SLM is stopped. This can be misleading.
Steps to reproduce:
Visit the Snapshot and Restore UI in Kibana, Policies tab.
Create an SLM policy.
Back on the policy listing page, verify that the policy has a valid timestamp for when the next snapshot will be taken.
Observe that there is still a next snapshot timestamp (even though SLM is stopped and a next snapshot will not be taken until SLM is restarted).
Expected behavior:
Next snapshot does not show a timestamp. Even better would be some way to get an explanation as to why that is - because SLM is stopped.
Perhaps it makes sense for the underlying Get Snapshot Lifecycle Policy Elasticsearch API to return next_execution_millis as null when SLM is stopped?
Kibana/ES version: 8.1.3
Describe the bug: In the Snapshot and Restore UI, a timestamp is shown for when the next snapshot will be taken even if SLM is stopped. This can be misleading.
Steps to reproduce:
Expected behavior: Next snapshot does not show a timestamp. Even better would be some way to get an explanation as to why that is - because SLM is stopped.
Perhaps it makes sense for the underlying Get Snapshot Lifecycle Policy Elasticsearch API to return
next_execution_millis
asnull
when SLM is stopped?Screenshots (if relevant):