-
Notifications
You must be signed in to change notification settings - Fork 58
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] creating Anomaly Detector using the API does not work #171
Comments
Hi @zil1, thank you for taking the time to report this issue to us! However, I haven’t been able to replicate the issue you specify here. I followed the steps you outlined with the same environment (also trying to replicate it with AD 1.2.0.1). I was wondering if you could possibly provide additional insight to the request payload you have for creating the detector. Also, any additional network response information could be helpful along with the logs you provided above. Another thing that could possibly help as I try to replicate this issue, is if you have the exact docker commands, docker-compose file or any other steps you followed to initially set up the environment. Thank you! |
we didn't have any important detectors and historical data, so we just deleted the system indexes .opendistro-anomaly*. After that, we do not observe any problems. Thanks |
I think I figured out how to repeat the bug. If I don't specify a "description" in the request body, then the detector is created, but the AD plugin breaks and gives an error: "Unable to get all detectors" OpenSearch version 1.2.4 |
@zil1 thanks for providing more details, and apologize for the late response. I was able to reproduce this bug by not including a However, the API should reject the request if the Edit: I've opened a tracking issue here, with a few different options. Feel free to chime in your ideas there as well: opensearch-project/anomaly-detection#437 |
Closing in favor of the mentioned issue. |
Describe the bug
The anomaly detection panel in opensearch dashboards fails after creating a detector via the API("Unable to get all detectors").
And it is also impossible to get/update/delete a detector created using the API.("Unable to get user information from detector")
To Reproduce
Steps to reproduce the behavior:
OpenSearch Dashboards logs:
OpenSearch logs(when trying to delete the detector):
Expected behavior
Detectors that were successfully created and exist should be displayed in the UI.
Detectors are removed successfully using the API.
Plugins
OpenSearch Dashboards:
OpenSearch:
Host/Environment (please complete the following information):
Additional context
Installing the AD plugin 1.2.0.1 did not help
The text was updated successfully, but these errors were encountered: