Bug 1947785
| Summary: | Cloud Compute: check (see bug 1947801#c4 steps) audit log to find deprecated API access related to this component to ensure this component won't access APIs that trigger APIRemovedInNextReleaseInUse alert | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Stefan Schimanski <sttts> |
| Component: | Cloud Compute | Assignee: | Alexander Demicev <ademicev> |
| Cloud Compute sub component: | Other Providers | QA Contact: | Milind Yadav <miyadav> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aarapov, ademicev, alegrand, anpicker, aos-bugs, erooth, hongyli, juzhao, kakkoyun, kewang, lcosic, mfojtik, pkrupa, surbania, xxia |
| Version: | 4.8 | Keywords: | Reopened |
| Target Milestone: | --- | Flags: | xxia:
needinfo-
|
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1947719 | Environment: | |
| Last Closed: | 2021-07-27 22:58:26 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: | |||
| Bug Blocks: | 1947719 | ||
|
Description
Stefan Schimanski
2021-04-09 09:13:32 UTC
Also: system:serviceaccount:openshift-cluster-version:default: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/credentialsrequests.cloudcredential.openshift.io Cluster version used in validation for attached snap - 4.8.0-0.nightly-2021-04-15-202330 @miyadav, The requests of the BZ https://bugzilla.redhat.com/show_bug.cgi?id=1947785#c0 are gone for the given component, you won't see the related alert in web-console. Checked on latest build - Cluster version is 4.8.0-0.nightly-2021-04-22-225832 Same as snap attached in comment#3 Moved to ASSIGNED Verification steps, you can refer to https://bugzilla.redhat.com/show_bug.cgi?id=1947801#c4 Did a try, refer to https://bugzilla.redhat.com/show_bug.cgi?id=1947801#c4, still some requests can be found for the given component. $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.8.0-0.nightly-2021-04-29-151418 True False 58m Cluster version is 4.8.0-0.nightly-2021-04-29-151418 $ cat dep.json | jq -r '.user.username+": "+.requestURI' | sort | uniq | grep -E 'certificates|validating|cluster-autoscaler-operator' system:serviceaccount:openshift-cluster-version:default: /apis/rbac.authorization.k8s.io/v1beta1/namespaces/openshift-machine-api/rolebindings/cluster-autoscaler-operator system:serviceaccount:openshift-cluster-version:default: /apis/rbac.authorization.k8s.io/v1beta1/namespaces/openshift-machine-api/roles/cluster-autoscaler-operator system:serviceaccount:openshift-machine-api:cluster-autoscaler-operator: /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations?allowWatchBookmarks=true&resourceVersion=39696&timeoutSeconds=503&watch=true Thanks Ke Wang for checking . Version used - Cluster version is 4.8.0-0.ci-2021-05-19-015601 Not seeing any cluster-autoscaler-operator apis , but still seeing cloudcredential one [miyadav@miyadav ~]$ cat dep.json | jq -r '.user.username+": "+.requestURI' | sort | uniq | grep cloud system:serviceaccount:openshift-cluster-version:default: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/credentialsrequests.cloudcredential.openshift.io . . . [miyadav@miyadav ~]$ cat dep.json | jq -r '.user.username+": "+.requestURI' | sort | uniq | grep -E 'certificates|validating|cluster-autoscaler-operator' [miyadav@miyadav ~]$ Please take a look .. not sure if that is already tracked .. Followed the steps as mentioned by Ke Wang comment . Cloud credential is under a different component, Milind if you have the full list there without grep I can take a look to make sure we've covered everything this team Looking at the original list, anything with `cluster-machine-approver` or `cluster-autoscaler-operator` would be a failure, if those are all gone we should be good. Thanks @Joel . There cluster-machine-approver and cluster-autoscaler-operator arent there . Here is the file - https://url.corp.redhat.com/dep If it looks good , will move this to VERIFIED . Yep, looks like we've got our part covered, please move to verified Hi miyadav, the results looks good. 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438 |