Bug 2097586 - AccessMode should stay on ReadWriteOnce while editing a disk with storage class HPP
Summary: AccessMode should stay on ReadWriteOnce while editing a disk with storage cla...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.12.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks: 2101192
TreeView+ depends on / blocked
 
Reported: 2022-06-16 04:14 UTC by Guohua Ouyang
Modified: 2022-09-14 19:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2101192 (view as bug list)
Environment:
Last Closed: 2022-09-14 19:35:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
accessmode (1.58 MB, application/octet-stream)
2022-06-23 01:53 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 632 0 None open Bug 2097586: AccessMode should stay on ReadWriteOnce 2022-06-16 13:03:56 UTC
Github kubevirt-ui kubevirt-plugin pull 652 0 None open Bug 2097586: fix storage profile settings checkbox 2022-06-21 12:31:30 UTC
Github kubevirt-ui kubevirt-plugin pull 670 0 None open Bug 2097586: fix storage profile settings checkbox 2022-06-26 11:28:59 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:36:07 UTC

Description Guohua Ouyang 2022-06-16 04:14:00 UTC
Description of problem:
Currently, while editing the boot source of a cloned template, the accessMode is ReadWriteMany in the opened modal, user may not notice it and then saved, which causes unexpected results. 


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


How reproducible:


Steps to Reproduce:
1. clone a template
2. edit the bootsource of this cloned template
3.

Actual results:
the default access mode is RWX

Expected results:
the default access mode is RWO

Additional info:

Comment 1 Guohua Ouyang 2022-06-16 04:28:48 UTC
The optimized StorageProfile settings should be applied while editing the disk in all places.

Comment 2 Guohua Ouyang 2022-06-20 08:51:34 UTC
"Apply optimized StorageProfile settings" is checked while adding a new disk,
But not checked while editing a existing disk

Comment 3 Guohua Ouyang 2022-06-23 01:53:59 UTC
Created attachment 1892016 [details]
accessmode

Comment 4 Guohua Ouyang 2022-06-23 01:58:54 UTC
Now the "Apply optimized StorageProfile settings" is checked by default, which is very good as it ensures no unexpected results will happen.

But there is still a UI here, it shows "ReadWriteMany" for HPP in the disk modal, which should be "ReadWriteOnce".
If we check the disk attributes after the disk is created, it's actually "ReadWriteOnce", that should be the work of "Apply optimized StorageProfile settings".

Comment 5 Guohua Ouyang 2022-07-27 03:58:23 UTC
verified on v4.12.0-88

Comment 9 errata-xmlrpc 2022-09-14 19:35:59 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 Virtualization 4.11.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-2022:6526


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