Bug 1895908

Summary: "virtio" option is not available when modifying a CD-ROM to disk type
Product: OpenShift Container Platform Reporter: Ruth Netser <rnetser>
Component: Console Kubevirt PluginAssignee: Gilad Lekner <glekner>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, glekner, gouyang, ycui, yzamir
Target Milestone: ---   
Target Release: 4.7.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: 2021-02-24 15:31: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:
Attachments:
Description Flags
virtio is available when first entering the "add disk" pop up
none
cd-rom option
none
selected disk, virtio is not available for selection none

Description Ruth Netser 2020-11-09 12:24:17 UTC
Created attachment 1727770 [details]
virtio is available when first entering the "add disk" pop up

Description of problem:
Create a VM/VM template -> "Disks" screen:
If "type" CD_ROM was selected, the allowed interface may be either sata or scsi.
After saving the device and trying to edit the "type" to Disk, "virtio" option is not available.

Version-Release number of selected component (if applicable):
OCP 4.6.1, CNV 2.5

How reproducible:
100%

Steps to Reproduce:
1. Create a VM using the wizard
2. In the "Disks" screen, add a disk
3. Select "CD-ROM" as type and "sata" as interface and save
4. Edit the added device; change the "type" to Disk

Actual results:
"virtio" interface is not available for selection.

Expected results:
"virtio" should be available.

Additional info:
See attached screenshots

Comment 1 Ruth Netser 2020-11-09 12:25:02 UTC
Created attachment 1727771 [details]
cd-rom option

Comment 2 Ruth Netser 2020-11-09 12:25:38 UTC
Created attachment 1727772 [details]
selected disk, virtio is not available for selection

Comment 3 Gilad Lekner 2020-12-13 10:09:53 UTC
AFAIK kubevirt removed support for virtIO for CD-ROMS, another PR removed the virtio option for cdroms so you won't see it in the list now.
Is this sufficient Ruth?

Comment 4 Yaacov Zamir 2020-12-13 10:19:54 UTC
Note:
https://bugzilla.redhat.com/show_bug.cgi?id=1838397 - removed ivrtio as option for cd-roms

Comment 5 Ruth Netser 2020-12-14 07:05:57 UTC
Gilad - the probelm here i sthat virtio is not availabe when choosing cd-rom (and saving) and then changing to disk (which should have virtio option).

Comment 7 Gilad Lekner 2021-01-02 19:29:08 UTC
Clearing NEEDINFO, issue fixed

Comment 10 errata-xmlrpc 2021-02-24 15:31: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 (Moderate: OpenShift Container Platform 4.7.0 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-2020:5633