Bug 1828944

Summary: Empty cluster update (no change) in HE setup brings error.
Product: [oVirt] ovirt-engine Reporter: Polina <pagranat>
Component: BLL.HostedEngineAssignee: Liran Rotenberg <lrotenbe>
Status: CLOSED CURRENTRELEASE QA Contact: Polina <pagranat>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: bugs, rbarry
Target Milestone: ovirt-4.4.1Keywords: Regression
Target Release: ---Flags: pm-rhel: ovirt-4.4+
pm-rhel: blocker?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-08 08:26:38 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:
Bug Depends On:    
Bug Blocks: 1691562    
Attachments:
Description Flags
engine.log none

Description Polina 2020-04-28 15:55:00 UTC
Created attachment 1682544 [details]
engine.log

Description of problem: Empty cluster update (no change) in HE setup brings error:
Error while executing action: Update of cluster compatibility version failed because there are VMs/Templates [HostedEngine] with incorrect configuration.

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

How reproducible:100%

Steps to Reproduce:
1. Open Compute -> Clusters -> cluster_name -> Edit Cluster window
2. Click OK changing no parameter


Actual results:
Error while executing action: Update of cluster compatibility version failed because there are VMs/Templates [HostedEngine] with incorrect configuration. To fix the issue, please go to each of them, edit, change the Custom Compatibility Version of the VM/Template to the cluster level you want to update the cluster to and press OK. If the save does not pass, fix the dialog validation. After successful cluster update, you can revert your Custom Compatibility Version change.

in the attached engine.log 
2020-04-28 18:46:20,579+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-5) [66d8b073] EVENT_ID: CLUSTER_CANNOT_UPDATE_VM_COMPATIBILITY_VERSION(12,005), Cannot update compatibility version of Vm/Template: [HostedEngine], Message: [No Message]


Expected results:
no error

Additional info:

Comment 1 Ryan Barry 2020-04-29 00:07:01 UTC
Annoying message, but does it work?

Comment 3 Polina 2020-04-29 16:54:32 UTC
and also looks like it prevents verifying the https://bugzilla.redhat.com/show_bug.cgi?id=1691562.

Comment 4 RHEL Program Management 2020-04-30 12:10:30 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 5 Polina 2020-06-02 09:02:26 UTC
verified on rhv-4.4.1-1

Comment 6 Sandro Bonazzola 2020-07-08 08:26:38 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.