Bug 1838439 - After editing 4.2 cluster properties it isn't possible to create 4.2 VM in the cluster
Summary: After editing 4.2 cluster properties it isn't possible to create 4.2 VM in th...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.4.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.4.1
: ---
Assignee: Steven Rosenberg
QA Contact: Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-21 07:29 UTC by Tamir
Modified: 2020-08-17 16:37 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.4.1.4
Doc Type: Bug Fix
Doc Text:
Previously, in the beta version of RHV 4.4, after adding a host to a cluster with compatibility version 4.2, editing the cluster reset its *BIOS Type* from the previous automatically detected value to *Cluster default*. As a result, virtual machines could not run because a *Chip Set* does not exist for *Cluster Default*. The current release fixes this issue. It preserves the original value of *BIOS Type* and prevents it from being modified when you edit the cluster. As a result, you can create and run virtual machines normally after editing cluster properties.
Clone Of:
Environment:
Last Closed: 2020-07-08 08:26:18 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+
pm-rhel: devel_ack+


Attachments (Terms of Use)
Added logs from engine and vdsm (1.80 MB, application/zip)
2020-05-21 07:29 UTC, Tamir
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 109283 0 master MERGED WebAdmin: Overriding incorrect Bios Type 2020-12-22 12:40:14 UTC

Description Tamir 2020-05-21 07:29:19 UTC
Created attachment 1690539 [details]
Added logs from engine and vdsm

Description of problem:
After editing a 4.2 cluster (even when i didn't change any setting) and saving the changes, it isn't possible to create a 4.2 VM in that cluster. When I try to create the VM (After filling at least the name field in it and saving it) I can't proceed (After pressing OK, the window doesn't close).

In the engine log there is a NullPointerException exception in IsVmTemplateConflictsWithChipsetQuery.executeQueryCommand.

Version-Release number of selected component (if applicable):
RHV 4.4.0-36 with RHEL 8.2 installed on both engine and host

How reproducible:
100%

Steps to Reproduce:
1. Create a 4.2 compatibility data center and cluster, add a host and create and attach a data domain.
2. Edit the cluster (you don't have to change any settings) and save (press OK)
3. Try to create a VM on the same cluster (You can only write the VM name and press Ok)

Actual results:
Two first steps are working. In step 3, I fail to create the VM.

In the browser's console I see the warning: "org.ovirt.engine.ui.frontend.Frontend WARNING: Failure while invoking runQuery [null, ]"

In the engine log there's an error:
"2020-05-21 09:59:20,113+03 ERROR [org.ovirt.engine.core.bll.IsVmTemplateConflictsWithChipsetQuery] (default task-29) [798f32ba-c829-4b47-996e-8087093848ee] Query 'IsVmTemplateConflictsWithChipsetQuery' failed: null
2020-05-21 09:59:20,113+03 ERROR [org.ovirt.engine.core.bll.IsVmTemplateConflictsWithChipsetQuery] (default task-29) [798f32ba-c829-4b47-996e-8087093848ee] Exception: java.lang.NullPointerException
        at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.IsVmTemplateConflictsWithChipsetQuery.executeQueryCommand(IsVmTemplateConflictsWithChipsetQuery.java:26)
"

Expected results:
The VM is created successfully.

Additional info:

Comment 3 RHEL Program Management 2020-06-24 11:05:33 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 5 Sandro Bonazzola 2020-07-08 08:26:18 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 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.


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