Bug 1778820 - [RFE] Message is missing in ServiceCatalogControllerManagerEnabled and ServiceCatalogAPIServerEnabled alert
Summary: [RFE] Message is missing in ServiceCatalogControllerManagerEnabled and Servic...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Catalog
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.4.0
Assignee: Jesus M. Rodriguez
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On:
Blocks: 1777753
TreeView+ depends on / blocked
 
Reported: 2019-12-02 14:59 UTC by Jesus M. Rodriguez
Modified: 2020-05-13 21:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Alert descriptor was only setting summary attribute. Consequence: No message is seen in the monitoring listing. Fix: Update message attribute in the Alert descriptor. Result: With the message attribute defined, the message shows up in the monitoring listing.
Clone Of: 1777753
Environment:
Last Closed: 2020-05-13 21:53:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-svcat-apiserver-operator pull 73 0 'None' closed Bug 1778820: add message string to alert 2020-12-17 12:28:24 UTC
Github openshift cluster-svcat-controller-manager-operator pull 66 0 'None' closed Bug 1778820: add message to alert 2020-12-17 12:28:24 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-13 21:53:31 UTC

Description Jesus M. Rodriguez 2019-12-02 14:59:00 UTC
+++ This bug was initially created as a clone of Bug #1777753 +++

Description of problem:
No message defined for ServiceCatalogControllerManagerEnabled and ServiceCatalogAPIServerEnabled alert, we can't see detail info for these alerts when viewing them on console

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-11-27-041100

How reproducible:
Always

Steps to Reproduce:
1. Check ServiceCatalogControllerManagerEnabled and ServiceCatalogAPIServerEnabled alert rules

alert: ServiceCatalogControllerManagerEnabled
expr: service_catalog_controller_manager_enabled
  > 0
labels:
  severity: warning
annotations:
  summary: Indicates whether Service Catalog Controller Manager is enabled

alert: ServiceCatalogAPIServerEnabled
expr: service_catalog_apiserver_enabled
  > 0
labels:
  severity: warning
annotations:
  summary: Indicates whether Service Catalog API Server is enabled
2. Check other alert rules
alert: AlertmanagerFailedReload
expr: alertmanager_config_last_reload_successful{job="alertmanager-main",namespace="openshift-monitoring"}
  == 0
for: 10m
labels:
  severity: warning
annotations:
  message: Reloading Alertmanager's configuration has failed for {{ $labels.namespace
    }}/{{ $labels.pod}}.

Actual results:
Only have summary, no messages. If alert has no messages, it will not show useful message/info on web console Monitoring -> Alerts or Home -> Dashboards page

Expected results:
ServiceCatalogControllerManagerEnabled and ServiceCatalogAPIServerEnabled alert should have message defined

Additional info:

Comment 4 Fan Jia 2019-12-16 03:29:55 UTC
cv:4.4.0-0.nightly-2019-12-15-184910

result:
1. enable the ServiceCatalogAPIServer and the alert console has the firing and the message
ServiceCatalogAPIServerEnabled
Indicates whether Service Catalog API Server is enabled

2.enable the ServiceCatalogControllerManager and the alert console has the firing and the message
ServiceCatalogControllerManagerEnabled
Indicates whether Service Catalog Controller Manager is enabled

Comment 6 errata-xmlrpc 2020-05-13 21:53:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0581


Note You need to log in before you can comment on or make changes to this bug.