Bug 1964483 - openshift-virtualization is still shipping CRDs defined as apiextensions.k8s.io/v1beta1 in its bundle
Summary: openshift-virtualization is still shipping CRDs defined as apiextensions.k8s....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 4.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.8.0
Assignee: Simone Tiraboschi
QA Contact: Satyajit Bulage
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-25 15:19 UTC by Simone Tiraboschi
Modified: 2021-07-27 14:33 UTC (History)
5 users (show)

Fixed In Version: hco-bundle-registry-container-v4.8.0-360
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 14:32:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt hyperconverged-cluster-operator pull 1353 0 None closed migrate *.v2v.kubevirt.io CRDs to apiextensions.k8s.io/v1 2021-05-26 11:35:20 UTC
Github kubevirt hyperconverged-cluster-operator pull 1361 0 None closed Bump NMO to v0.9.0 2021-05-26 11:35:18 UTC
Github kubevirt hyperconverged-cluster-operator pull 1362 0 None closed [release-1.4] Bump NMO to v0.9.0 2021-05-26 11:36:33 UTC
Github kubevirt hyperconverged-cluster-operator pull 1366 0 None closed [release-1.4] migrate *.v2v.kubevirt.io CRDs to apiextensions.k8s.io/v1 2021-05-26 19:14:18 UTC
Red Hat Product Errata RHSA-2021:2920 0 None None None 2021-07-27 14:33:20 UTC

Description Simone Tiraboschi 2021-05-25 15:19:31 UTC
Description of problem:
openshift-virtualization is still shipping CRDs defined as apiextensions.k8s.io/v1beta1 in its bundle,
apiextensions.k8s.io/v1beta1 are already deprecated and they are going to be removed in OCP 4.9.
In order to save the upgrade path to OCP 4.9 they should be addressed before OCP 4.9 so on 4.8.z.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Check all the CRD in openshift-virtualization bundle
2.
3.

Actual results:

$ grep -R apiextensions.k8s.io/v1beta1 -A 3
manifests/hco01.crd.yaml:apiVersion: apiextensions.k8s.io/v1beta1
manifests/hco01.crd.yaml-kind: CustomResourceDefinition
manifests/hco01.crd.yaml-metadata:
manifests/hco01.crd.yaml-  name: v2vvmwares.v2v.kubevirt.io
--
manifests/hco02.crd.yaml:apiVersion: apiextensions.k8s.io/v1beta1
manifests/hco02.crd.yaml-kind: CustomResourceDefinition
manifests/hco02.crd.yaml-metadata:
manifests/hco02.crd.yaml-  name: ovirtproviders.v2v.kubevirt.io
--
manifests/node-maintenance00.crd.yaml:apiVersion: apiextensions.k8s.io/v1beta1
manifests/node-maintenance00.crd.yaml-kind: CustomResourceDefinition
manifests/node-maintenance00.crd.yaml-metadata:
manifests/node-maintenance00.crd.yaml-  name: nodemaintenances.nodemaintenance.kubevirt.io


Expected results:
no apiextensions.k8s.io/v1beta1 CRDs

Additional info:

Comment 1 Inbar Rose 2021-05-31 08:13:59 UTC
we expect to see this version: 
apiVersion: apiextensions.k8s.io/v1

Comment 7 Satyajit Bulage 2021-06-11 12:18:59 UTC
Verifying BZ.

Comment 10 errata-xmlrpc 2021-07-27 14:32: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 Virtualization 4.8.0 Images), 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:2920


Note You need to log in before you can comment on or make changes to this bug.