Bug 1947793
Summary: | DevEx: APIRemovedInNextReleaseInUse info alerts display | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Stefan Schimanski <sttts> | ||||
Component: | openshift-controller-manager | Assignee: | Corey Daley <cdaley> | ||||
openshift-controller-manager sub component: | build | QA Contact: | wewang <wewang> | ||||
Status: | CLOSED ERRATA | Docs Contact: | |||||
Severity: | high | ||||||
Priority: | high | CC: | adam.kaplan, alegrand, anpicker, aos-bugs, erooth, hongyli, juzhao, kakkoyun, kewang, lcosic, mfojtik, pkrupa, surbania, xxia | ||||
Version: | 4.8 | Keywords: | Reopened | ||||
Target Milestone: | --- | ||||||
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 | ||||||
: | 1955100 (view as bug list) | Environment: | |||||
Last Closed: | 2021-07-27 22:58:29 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 | ||||||
Attachments: |
|
Description
Stefan Schimanski
2021-04-09 09:30:14 UTC
Now cluster-bot failed to install the cluster with "invalid configuration: you must define at least one test or image build in 'tests' or 'images'" Launched a cluster with cluster-bot, no DeprecatedAPIInUse info alerts display now. Version: 4.8.0-0.ci.test-2021-04-19-061514-ci-ln-q7sscsb The bug still not verify it automatically, will do it manually. 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. Verification steps, you can refer to https://bugzilla.redhat.com/show_bug.cgi?id=1947801#c4 $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.8.0-0.nightly-2021-04-28-090319 True False 81m Cluster version is 4.8.0-0.nightly-2021-04-28-090319 $ masters=$(oc get no -l node-role.kubernetes.io/master | sed '1d' | awk '{print $1}') $ oc adm node-logs $masters --path=kube-apiserver/audit.log --raw | grep -e '"k8s.io/removed-release":"1.22"' | tee dep.json $ cat dep.json | jq -r '.user.username+": "+.requestURI' | sort | uniq | grep -E 'builds|configs.samples' system:serviceaccount:openshift-cluster-version:default: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/configs.samples.operator.openshift.io There are still requests of configs.samples.operator.openshift.io v1beta1 in audit.log, so I think the bug was not fixed completely, so assign back. I've opened Bug #1955100 to address the samples operator config CRD. For this scope of this bug, please re-verify that the alert is not present for the builds.config.openshift.io custom resource. Verified in version: 4.8.0-0.nightly-2021-04-29-151418 From console and executed commands according Comment 6, no alert from build.config.openshift.io custom resoure. Created attachment 1777542 [details]
alert page
Actually, there is one bug 1949593 - rename DeprecatedAPIInUse alert to APIRemovedInNextReleaseInUse, so you cannot see the name DeprecatedAPIInUse alert from UI, caused this alert firing, because there are some requests from /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/configs.samples.operator.openshift.io of this BZ component. Oh, yes i can see APIRemovedInNextReleaseInUse in alert ui, about alert for builds.config.openshift.io custom resource, I execute commands according comments 6, no result now, do you think if it can be verified the bug? @kewang, thanks @wewang, yes, no longer see the requests of this BZ component, it is fixed. 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 |