Bug 2019754

Summary: mapi_current_pending_csr is always set to 1 on OpenShift Container Platform 4.8
Product: OpenShift Container Platform Reporter: Joel Speed <jspeed>
Component: Cloud ComputeAssignee: Joel Speed <jspeed>
Cloud Compute sub component: Other Providers QA Contact: sunzhaohua <zhsun>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, dmoiseev, dofinn, sreber, zhsun
Version: 4.8   
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2013528 Environment:
Last Closed: 2021-11-22 21:47:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2013528    
Bug Blocks: 2031047    

Comment 4 sunzhaohua 2021-11-16 06:47:42 UTC
$ oc get clusterversion                                                                                                                                 [14:46:27]
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2021-11-15-113921   True        False         36m     Cluster version is 4.9.0-0.nightly-2021-11-15-113921

$ oc get csr | grep Pending                                                                                                                             [14:46:08]

$ token=`oc sa get-token prometheus-k8s -n openshift-monitoring`                                                                                        [14:46:14]
$ oc exec -c machine-approver-controller  machine-approver-6c479cfd7-b6kr9  -- curl -k -H "Authorization: Bearer `oc sa get-token prometheus-k8s -n openshift-monitoring`"   -H "Content-type: application/json" https://localhost:9192/metrics | grep "mapi_current_pending_csr"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0# HELP mapi_current_pending_csr Count of pending CSRs at the cluster level
# TYPE mapi_current_pending_csr gauge
mapi_current_pending_csr 0
100  148k    0  148k    0     0  9887k      0 --:--:-- --:--:-- --:--:-- 9887k

Comment 7 errata-xmlrpc 2021-11-22 21:47:05 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 (OpenShift Container Platform 4.9.8 bug fix update), and where to find the updated
files, follow the link below.

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


Comment 8 Joel Speed 2021-12-10 13:07:23 UTC
*** Bug 2030955 has been marked as a duplicate of this bug. ***