Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1769615

Summary: The metrics of "service_catalog_apiserver_enabled" is missing
Product: OpenShift Container Platform Reporter: Jesus M. Rodriguez <jesusr>
Component: Service CatalogAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED DUPLICATE QA Contact: Fan Jia <jfan>
Severity: high Docs Contact:
Priority: high    
Version: 4.3.0CC: chezhang, chuo, jfan, jiazha
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: 1769601 Environment:
Last Closed: 2019-11-11 06:08:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jesus M. Rodriguez 2019-11-07 02:05:04 UTC
This bug also affects the service_catalog_apiserver_enabled metric.

+++ This bug was initially created as a clone of Bug #1769601 +++

Description of problem:
No "service_catalog_controller_manager_enabled
" from the metrics data of catalog controller manager.

Version-Release number of selected component (if applicable):
cv: 4.3.0-0.nightly-2019-11-05-211939

How reproducible:
always

Steps to Reproduce:
1.oc -n openshift-monitoring exec -c prometheus prometheus-k8s-1  -- curl -k -H "Authorization: Bearer $token" https://10.129.0.22:8443/metrics (get this url from the prometheus' targets) | grep service_catalog_controller_manager_enabled


Actual results:
1. no metrics "service_catalog_controller_manager_enabled"

Expected results:
1. should be "service_catalog_controller_manager_enabled 0"
and after enable the servicecatalogcontrollermanager the metrics will become "service_catalog_controller_manager_enabled 1"


Additional info:

Comment 2 Fan Jia 2019-11-08 07:53:58 UTC
No nightly build include this fix PR for now

Comment 3 Fan Jia 2019-11-11 03:32:02 UTC
test env:
cv:4.3.0-0.nightly-2019-11-10-165138

test result:
The metrics "service_catalog_apiserver_enabled" exist and equal "0" at first. After enable the servicecatalogapiserver the metrics will become "service_catalog_apiserver_enabled 1" , and the Alert "ServiceCatalogAPIServerEnabled" becomes "Firing".

Comment 4 Fan Jia 2019-11-11 06:08:34 UTC

*** This bug has been marked as a duplicate of bug 1769602 ***