Bug 1585990 - Empty cluster from upgraded 4.1 engine does not have Cluster CPU Type set
Summary: Empty cluster from upgraded 4.1 engine does not have Cluster CPU Type set
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Infra
Version: 4.2.4
Hardware: All
OS: All
Target Milestone: ovirt-4.2.4
: ---
Assignee: Eli Mesika
QA Contact: Lucie Leistnerova
: 1554377 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2018-06-05 09:03 UTC by Lukas Svaty
Modified: 2018-06-26 08:39 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-06-26 08:39:34 UTC
oVirt Team: Infra
rule-engine: ovirt-4.2+
rule-engine: blocker+

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
oVirt gerrit 91968 0 master MERGED core: correct empty cpu type 2018-06-06 10:09:12 UTC
oVirt gerrit 91980 0 ovirt-engine-4.2 MERGED core: fix cpu flag validation 2018-06-13 07:27:12 UTC
oVirt gerrit 92049 0 master MERGED core: fix cpu flag validation 2018-06-12 12:07:32 UTC
oVirt gerrit 92227 0 None None None 2018-06-14 12:40:58 UTC
oVirt gerrit 92317 0 ovirt-engine-4.2 ABANDONED core: correct empty cpu type 2018-06-18 07:13:38 UTC
oVirt gerrit 92323 0 ovirt-engine-4.2 MERGED core: correct empty cpu type 2018-06-18 11:40:23 UTC

Description Lukas Svaty 2018-06-05 09:03:09 UTC
Description of problem:
When 4.1 engine with empty default datacenter is upgraded, Default datacenter keeps empty value for Cluster CPU Type which leads to fail of upgrade of the cluster to 4.2 version. During the upgrade process of 4.1 to 4.2 all empty Cluster CPU Types should be set to "Auto Detect"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Have 4.1 engine with empty cluster Default
2. Upgrade to 4.2 engine
3. Check Cluster CPU type of Default cluster (empty string)
4. Try to upgrade to 4.2 cluster compatibility version

Actual results:
08:44:21 2018-06-02 08:44:21,329 ERROR Result: FAILED
08:44:21 2018-06-02 08:44:21,330 ERROR  ERR: Failed to update element NOT as expected:
08:44:21 	Status: 400
08:44:21 	Reason: Bad Request
08:44:21 	Detail: [Cannot edit Cluster. The chosen CPU is not supported.]

Expected results:
Should succeed

Comment 1 Lukas Svaty 2018-06-05 09:19:21 UTC
This issue has WA in Automation -> 137646
For verification it would be sufficient to revert this patch.

Comment 3 Michal Skrivanek 2018-06-12 11:27:24 UTC
*** Bug 1554377 has been marked as a duplicate of this bug. ***

Comment 4 Martin Perina 2018-06-14 12:37:58 UTC
Moving back to POST as we have reverted the fix

Comment 5 Eyal Edri 2018-06-17 08:29:51 UTC
Does this means the original fix will be postponed now to 4.2.5?

Comment 6 Martin Perina 2018-06-18 12:11:00 UTC
Merged to 4.2

Comment 7 Lucie Leistnerova 2018-06-25 15:22:58 UTC
After upgrade engine 4.1 -> 4.2.4, CPU type is loaded in cluster's dialog automatically or is set by host upgrade from the engine.
And update of compatibility version was successful.

verified in ovirt-engine-

Comment 8 Sandro Bonazzola 2018-06-26 08:39:34 UTC
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018.

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