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] #928

Open
andr-kole opened this issue Apr 5, 2024 · 4 comments
Open

[BUG] #928

andr-kole opened this issue Apr 5, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@andr-kole
Copy link

Describe the bug

Monitor Create-> Add Trigger -> Actions -> Notifications
Getting error message: "Notifications plugin is not installed"

Doing the same while logged as admin -> no error message.

To Reproduce
Steps to reproduce the behavior:

  1. Map user to role with the following cluster permissions
    cluster:monitor/health
    cluster_composite_ops_ro
    cluster:monitor/state
    indices:admin/resolve/index
    indices:monitor/settings/get
    cluster:admin/opendistro/alerting/alerts/ack
    cluster:admin/opendistro/alerting/alerts/get
    cluster:admin/opendistro/alerting/destination/delete
    cluster:admin/opendistro/alerting/destination/email_account/delete
    cluster:admin/opendistro/alerting/destination/email_account/get
    cluster:admin/opendistro/alerting/destination/email_account/search
    cluster:admin/opendistro/alerting/destination/email_account/write
    cluster:admin/opendistro/alerting/destination/email_group/delete
    cluster:admin/opendistro/alerting/destination/email_group/get
    cluster:admin/opendistro/alerting/destination/email_group/search
    cluster:admin/opendistro/alerting/destination/email_group/write
    cluster:admin/opendistro/alerting/destination/get
    cluster:admin/opendistro/alerting/destination/write
    cluster:admin/opendistro/alerting/monitor/delete
    cluster:admin/opendistro/alerting/monitor/execute
    cluster:admin/opendistro/alerting/monitor/get
    cluster:admin/opendistro/alerting/monitor/search
    cluster:admin/opendistro/alerting/monitor/write
    cluster:admin/opendistro/reports/definition/create
    cluster:admin/opendistro/reports/definition/update
    cluster:admin/opendistro/reports/definition/on_demand
    cluster:admin/opendistro/reports/definition/delete
    cluster:admin/opendistro/reports/definition/get
    cluster:admin/opendistro/reports/definition/list
    cluster:admin/opendistro/reports/instance/list
    cluster:admin/opendistro/reports/instance/get
    cluster:admin/opendistro/reports/menu/download
    cluster:admin/opensearch/notifications/channels/get
    cluster:admin/opensearch/notifications/configs/create
    cluster:admin/opensearch/notifications/configs/delete
    cluster:admin/opensearch/notifications/configs/get
    cluster:admin/opensearch/notifications/configs/update
    cluster:admin/opensearch/notifications/features
    cluster:admin/opensearch/notifications/feature/send
    cluster:admin/opensearch/notifications/test_notification

  2. Go to Alerting->Monitor->Create Monitor->Add Triggers->Add Action->Notification

  3. See error "Notifications plugin is not installed"

Expected behavior
I expect the user with the list of permissions above be able to Assign Notifications To Monitors

OpenSearch Version
2.10.0

Dashboards Version
2.10.0

Plugins
obs-opsh-search1 opensearch-alerting 2.10.0.0
obs-opsh-search1 opensearch-anomaly-detection 2.10.0.0
obs-opsh-search1 opensearch-asynchronous-search 2.10.0.0
obs-opsh-search1 opensearch-cross-cluster-replication 2.10.0.0
obs-opsh-search1 opensearch-custom-codecs 2.10.0.0
obs-opsh-search1 opensearch-geospatial 2.10.0.0
obs-opsh-search1 opensearch-index-management 2.10.0.0
obs-opsh-search1 opensearch-job-scheduler 2.10.0.0
obs-opsh-search1 opensearch-knn 2.10.0.0
obs-opsh-search1 opensearch-ml 2.10.0.0
obs-opsh-search1 opensearch-neural-search 2.10.0.0
obs-opsh-search1 opensearch-notifications 2.10.0.0
obs-opsh-search1 opensearch-notifications-core 2.10.0.0
obs-opsh-search1 opensearch-observability 2.10.0.0
obs-opsh-search1 opensearch-performance-analyzer 2.10.0.0
obs-opsh-search1 opensearch-reports-scheduler 2.10.0.0
obs-opsh-search1 opensearch-security 2.10.0.0
obs-opsh-search1 opensearch-security-analytics 2.10.0.0
obs-opsh-search1 opensearch-sql 2.10.0.0
obs-opsh-search-coord-3 opensearch-alerting 2.10.0.0
obs-opsh-search-coord-3 opensearch-anomaly-detection 2.10.0.0
obs-opsh-search-coord-3 opensearch-asynchronous-search 2.10.0.0
obs-opsh-search-coord-3 opensearch-cross-cluster-replication 2.10.0.0
obs-opsh-search-coord-3 opensearch-custom-codecs 2.10.0.0
obs-opsh-search-coord-3 opensearch-geospatial 2.10.0.0
obs-opsh-search-coord-3 opensearch-index-management 2.10.0.0
obs-opsh-search-coord-3 opensearch-job-scheduler 2.10.0.0
obs-opsh-search-coord-3 opensearch-knn 2.10.0.0
obs-opsh-search-coord-3 opensearch-ml 2.10.0.0
obs-opsh-search-coord-3 opensearch-neural-search 2.10.0.0
obs-opsh-search-coord-3 opensearch-notifications 2.10.0.0
obs-opsh-search-coord-3 opensearch-notifications-core 2.10.0.0
obs-opsh-search-coord-3 opensearch-observability 2.10.0.0
obs-opsh-search-coord-3 opensearch-performance-analyzer 2.10.0.0
obs-opsh-search-coord-3 opensearch-reports-scheduler 2.10.0.0
obs-opsh-search-coord-3 opensearch-security 2.10.0.0
obs-opsh-search-coord-3 opensearch-security-analytics 2.10.0.0
obs-opsh-search-coord-3 opensearch-sql 2.10.0.0
obs-opsh-search-coord-1 opensearch-alerting 2.10.0.0
obs-opsh-search-coord-1 opensearch-anomaly-detection 2.10.0.0
obs-opsh-search-coord-1 opensearch-asynchronous-search 2.10.0.0
obs-opsh-search-coord-1 opensearch-cross-cluster-replication 2.10.0.0
obs-opsh-search-coord-1 opensearch-custom-codecs 2.10.0.0
obs-opsh-search-coord-1 opensearch-geospatial 2.10.0.0
obs-opsh-search-coord-1 opensearch-index-management 2.10.0.0
obs-opsh-search-coord-1 opensearch-job-scheduler 2.10.0.0
obs-opsh-search-coord-1 opensearch-knn 2.10.0.0
obs-opsh-search-coord-1 opensearch-ml 2.10.0.0
obs-opsh-search-coord-1 opensearch-neural-search 2.10.0.0
obs-opsh-search-coord-1 opensearch-notifications 2.10.0.0
obs-opsh-search-coord-1 opensearch-notifications-core 2.10.0.0
obs-opsh-search-coord-1 opensearch-observability 2.10.0.0
obs-opsh-search-coord-1 opensearch-performance-analyzer 2.10.0.0
obs-opsh-search-coord-1 opensearch-reports-scheduler 2.10.0.0
obs-opsh-search-coord-1 opensearch-security 2.10.0.0
obs-opsh-search-coord-1 opensearch-security-analytics 2.10.0.0
obs-opsh-search-coord-1 opensearch-sql 2.10.0.0
obs-opsh-search2 opensearch-alerting 2.10.0.0
obs-opsh-search2 opensearch-anomaly-detection 2.10.0.0
obs-opsh-search2 opensearch-asynchronous-search 2.10.0.0
obs-opsh-search2 opensearch-cross-cluster-replication 2.10.0.0
obs-opsh-search2 opensearch-custom-codecs 2.10.0.0
obs-opsh-search2 opensearch-geospatial 2.10.0.0
obs-opsh-search2 opensearch-index-management 2.10.0.0
obs-opsh-search2 opensearch-job-scheduler 2.10.0.0
obs-opsh-search2 opensearch-knn 2.10.0.0
obs-opsh-search2 opensearch-ml 2.10.0.0
obs-opsh-search2 opensearch-neural-search 2.10.0.0
obs-opsh-search2 opensearch-notifications 2.10.0.0
obs-opsh-search2 opensearch-notifications-core 2.10.0.0
obs-opsh-search2 opensearch-observability 2.10.0.0
obs-opsh-search2 opensearch-performance-analyzer 2.10.0.0
obs-opsh-search2 opensearch-reports-scheduler 2.10.0.0
obs-opsh-search2 opensearch-security 2.10.0.0
obs-opsh-search2 opensearch-security-analytics 2.10.0.0
obs-opsh-search2 opensearch-sql 2.10.0.0
obs-opsh-search3 opensearch-alerting 2.10.0.0
obs-opsh-search3 opensearch-anomaly-detection 2.10.0.0
obs-opsh-search3 opensearch-asynchronous-search 2.10.0.0
obs-opsh-search3 opensearch-cross-cluster-replication 2.10.0.0
obs-opsh-search3 opensearch-custom-codecs 2.10.0.0
obs-opsh-search3 opensearch-geospatial 2.10.0.0
obs-opsh-search3 opensearch-index-management 2.10.0.0
obs-opsh-search3 opensearch-job-scheduler 2.10.0.0
obs-opsh-search3 opensearch-knn 2.10.0.0
obs-opsh-search3 opensearch-ml 2.10.0.0
obs-opsh-search3 opensearch-neural-search 2.10.0.0
obs-opsh-search3 opensearch-notifications 2.10.0.0
obs-opsh-search3 opensearch-notifications-core 2.10.0.0
obs-opsh-search3 opensearch-observability 2.10.0.0
obs-opsh-search3 opensearch-performance-analyzer 2.10.0.0
obs-opsh-search3 opensearch-reports-scheduler 2.10.0.0
obs-opsh-search3 opensearch-security 2.10.0.0
obs-opsh-search3 opensearch-security-analytics 2.10.0.0
obs-opsh-search3 opensearch-sql 2.10.0.0
obs-opsh-search-coord-2 opensearch-alerting 2.10.0.0
obs-opsh-search-coord-2 opensearch-anomaly-detection 2.10.0.0
obs-opsh-search-coord-2 opensearch-asynchronous-search 2.10.0.0
obs-opsh-search-coord-2 opensearch-cross-cluster-replication 2.10.0.0
obs-opsh-search-coord-2 opensearch-custom-codecs 2.10.0.0
obs-opsh-search-coord-2 opensearch-geospatial 2.10.0.0
obs-opsh-search-coord-2 opensearch-index-management 2.10.0.0
obs-opsh-search-coord-2 opensearch-job-scheduler 2.10.0.0
obs-opsh-search-coord-2 opensearch-knn 2.10.0.0
obs-opsh-search-coord-2 opensearch-ml 2.10.0.0
obs-opsh-search-coord-2 opensearch-neural-search 2.10.0.0
obs-opsh-search-coord-2 opensearch-notifications 2.10.0.0
obs-opsh-search-coord-2 opensearch-notifications-core 2.10.0.0
obs-opsh-search-coord-2 opensearch-observability 2.10.0.0
obs-opsh-search-coord-2 opensearch-performance-analyzer 2.10.0.0
obs-opsh-search-coord-2 opensearch-reports-scheduler 2.10.0.0
obs-opsh-search-coord-2 opensearch-security 2.10.0.0
obs-opsh-search-coord-2 opensearch-security-analytics 2.10.0.0
obs-opsh-search-coord-2 opensearch-sql 2.10.0.0

Screenshots

If applicable, add screenshots to help explain your problem.
image

@andr-kole andr-kole added bug Something isn't working untriaged labels Apr 5, 2024
@AMoo-Miki
Copy link
Contributor

This seems to be related to the alerting-dashboards plugin. @opensearch-project/admin could you please reroute it?

@bbarani bbarani transferred this issue from opensearch-project/OpenSearch-Dashboards Apr 5, 2024
@sbcd90
Copy link
Collaborator

sbcd90 commented Apr 29, 2024

@amsiglan @AWSHurneyt , could you please look into it?

@sbcd90 sbcd90 removed the untriaged label Apr 29, 2024
@praveensameneni
Copy link
Member

We introduced Notifications plugin in 2.x. Did you check if the notification plugin was installed correctly - should be part of the distribution

@ilyaevseev
Copy link

The same problem in OpenSearch 2.15.0 from docker image.
Installed plugins:

opensearch-alerting
opensearch-anomaly-detection
opensearch-asynchronous-search
opensearch-cross-cluster-replication
opensearch-custom-codecs
opensearch-flow-framework
opensearch-geospatial
opensearch-index-management
opensearch-job-scheduler
opensearch-knn
opensearch-ml
opensearch-neural-search
opensearch-notifications
opensearch-notifications-core
opensearch-observability
opensearch-reports-scheduler
opensearch-security
opensearch-security-analytics
opensearch-skills
opensearch-sql

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

5 participants