Bug 2187437

Summary: The storageclass option is not respected in add volume modal for "Use existing volume"
Product: Container Native Virtualization (CNV) Reporter: Aviv Turgeman <aturgema>
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.13.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2186763 Environment:
Last Closed: 2023-05-18 02:58:32 UTC Type: ---
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: 2186763    
Bug Blocks:    

Description Aviv Turgeman 2023-04-17 16:48:36 UTC
+++ This bug was initially created as a clone of Bug #2186763 +++

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-21 01:11:49 UTC
verified with kubevirt-console-plugin-rhel9-container-v4.13.0-2551

Comment 3 errata-xmlrpc 2023-05-18 02:58:32 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 Virtualization 4.13.0 Images security, bug fix, and enhancement 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:3205