Bug 1907471

Summary: SSP upgrade: golden images PVC name should be seamlessly replaced
Product: Container Native Virtualization (CNV) Reporter: Ruth Netser <rnetser>
Component: SSPAssignee: Dominik Holler <dholler>
Status: CLOSED WONTFIX QA Contact: Israel Pinto <ipinto>
Severity: medium Docs Contact: Ruth Netser <rnetser>
Priority: high    
Version: 2.6.0CC: cnv-qe-bugs, fdeutsch
Target Milestone: ---   
Target Release: future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-02 12:21:40 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 2020-12-14 15:08:22 UTC
Description of problem:
Fedora golden image name was replaced in bug 1897081 (fedora32->fedora).
During an upgrade, if there's an existing PVC named "fedora32" in openshift-virtualization-os-images namespace, the PVC should be cloned and named "fedora".
If there's an existing PVC named "fedora" in openshift-virtualization-os-images, no action should be taken.

Version-Release number of selected component (if applicable):
CNV 2.5.x -> 2.6 upgrade.

How reproducible:
100%

Steps to Reproduce:
1. On CNV 2.5.z (prior to 2.5.2), create a fedora golden image
2. Upgrade to 2.6
3. Verify that the golden image PVC was cloned and "fedora" PVC also exists under openshift-virtualization-os-images namespace.

Actual results:


Expected results:


Additional info:

Comment 1 Omer Yahud 2021-01-06 15:34:48 UTC
Pushing to 2.7, created a doc bug for 2.6 to document the workaround https://bugzilla.redhat.com/show_bug.cgi?id=1913352

Comment 4 Ruth Netser 2022-02-02 12:21:40 UTC
As of CNV 4.10.0, common templates use DataSources, underlying PVCs can be seamlessly replaced.
Closing.