Bug 2107898 - The accessMode and volumeMode are wrong in customize wizard if the default SC is OCS
Summary: The accessMode and volumeMode are wrong in customize wizard if the default SC...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.z
Assignee: Matan Schatzman
QA Contact: Guohua Ouyang
Depends On: 2102302
TreeView+ depends on / blocked
Reported: 2022-07-17 12:52 UTC by Guohua Ouyang
Modified: 2022-10-12 08:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-10-12 08:51:28 UTC
Target Upstream Version:

Attachments (Terms of Use)
rwo (928.81 KB, application/octet-stream)
2022-07-17 12:52 UTC, Guohua Ouyang
no flags Details

System ID Private Priority Status Summary Last Updated
Github openshift console pull 11907 0 None Merged Bug 2107898: Access mode and volume mode with sourceRef will now be taken from default storageclass 2022-10-06 07:07:19 UTC
Red Hat Product Errata RHSA-2022:6805 0 None None None 2022-10-12 08:51:49 UTC

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

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.


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