opensearch-project / index-management-dashboards-plugin

🗃 Manage policies and jobs and automate periodic data operations in OpenSearch Dashboards
https://opensearch.org/docs/latest/im-plugin/index/
Apache License 2.0
14 stars 78 forks source link

[BUG] OpenSearch Dashboards displays incorrect cron expression for SM policies. #1023

Open deepakgandla opened 3 months ago

deepakgandla commented 3 months ago

What is the bug? OpenSearch Dashboards displays incorrect cron expression for SM policies.

How can one reproduce the bug? Steps to reproduce the behavior:

  1. Create an SM policy with custom cron expression (ex: 0 0,8,16 *) using OpenSearch Dashboards.
  2. Click on the crated SM policy, dashboard displays: Frequency. Cron schedule Daily 12:00 am (UTC)

What is the expected behavior? The dashboard should display something like this: Frequency. Cron schedule Custom 0 0,8,16 *

What is your host/environment?

Do you have any screenshots? image Do you have any additional context? Even though the dashboard shows an inaccurate cron expression, the API GET _plugins/_sm/policies/ returns correct cron expression, and the SM policy operates as intended, capturing snapshots three times daily in accordance with the cron expression (0 0,8,16 *).

dblock commented 1 month ago

Catch All Triage - 1 2 3 4 5 6