Bug 1907908 - VM Wizard always uses VirtIO for the VM rootdisk regardless what is defined in common-template
Summary: VM Wizard always uses VirtIO for the VM rootdisk regardless what is defined i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.6.z
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Gilad Lekner
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-15 13:54 UTC by Ruth Netser
Modified: 2021-02-24 15:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:44:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (9.99 KB, image/png)
2020-12-15 13:54 UTC, Ruth Netser
no flags Details
vm yaml shows the rootdisk is virtio when use rhel6 template (5.30 KB, text/plain)
2021-01-07 04:29 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7696 0 None closed Bug 1907908: VM Wizard always uses VirtIO for the VM rootdisk regardless what is defined 2021-01-11 07:00:11 UTC
Github openshift console pull 7746 0 None open Bug 1907908: VM Wizard always uses VirtIO for the VM rootdisk 2021-01-07 13:05:59 UTC
Red Hat Bugzilla 1803132 0 high CLOSED VM Wizard always uses VirtIO for the VM rootdisk regardless what is defined in common-template 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:44:56 UTC

Description Ruth Netser 2020-12-15 13:54:57 UTC
Created attachment 1739339 [details]
screenshot

Description of problem:

VM Wizard seems to always use VirtIO interface for VM rootdisk instead of using interface specified in the common template

Version-Release number of selected component (if applicable):
OCP 4.6.8 CNV 2.5.2

How reproducible:
100%

Steps to Reproduce:
0. Open VM Wizard
1. Select RHEL6 OS, tiny, server
2. proceed to Storage section

Actual results:
rootdisk has default interface VirtIO; see screenshot

Expected results:
The default interface should be selected based on common-template used, which in case of RHEL6 VM should be sata:

          devices:
            disks:
            - disk:
                bus: sata
              name: rootdisk
            - disk:
                bus: sata
              name: cloudinitdisk

Additional info:

Comment 2 Yaacov Zamir 2020-12-27 10:15:05 UTC
merged upstream
https://github.com/openshift/console/pull/7645

Comment 4 Guohua Ouyang 2021-01-04 01:11:56 UTC
There is still one situation is not fixed:
1. select rhel6 template and click customize
2. create vm with defaults in customize mode

The VM rootdisk driver is virtio, not sata.

Comment 6 Guohua Ouyang 2021-01-07 04:29:49 UTC
Created attachment 1745169 [details]
vm yaml shows the rootdisk is virtio when use rhel6 template

Comment 7 Guohua Ouyang 2021-01-07 04:31:08 UTC
(In reply to Guohua Ouyang from comment #4)
> There is still one situation is not fixed:
> 1. select rhel6 template and click customize
> 2. create vm with defaults in customize mode
> 
> The VM rootdisk driver is virtio, not sata.

Still failed.

Comment 11 errata-xmlrpc 2021-02-24 15:44: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


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