Bug 1960559
| Summary: | Remove v1beta1 handling code | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Vadim Rutkovsky <vrutkovs> |
| Component: | Cluster Version Operator | Assignee: | Vadim Rutkovsky <vrutkovs> |
| Status: | CLOSED ERRATA | QA Contact: | liujia <jiajliu> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.8 | CC: | aos-bugs, jiajliu, jokerman, lmohanty |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:31:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Vadim Rutkovsky
2021-05-14 08:36:57 UTC
OCP:4.8.0-0.nightly-2021-06-01-190440 We still have the warning of CustomResourceDefinition. # ./oc -n openshift-cluster-version logs cluster-version-operator-b5c9d66f9-vjr7t |grep "warnings.go*apiextensions.k8s.io/v1beta1" [root@dhcp-136-4 oc48]# ./oc -n openshift-cluster-version logs cluster-version-operator-b5c9d66f9-vjr7t |grep "warnings\.go.*apiextensions.k8s.io/v1beta1" W0602 00:26:52.504616 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition W0602 00:30:03.727335 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition W0602 00:33:46.475113 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition This change didn't go in 4.8 (afaik there is still some component using v1beta1). It landed in 4.9 though: * picked 4.9 nightly from CI - https://amd64.ocp.releases.ci.openshift.org/releasestream/4.9.0-0.nightly/release/4.9.0-0.nightly-2021-06-22-005403 * Checked CVO logs from AWS verification job - https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.9-e2e-aws/1407160036030943232: ``` $ curl -Ls https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.9-e2e-aws/1407160036030943232/artifacts/e2e-aws/gather-extra/artifacts/pods/openshift-cluster-version_cluster-version-operator-685f9f9fb4-x5znf_cluster-version-operator.log |grep "warnings.go*apiextensions.k8s.io/v1beta1" <exit code 1> $ curl -Ls https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.9-e2e-aws/1407160036030943232/artifacts/e2e-aws/gather-extra/artifacts/pods/openshift-cluster-version_cluster-version-operator-685f9f9fb4-x5znf_cluster-version-operator_previous.log |grep "warnings.go*apiextensions.k8s.io/v1beta1" <exit code 1> ``` Version:4.9.0-0.nightly-2021-06-22-193627 # ./oc -n openshift-cluster-version logs cluster-version-operator-647fc46fb8-lscj8 |grep "warnings.go*apiextensions.k8s.io/v1beta1"|wc -l 0 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.9.0 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:3759 |