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

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

Open
deepakgandla opened this issue Apr 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@deepakgandla
Copy link

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?

  • AWS OpenSearch
  • Version : Experienced the same issue with versions 2.5, 2.7, 2.11
  • Plugins: SM

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 * * *).

@deepakgandla deepakgandla added bug Something isn't working untriaged labels Apr 4, 2024
@deepakgandla deepakgandla changed the title [BUG] [BUG] OpenSearch Dashboards displays incorrect cron expression for SM policies. Apr 4, 2024
@dblock
Copy link
Member

dblock commented Jun 24, 2024

Catch All Triage - 1 2 3 4 5 6

@dblock dblock removed the untriaged label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants