Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1992580

Summary: storageProfile should stay with the same value by check/uncheck the apply button
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Leon Kladnitsky <lkladnit>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.9CC: aos-bugs, aturgema, gouyang, ycui, yzamir
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:05:09 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:
Attachments:
Description Flags
storageProfile values none

Description Guohua Ouyang 2021-08-11 11:14:01 UTC
Created attachment 1813077 [details]
storageProfile values

Description of problem:
On storageProfile setting, check/uncheck the apply button got different values for storageClass OCS, it should stay with the same value.

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

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Guohua Ouyang 2021-08-11 11:15:29 UTC
For OCS, the optimize value is RWX/Block, uncheck the apply button, it should be RWX/Block as well.

Comment 2 Yaacov Zamir 2021-08-17 05:47:07 UTC
Expected results:

In cases a storage profile is available and the checkbutton for "apply optimization" is active.

1. the apply optimization is checked when form is first deisplayed
2. when user un-check the "apply optimization" values of access and volume modes radio buttons are set to the optimized values
3. when user check the "apply optimization" values of access and volume modes radio buttons of are set to the optimized values, and they are hidden.

In cases a storage profile is not available and the checkbutton for "apply optimization" is not active.

1. values of access and volume modes radio buttons default to rwo/filesystem, until user set other value.

Guohua, is this the correct expected results ?

Comment 3 Guohua Ouyang 2021-08-19 03:56:24 UTC
(In reply to Yaacov Zamir from comment #2)
> Expected results:
> 
> In cases a storage profile is available and the checkbutton for "apply
> optimization" is active.
> 
> 1. the apply optimization is checked when form is first deisplayed
> 2. when user un-check the "apply optimization" values of access and volume
> modes radio buttons are set to the optimized values
> 3. when user check the "apply optimization" values of access and volume
> modes radio buttons of are set to the optimized values, and they are hidden.
> 
> In cases a storage profile is not available and the checkbutton for "apply
> optimization" is not active.
> 
> 1. values of access and volume modes radio buttons default to
> rwo/filesystem, until user set other value.
> 
> Guohua, is this the correct expected results ?

Yes, exactly.

In the video, the optimized values for storageClass OCS is RWX and block, check or uncheck the "apply optimization" button should always get RWX and block.

Comment 6 Leon Kladnitsky 2022-01-02 12:13:49 UTC
Verified on master/4.10.0-0.ci-2021-12-23-133912

Comment 10 errata-xmlrpc 2022-03-10 16:05:09 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 Container Platform 4.10.3 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:0056