Bug 1960559

Summary: Remove v1beta1 handling code
Product: OpenShift Container Platform Reporter: Vadim Rutkovsky <vrutkovs>
Component: Cluster Version OperatorAssignee: Vadim Rutkovsky <vrutkovs>
Status: CLOSED ERRATA QA Contact: liujia <jiajliu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: 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
Manifests in 4.8 payload have move to apiextensions v1 and stopped using APIServices. CVO should drop code handling those to minimize code duplication

Comment 1 liujia 2021-06-02 01:43:24 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

Comment 4 liujia 2021-06-23 06:10:29 UTC
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

Comment 7 errata-xmlrpc 2021-10-18 17:31:06 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 (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