Closed waza-ari closed 5 months ago
guess this backport PR will fix this issue https://github.com/opensearch-project/alerting-dashboards-plugin/pull/955, @AWSHurneyt
Im not very familiar with the code base, to me the PR indicates that there is an accompanying PR to it making other required changes.
Given that we see this issue in 2.14.0 (plus whatever version the other forum user is using, given its the latest tag 11d ago it might also be 2.14.0), does that mean that some parts got backported and others didn’t? I was unable to find evidence that would support this.
In dashboard-alerting PR #916 changes have been introduced which require the dashboard-notification PR 181 to be merged. Both PRs where merged, but only dashboard-notification PR 181 was backported to 2.x in PR 194 while the alerting changes from alerting PR #916 are not back ported yet (waiting for #955).
This means the backport in the notification repo happened before 2.14 was released, the backport in alerting is still open.
Note that this breaks alerting in the currently released version.
i'd like to add that im running 2.14 and also have the same problem as the OP, alerting is now fundamentally broken in the current release.
Looks like #966 was merged. Would it be possible to confirm it will address this issue and will be included in 2.15? Happy to close this issue then
Yes, #966 should fix the issue and we will be releasing 2.15 next week
What is the bug?
When trying to configure an action for a monitor, OSD fails to retrieve the available notification configs with the following HTTP message:
GET https://<osd-url>/api/notifications/get_configs?from_index=0&max_items=5000&sort_field=name&sort_order=asc
Response:
This prevents the user from configuring an action, as the dashboard will show that there are no notification channels available:
There's at least one other user affected by this issue.
How can one reproduce the bug? Steps to reproduce the behavior:
At least in my configuration, the following steps show the error:
What is the expected behavior? I'm expecting to see the available monitors.
What is your host/environment?
The Ubuntu 22.04 systems are the host systems. OS and OSD is running on a Kubernetes cluster using the official Helm chart.
Do you have any additional context?
Configured Channels:
Configuration details:
Monitor Details