Bug 2014640 - Cannot change storage class of boot disk when cloning from template
Summary: Cannot change storage class of boot disk when cloning from template
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks: 2042843 2049762
TreeView+ depends on / blocked
 
Reported: 2021-10-15 16:59 UTC by Adam Litke
Modified: 2023-09-15 01:36 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2042843 (view as bug list)
Environment:
Last Closed: 2022-08-10 10:38:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rootdisk storageClass (1.78 MB, image/gif)
2021-11-17 07:50 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10992 0 None Merged Bug 2014640: Cannot change storage class of boot disk when creating VM 2022-02-15 12:49:31 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:38:47 UTC

Description Adam Litke 2021-10-15 16:59:45 UTC
Description of problem: When cloning a Virtual Machine from a template, if I edit the boot disk and change the storage class, the change is reverted when I dismiss the dialog.


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


How reproducible: Always


Steps to Reproduce:
1. Create VM from wizard
2. Select a Template with an available boot source
3. Click "Customize Virtual Machine" and navigate to the storage page
4. Edit the rootdisk: change the storage class and click Save

Actual results: The disk is not changed


Expected results: The change should be apparent in the list of disks


Additional info: This only seems to happen if "Apply optimized StorageProfile settings" is checked

Comment 1 Guohua Ouyang 2021-10-19 05:57:02 UTC
This only happens with a template with boot source available, if the template has no boot source, change disk storageClass works.

Comment 2 Adam Litke 2021-11-11 16:48:47 UTC
I noticed that this issue is also happening when creating a new VM with no boot source.  This is a pretty severe regression in my opinion.  Bumping severity.  Will you target it please?

Comment 3 Yaacov Zamir 2021-11-16 12:21:13 UTC
target to 4.10 and updated priorities, thanks

Comment 4 Guohua Ouyang 2021-11-17 07:50:08 UTC
Created attachment 1842265 [details]
rootdisk storageClass

I still only see this issue when the template has no boot source on OCP 4.9.6.

Comment 5 Gilad Lekner 2021-12-30 11:32:00 UTC
Cannot reproduce, I tried with both source and sourceless templates.
please provide more info

Comment 6 Yaacov Zamir 2022-01-19 19:05:08 UTC
Tal hi, this is a high severity issue, can you help with blocker +/- ?

Comment 7 Yaacov Zamir 2022-01-19 19:06:20 UTC
setting to blocker- because we can't reproduce on 4.10

Comment 8 Guohua Ouyang 2022-01-19 23:26:19 UTC
Just tested the bug still exists in 4.9.15, but not in 4.10.

Comment 9 Yaacov Zamir 2022-01-20 07:39:40 UTC
Moving the 4.10 but to verified,

Guohua, Tal, do we need to fix on 4.9.z ?

If we do, we need to clone this bug to 4.9.z

p.s.
we need this 4.10 bug as verified, o/w we will not be able to merge a backport PR to 4.9.z)

Comment 10 Yaacov Zamir 2022-01-20 07:40:52 UTC
see comment#9

Comment 11 Guohua Ouyang 2022-01-20 08:49:10 UTC
(In reply to Yaacov Zamir from comment #10)
> see comment#9

no problem, let me clone the bug to 4.9.z

Comment 12 Guohua Ouyang 2022-01-20 08:51:28 UTC
bug for 4.9.z: https://bugzilla.redhat.com/show_bug.cgi?id=2042843

Comment 13 Aviv Turgeman 2022-02-01 07:36:25 UTC
I've managed to reproduce for 4.10 as well,
steps:
1. select any template, and add a boot source and wait for it
2. Create VM from wizard
3. Select a Template with an available boot source
4. Click "Customize Virtual Machine" and navigate to the storage page
5. Edit the rootdisk: change the storage class and click Save

this bug is not reproducing for auto-images as boot source,
moving back to ASSIGNED

Comment 16 Leon Kladnitsky 2022-02-09 20:16:02 UTC
Verified on master/4.10.0-0.nightly-2022-02-06-194614

Comment 17 Ying Cui 2022-02-15 01:48:26 UTC
Changing status back to ON_QA as the bug target version is 4.11.0, we need to verify the bug on OCP 4.11.0. And for 4.10.0 bug, it is the bug 2049762 in POST right now.

Comment 18 Ying Cui 2022-02-15 01:53:30 UTC
(In reply to Ying Cui from comment #17)
> Changing status back to ON_QA as the bug target version is 4.11.0, we need
> to verify the bug on OCP 4.11.0. And for 4.10.0 bug, it is the bug 2049762
> in POST right now.

Or is the master the OCP 4.11.0 version? Could you add the accurate version information?

Comment 19 Guohua Ouyang 2022-02-15 02:30:52 UTC
(In reply to Ying Cui from comment #18)
> (In reply to Ying Cui from comment #17)
> > Changing status back to ON_QA as the bug target version is 4.11.0, we need
> > to verify the bug on OCP 4.11.0. And for 4.10.0 bug, it is the bug 2049762
> > in POST right now.
> 
> Or is the master the OCP 4.11.0 version? Could you add the accurate version
> information?

the master is equaling to release-4.11 until 4.11 code freeze, so we're fine to verify 4.11 bugs on master.

Comment 20 Leon Kladnitsky 2022-02-15 19:41:20 UTC
Verified on master, commit 3018969ac7
https://github.com/openshift/console/commit/3018969ac709252572899a60c7835a5660eaff95

Comment 23 errata-xmlrpc 2022-08-10 10:38:21 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 (Important: OpenShift Container Platform 4.11.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-2022:5069

Comment 24 Red Hat Bugzilla 2023-09-15 01:36:36 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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