Bug 1715287
Summary: | VM starts with UEFI+pc-q35-rhel7.6.0 XML when configuring UEFI bios type+pc-i440fx-rhel7.6.0 in WEB UI | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | jiyan <jiyan> | ||||||||||
Component: | BLL.Virt | Assignee: | Lucia Jelinkova <ljelinko> | ||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nisim Simsolo <nsimsolo> | ||||||||||
Severity: | low | Docs Contact: | |||||||||||
Priority: | low | ||||||||||||
Version: | 4.3.3.7 | CC: | ahadas, bugs, ljelinko, michal.skrivanek, nsimsolo | ||||||||||
Target Milestone: | ovirt-4.4.5 | Flags: | pm-rhel:
ovirt-4.4+
|
||||||||||
Target Release: | --- | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | ovirt-engine-4.4.5.6 | Doc Type: | If docs needed, set a value | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2021-03-18 15:15:18 UTC | Type: | Bug | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
jiyan
2019-05-30 02:38:01 UTC
Created attachment 1575040 [details]
engine log
Created attachment 1575041 [details]
UI conf png
Created attachment 1575042 [details]
vm dumpxml
Modify the info in step1 in bug description: The UI conf can be seen in attachment "UI conf png" Let's block pc machine types in the UI (or in validation) when Q35 is used What do you mean block? Itks an override, pretty low level, and the problem is just cosmetic - that when you do not want any override we show the cluster default, which is actually overwritten by bios type setting. We can also just not show the cluster default, or ignore this issue entirely What I mean is adding granularity. Sure, it boots and works. But we already don't show machine types for different architectures, and on onChange event to limit Q35 machine types isn't that bad. most of the machine types don't really work with the config we have. The problem is really just with what it shows in the UI - "Custom Emulated Machine: Use cluster default(pc-i440fx-rhel7.6.0)" that it's not true when you select q35 as we mangle the cluster default to q35. it's not necessarily a simple swap, see EmulatedMachineUtils. We can try to call the same thing here and show the real resulting machine type Ok, you convinced me still worth showing the right thing in the dialog:) I think it was fixed in the meantime, wasn't it? Created attachment 1671433 [details]
Screenshot from 2020/03/17 master
I do not think it has been fixed - the VM dialog looks the same to me (see the attached screenshot) I do not think we should change the value of cluster default displayed to the user. One would expect that the field contains the real db value not a calculated one. What about a warning when user clicks OK on the Edit VM dialog? A warning works for me now we have "two cluster defaults", so we can show the correct one in the custom machine type field I suppose, depending on effective bios type Lucia, was it addressed by https://gerrit.ovirt.org/c/110751 ? Ah no, this one is about machine type - not the chipset type After taking another look at this issue I do agree with Michal - showing cluster default in the VM popup dialog is confusing as a user might expect that the value would be used directly. However, the actual effective emulated machine is calculated when the vm is started and might be different. Simply not showing the cluster value should prevent such a confusion. Verified: ovirt-engine-4.4.5.6-0.11.el8ev vdsm-4.40.50.6-1.el8ev.x86_64 libvirt-daemon-6.6.0-13.module+el8.3.1+9548+0a8fede5.x86_64 qemu-kvm-5.1.0-20.module+el8.3.1+9918+230f5c26.x86_64 Verification scenario: Verify cluster default + (chipset and BIOS) is listed correctly in edit VM dialog -> system tab. 1. Set cluster default to i440fx chipset with BIOS. 2. Open edit VM dialog -> system -> "custom chipse/Firmware type" and verify "cluster default (i440fx chipset with BIOS" is listed in the dropbox. 3. repeat steps 1-2 for other custom chipset/firmware types which are available to set as cluster default. This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.5 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |