opensearch-project / alerting

📟 Get notified when your data meets certain conditions by setting up monitors, alerts, and notifications
https://opensearch.org/docs/latest/monitoring-plugins/alerting/index/
Apache License 2.0
60 stars 102 forks source link

[BUG] 2.9 GH workflows are failing with `Unresolved reference: CAT_INDICES` #1461

Closed engechas closed 5 months ago

engechas commented 6 months ago

What is the bug? WFs on the 2.9 branch are failing with

e: /home/runner/work/alerting/alerting/alerting/src/main/kotlin/org/opensearch/alerting/settings/SupportedClusterMetricsSettings.kt: (90, 35): Unresolved reference: CAT_INDICES
e: /home/runner/work/alerting/alerting/alerting/src/main/kotlin/org/opensearch/alerting/settings/SupportedClusterMetricsSettings.kt: (97, 35): Unresolved reference: CAT_SHARDS
e: /home/runner/work/alerting/alerting/alerting/src/main/kotlin/org/opensearch/alerting/util/clusterMetricsMonitorHelpers/SupportedClusterMetricsSettingsExtensions.kt: ([49](https://github.com/opensearch-project/alerting/actions/runs/8240038860/job/22534582093#step:5:50), 47): Unresolved reference: CAT_INDICES

e: /home/runner/work/alerting/alerting/alerting/src/main/kotlin/org/opensearch/alerting/util/clusterMetricsMonitorHelpers/SupportedClusterMetricsSettingsExtensions.kt: (66, 47): Unresolved reference: CAT_SHARDS

Example: https://github.com/opensearch-project/alerting/actions/runs/8240038860/job/22534582093

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

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior? A clear and concise description of what you expected to happen.

What is your host/environment?

Do you have any screenshots? If applicable, add screenshots to help explain your problem.

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

engechas commented 5 months ago

This is resolved, closing