Bug 1777753

Summary: [RFE] Message is missing in ServiceCatalogControllerManagerEnabled and ServiceCatalogAPIServerEnabled alert
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Service CatalogAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED ERRATA QA Contact: Fan Jia <jfan>
Severity: low Docs Contact:
Priority: medium    
Version: 4.3.0Keywords: RFE
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1778820 (view as bug list) Environment:
Last Closed: 2020-01-23 11:14:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1778820    
Bug Blocks:    

Description Yadan Pei 2019-11-28 09:20:43 UTC
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 2 Fan Jia 2019-12-03 09:31:57 UTC
The latest nightly build desn't have the fix PR. Will verify when the build is ok.

Comment 3 Fan Jia 2019-12-05 08:02:49 UTC
cv:4.3.0-0.nightly-2019-12-04-214544

test result:
1. enable ServiceCatalogControllerManager and ServiceCatalogAPIServer
2. there is the description about the alert "ServiceCatalogAPIServerEnabled" "ServiceCatalogControllerManagerEnabled" on the console
ServiceCatalogAPIServerEnabled
Indicates whether Service Catalog API Server is enabled
ServiceCatalogControllerManagerEnabled
Indicates whether Service Catalog Controller Manager is enabled

Comment 5 errata-xmlrpc 2020-01-23 11:14:45 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:0062