Bug 2049762

Summary: Cannot change storage class of boot disk when cloning from template
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Console Kubevirt PluginAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: urgent Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs, aturgema, cnv-qe-bugs, glekner, gouyang, jaldinge, kbidarka, tnisan, wlewis, ycui, yzamir
Target Milestone: ---Keywords: Regression
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, when cloning a virtual machine from a template, changes the Operator made reverted after dismissing the dialog box if the boot disk was edited and the storage class was changed. With this update, changes made to storage class remain set after closing the dialogue box. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2049762[*BZ#2049762*])
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-25 19:51:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2014640    
Bug Blocks: 2042843    

Comment 1 Guohua Ouyang 2022-02-15 00:07:44 UTC
*** Bug 2054382 has been marked as a duplicate of this bug. ***

Comment 3 Guohua Ouyang 2022-03-01 02:55:45 UTC
The current problem is the volumeMode is not saved properly:
1. while create VM from template has boot source available
2. edit disk on customize wizard
3. change storage class from HPP to OCS
4. on review step, the volumeMode is Filesystem instead of Block

Comment 7 Guohua Ouyang 2022-04-06 03:33:18 UTC
The bug is fixed on 4.10.0-0.nightly-2022-04-05-063640
Steps:
1. reproduced the bug on 4.10.6
2. verified it's fixed on 4.10.0-0.nightly-2022-04-05-063640

Comment 8 Guohua Ouyang 2022-04-06 03:38:51 UTC
(In reply to Guohua Ouyang from comment #3)
> The current problem is the volumeMode is not saved properly:
> 1. while create VM from template has boot source available
> 2. edit disk on customize wizard
> 3. change storage class from HPP to OCS
> 4. on review step, the volumeMode is Filesystem instead of Block

This problem still exists on 4.10.0-0.nightly-2022-04-05-063640, so it's not saved properly.
Move the bug back.

Comment 10 Guohua Ouyang 2022-04-13 08:08:04 UTC
(In reply to Guohua Ouyang from comment #8)
> (In reply to Guohua Ouyang from comment #3)
> > The current problem is the volumeMode is not saved properly:
> > 1. while create VM from template has boot source available
> > 2. edit disk on customize wizard
> > 3. change storage class from HPP to OCS
> > 4. on review step, the volumeMode is Filesystem instead of Block
> 
> This problem still exists on 4.10.0-0.nightly-2022-04-05-063640, so it's not
> saved properly.
> Move the bug back.

The problem does not exist on OCP 4.10.9 any more, move the bug to verified.

Comment 13 errata-xmlrpc 2022-04-25 19:51:43 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 (OpenShift Container Platform 4.10.11 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/RHBA-2022:1431