Bug 2022844

Summary: Extensive number of requests from storage version operator in cluster
Product: OpenShift Container Platform Reporter: Luis Sanchez <sanchezl>
Component: kube-storage-version-migratorAssignee: Luis Sanchez <sanchezl>
Status: CLOSED ERRATA QA Contact: Rahul Gangwar <rgangwar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, bparees, mfojtik, rgangwar, sanchezl, skrenger
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2022528 Environment:
Last Closed: 2022-01-05 16:11:41 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:
Bug Depends On: 2022528    
Bug Blocks:    

Comment 5 Rahul Gangwar 2021-12-13 10:46:43 UTC
oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-12-11-060848   True        False         83m     Cluster version is 4.8.0-0.nightly-2021-12-11-060848

oc adm node-logs --role=master --path="kube-apiserver"|grep -v -E "(.terminating|.lock|termination.log)"|sed "s|^| kube-apiserver |"|xargs  bash -c 'oc adm node-logs $2 --path=$1/$3' bash|grep 'namespaces/openshift-kube-storage-version-migrator'|jq -r '.user.username+" "+.useragent+" "+.verb+" "+.requestURI' | sort | uniq -c | sort -n |tail -n 10

   2 system:serviceaccount:kube-system:generic-garbage-collector  get /api/v1/namespaces/openshift-kube-storage-version-migrator-operator/secrets/builder-token-q8hf5
   2 system:serviceaccount:kube-system:generic-garbage-collector  get /api/v1/namespaces/openshift-kube-storage-version-migrator-operator/secrets/deployer-token-dscnp
   2 system:serviceaccount:kube-system:generic-garbage-collector  get /api/v1/namespaces/openshift-kube-storage-version-migrator-operator/services/metrics
   3 system:node:rgangwar-13de6-fn6t7-master-0  get /api/v1/namespaces/openshift-kube-storage-version-migrator-operator/pods/kube-storage-version-migrator-operator-6775d895fc-t2qxc
   3 system:node:rgangwar-13de6-fn6t7-master-0  patch /api/v1/namespaces/openshift-kube-storage-version-migrator-operator/pods/kube-storage-version-migrator-operator-6775d895fc-t2qxc/status
   4 system:serviceaccount:openshift-kube-storage-version-migrator-operator:kube-storage-version-migrator-operator  get /api/v1/namespaces/openshift-kube-storage-version-migrator
   4 system:serviceaccount:openshift-kube-storage-version-migrator-operator:kube-storage-version-migrator-operator  get /api/v1/namespaces/openshift-kube-storage-version-migrator/serviceaccounts/kube-storage-version-migrator-sa
   4 system:serviceaccount:openshift-kube-storage-version-migrator-operator:kube-storage-version-migrator-operator  get /apis/apps/v1/namespaces/openshift-kube-storage-version-migrator/deployments/migrator
  21 system:serviceaccount:openshift-kube-storage-version-migrator-operator:kube-storage-version-migrator-operator  get /api/v1/namespaces/openshift-kube-storage-version-migrator-operator/configmaps/openshift-kube-storage-version-migrator-operator-lock?timeout=35s
  21 system:serviceaccount:openshift-kube-storage-version-migrator-operator:kube-storage-version-migrator-operator  update /api/v1/namespaces/openshift-kube-storage-version-migrator-operator/configmaps/openshift-kube-storage-version-migrator-operator-lock?timeout=35s


oc adm node-logs --role=master --path="kube-apiserver"|grep -v -E "(.terminating|.lock|termination.log)"|sed "s|^| kube-apiserver |"|xargs  bash -c 'oc adm node-logs $2 --path=$1/$3' bash|jq -r '.user.username+" "+.useragent+" "+.verb+" "+.requestURI' | sort | uniq -c | sort -n |tail -n 10 
 860 system:serviceaccount:openshift-kube-apiserver-operator:kube-apiserver-operator  get /api/v1/namespaces/openshift-kube-apiserver/configmaps/kube-apiserver-pod
 860 system:serviceaccount:openshift-kube-apiserver-operator:kube-apiserver-operator  get /api/v1/namespaces/openshift-kube-apiserver/configmaps/kube-apiserver-server-ca
 861 system:serviceaccount:openshift-kube-apiserver-operator:kube-apiserver-operator  get /api/v1/namespaces/openshift-kube-apiserver/configmaps/trusted-ca-bundle
 861 system:serviceaccount:openshift-kube-apiserver-operator:kube-apiserver-operator  get /api/v1/namespaces/openshift-kube-apiserver/secrets/localhost-recovery-client-token
1117 system:serviceaccount:openshift-apiserver:openshift-apiserver-sa  create /apis/authorization.k8s.io/v1/subjectaccessreviews?timeout=10s
1263 system:kube-scheduler  get /api/v1/namespaces/openshift-kube-scheduler/configmaps/kube-scheduler?timeout=5s
1481 system:serviceaccount:openshift-oauth-apiserver:oauth-apiserver-sa  create /apis/authorization.k8s.io/v1/subjectaccessreviews?timeout=10s
1626 system:serviceaccount:openshift-kube-apiserver-operator:kube-apiserver-operator  get /api/v1/namespaces/openshift-kube-apiserver/serviceaccounts/localhost-recovery-client
1822 system:serviceaccount:openshift-apiserver-operator:openshift-apiserver-operator  delete /api/v1/namespaces/openshift-apiserver/secrets/encryption-config
3438 system:serviceaccount:openshift-kube-apiserver-operator:kube-apiserver-operator  delete /api/v1/namespaces/openshift-kube-apiserver/secrets/encryption-config

Comment 8 errata-xmlrpc 2022-01-05 16:11:41 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.8.25 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.

https://access.redhat.com/errata/RHBA-2021:5209

Comment 9 Luis Sanchez 2022-01-07 15:29:27 UTC
*** Bug 1980557 has been marked as a duplicate of this bug. ***

Comment 10 Luis Sanchez 2022-05-19 13:19:32 UTC
*** Bug 2027369 has been marked as a duplicate of this bug. ***