opensearch-project / anomaly-detection-dashboards-plugin

Manage your detectors and identify atypical data in OpenSearch Dashboards
https://opensearch.org/docs/latest/monitoring-plugins/ad/index/
Apache License 2.0
30 stars 58 forks source link

[BUG] Wrong real time state after executing historical run 2.15.0.0 #885

Open eruditesv opened 1 month ago

eruditesv commented 1 month ago

What is the bug? In list of detectors the real time state of detector shows as stopped after historical run is executed.

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

  1. Go OpenSearch dashboards. Open left pane, go to Anomaly detection section
  2. Create detectors if not already available
  3. Once detector is running go to detector switch to historical analysis tab, run historical analysis.
  4. Come back to list of detectors. In list of detectors the detector for which historical run was executed will have real time state as stopped.
  5. If you go to the detector the state is running.
  6. You will need to stop and again start detector by going to detector in order to get correct real time state in list of detectors.

What is the expected behavior? The real time state should be running in the list of detectors.

What is your host/environment?

Do you have any screenshots?

Do you have any additional context? Add any other context about the problem.

kaituo commented 2 weeks ago

I should have fixed the bug in 2.17. Can you try to upgrade?

eruditesv commented 2 weeks ago

Hi Kaituo, Thanks for taking a look into it. Can you point me to the commit or fix for it. Is it possible to merge back only this fix to 2.15.

kaituo commented 2 weeks ago

This is the fix: https://github.com/opensearch-project/anomaly-detection/pull/1287

We don't have upcoming 2.15 patch release. Are you hosting opensearch by your own or using our managed service?