Bug 2107898

Summary: The accessMode and volumeMode are wrong in customize wizard if the default SC is OCS
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Matan Schatzman <mschatzm>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.10CC: gouyang, lkladnit, tnisan
Target Milestone: ---   
Target Release: 4.10.z   
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-10-12 08:51:28 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:
Bug Depends On: 2102302    
Bug Blocks:    
Attachments:
Description Flags
rwo none

Description Guohua Ouyang 2022-07-17 12:52:07 UTC
Created attachment 1897808 [details]
rwo

Description of problem:
Set the cluster default storageClass to OCS and then create a vm from a template which has auto-update boot source, the accessMode and volumeMode are wrong in customize wizard.

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


How reproducible:


Steps to Reproduce:
1. set cluster SC to OCS
2. select a template which has auto-update boot source
3. create vm from the template via customize wizard

Actual results:
The accessMode is RWO and volumeMode are empty

Expected results:
The accessMode is RWX and volumeMode are block

Additional info:

Comment 1 Guohua Ouyang 2022-07-20 00:44:05 UTC
to fix the problem, it should ignore what're used by the source, it should use the current storageProfile which is selected on UI.

Comment 7 Leon Kladnitsky 2022-10-06 07:09:49 UTC
Verified on 4.10.6

Comment 9 errata-xmlrpc 2022-10-12 08:51:28 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.10.36 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:6805