Bug 1997014

Summary: Common templates - dataVolumeTemplates API version should be updated
Product: Container Native Virtualization (CNV) Reporter: Ruth Netser <rnetser>
Component: SSPAssignee: Karel Šimon <ksimon>
Status: CLOSED ERRATA QA Contact: Ruth Netser <rnetser>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9.0CC: cnv-qe-bugs, ksimon
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubevirt-ssp-operator-container-v4.9.0-26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 16:00:55 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 Ruth Netser 2021-08-24 08:42:50 UTC
Description of problem:
Common templates - dataVolumeTemplates API version should be updated from:
apiVersion: cdi.kubevirt.io/v1beta1
to:
apiVersion: cdi.kubevirt.io/v1


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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ruth Netser 2021-08-30 09:32:04 UTC
Verified on v4.9.0-23

for i in `oc get template -n openshift -oname| cut -d'/' -f2| grep "centos\|rhel\|fedora\|windo"`; do echo $i; oc get template -n openshift $i -oyaml|grep "cdi.kubevirt.io"; done

All templates have:
    - apiVersion: cdi.kubevirt.io/v1

Comment 2 Ruth Netser 2021-09-01 14:55:33 UTC
@ksimon checked with storage; we need to revert this change

Comment 3 Ruth Netser 2021-09-12 11:24:34 UTC
Verified with SSP operator 4.9.0-27:

for i in `oc get template -n openshift -oname| cut -d'/' -f2| grep "centos\|rhel\|fedora\|windo"`; do echo $i; oc get template -n opecdi.kubevirt.io"; done

all templates have:
    - apiVersion: cdi.kubevirt.io/v1beta1

Comment 6 errata-xmlrpc 2021-11-02 16:00:55 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.9.0 Images security and bug fix 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:4104