Bug 1661888

Summary: Cluster compatibility version could not be updated by UI.
Product: [oVirt] ovirt-engine Reporter: Polina <pagranat>
Component: Frontend.UserPortalAssignee: Shmuel Melamud <smelamud>
Status: CLOSED NOTABUG QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: bugs, michal.skrivanek, pagranat, ratamir, rbarry
Target Milestone: ovirt-4.3.2Flags: rule-engine: ovirt-4.3+
rule-engine: blocker+
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-21 13:33:35 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 Flags
screenshot none

Description Polina 2018-12-24 09:08:36 UTC
Created attachment 1516484 [details]
screenshot

Description of problem: Cluster compatibility version could not be updated by UI. 

Version-Release number of selected component (if applicable):
ovirt-engine-setup-4.3.0-0.4.master.20181214144448.gitddbcecc.el7.noarch

How reproducible:100%

Steps to Reproduce:
1. Enter Compute/Datacenters window and choose DC. 
2. Enter Cluster tab. Change the compatibility version in Edit window.
3. Sent GET https://hosted-engine-infra-02.lab.eng.tlv2.redhat.com/ovirt-engine/api/clusters

Actual results:
In Clusters tab it is still shown with 4.3. (please see attached screenshot)
GET Rest API also returns version 4.3
       <version>
            <major>4</major>
            <minor>3</minor>
        </version>

Expected results: updated version 


Additional info:

Comment 1 Ryan Barry 2018-12-25 00:27:22 UTC
Is there a pending change on the cluster requiring hosts to be put into maintenance?

Comment 2 Polina 2018-12-25 15:31:04 UTC
no, there is no pending change on cluster

Comment 3 Michal Skrivanek 2019-01-03 11:23:12 UTC
change to what? from 4.3 to 4.2? does it have any VMs or is it a completely empty cluster?

Comment 4 Polina 2019-01-06 07:05:26 UTC
change from 4.3 to 4.2

The setup has three hosts, template , SDs , 6 VMs created from the template.

https://compute-ge-6.scl.lab.tlv.redhat.com/ovirt-engine/webadmin/?locale=en_US#dataCenters-clusters;name=golden_env_mixed

Comment 5 Ryan Barry 2019-01-21 13:34:21 UTC
Re-targeting, because these bugs either do not have blocker+, or do not have a patch posted

Comment 6 Michal Skrivanek 2019-02-21 13:33:35 UTC
it needs to be an empty cluster if you want to go back to earlier version. We do not support downgrades otherwise