Bug 2186763

Summary: The storageclass option is not respected in add volume modal for "Use existing volume"
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.13.0CC: aturgema, gouyang, ycui
Target Milestone: ---   
Target Release: 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2187437 (view as bug list) Environment:
Last Closed: 2023-11-08 14:05: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:    
Bug Blocks: 2187437    
Attachments:
Description Flags
volume sc none

Description Guohua Ouyang 2023-04-14 11:34:57 UTC
Created attachment 1957468 [details]
volume sc

Description of problem:
Try to add a bootable volume, select "use existing volume" and select a different storageclass from this volume, after the volume is created, the storageclass is not the one which is selected in the modal.

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


How reproducible:


Steps to Reproduce:
1. open "add volume" modal
2. select "use existing volume"
3. select a pvc, eg which has storage class "hostpath-csi-basic"
4. select the storage class option "ocs-storagecluster-ceph-rbd"
5. create the volume

Actual results:
The storageClass of the created volume is "hostpath-csi-basic"

Expected results:
The SC of the created volume is "ocs-storagecluster-ceph-rbd" as it's the selected option.

Additional info:

Comment 1 Guohua Ouyang 2023-04-18 02:27:11 UTC
verified on kubevirt-console-plugin-rhel9-container-v4.14.0-954

Comment 3 errata-xmlrpc 2023-11-08 14:05: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 Virtualization 4.14.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-2023:6817