Bug 1810449
| Summary: | VM Wizard always uses VirtIO for the VM rootdisk regardless what is defined in common-template | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ido Rosenzwig <irosenzw> |
| Component: | Console Kubevirt Plugin | Assignee: | Ido Rosenzwig <irosenzw> |
| Status: | CLOSED ERRATA | QA Contact: | Nelly Credi <ncredi> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.4 | CC: | aos-bugs, gouyang, irosenzw, ncredi, rhrazdil |
| Target Milestone: | --- | ||
| Target Release: | 4.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1803132 | Environment: | |
| Last Closed: | 2020-05-13 22:00:46 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: | 1803132 | ||
| Bug Blocks: | |||
|
Description
Ido Rosenzwig
2020-03-05 09:52:06 UTC
Not fixed on 4.4.0-0.nightly-2020-03-06-170328, will try a new version. It's still not fixed on 4.4.0-rc.4.
Not sure whether I verify it correctly, my steps are:
$ oc get template -n openshift windows-server-large-v0.7.0 -o yaml
the spec.spec.domain.devices is:
devices:
disks:
- disk:
bus: sata
name: rootdisk
Open VM Wizard -> Select Windows OS, Flavor "large" and workprofile "server" ->proceed to Storage section, it's not "sata" but "VirtIO".
Talked with Ido, it needs to modify validations and then to veirfy the bug.
validations: |
[
{
"name": "minimal-required-memory",
"path": "jsonpath::.spec.domain.resources.requests.memory",
"rule": "integer",
"message": "This VM requires more memory.",
"min": 536870912
}, {
"name": "windows-virtio-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "virto disk bus type has better performance, install virtio drivers in VM and change bus type",
"values": ["virtio"],
"justWarning": true
}, {
"name": "windows-disk-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "disk bus has to be either virtio or sata",
"values": ["scsi", "sata"]
}
]
with above validations, it's showing scsi on storage page.
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, 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/RHBA-2020:0581 |