Bug 2211266

Summary: Since LUN type is greyed out from UI in OCP version 4.10 and 4.12, we are not able to select LUN type with SCSI interface when adding hotplug
Product: Container Native Virtualization (CNV) Reporter: Kok Hui Lew <kolew>
Component: StorageAssignee: Alexander Wels <awels>
Status: CLOSED MIGRATED QA Contact: dalia <dafrank>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10.0CC: akalenyu, alitke, awels, gouyang, yadu, ycui
Target Milestone: ---   
Target Release: 4.15.0   
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: 2023-12-14 16:15:01 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:
Attachments:
Description Flags
LUN type is greyed out none

Description Kok Hui Lew 2023-05-31 01:49:33 UTC
Created attachment 1967988 [details]
LUN type is greyed out

Description of problem:

Since LUN type is greyed out from UI in OCP version 4.10 and 4.12, we are not able to select LUN type with SCSI interface when adding hotplug

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


How reproducible:


Steps to Reproduce:
1. Create PVC from SAN CSI storageclass
2. Select add button for disk from running VM
3. Select existing PVC, select LUN type and SCSI interface from hotplug

Actual results:

LUN type is greyed out from UI

Expected results:

Selected LUN type and SCSI interface PVC added into running VM

Additional info:

Comment 1 Guohua Ouyang 2023-05-31 05:47:40 UTC
Hot plug is enabled only for "Disk" type with "SCSI" interface if you read the line below the field, that's what the backend supported.

Comment 2 Adam Litke 2023-05-31 12:37:39 UTC
Alexander, could you please check if we can support 'lun' type and 'scsi' bus for hotplugged disks in the backend?

Comment 3 Alexander Wels 2023-06-30 12:53:36 UTC
I think we can support it, needs to be fleshed out a little more in particular what to do when someone selects lun on a non lun volume and things like that.

Comment 4 Adam Litke 2023-08-09 17:56:53 UTC
Alexander, can you please create a jira issue to handle the backend side of the work?  Once that lands, then we can ask the UI to allow this combination.

Comment 5 Alexander Wels 2023-08-17 12:04:05 UTC
Done, created https://issues.redhat.com/browse/CNV-32192