Bug 2000770

Summary: Failed to Change Cluster settings
Product: [oVirt] ovirt-engine Reporter: Andrei <arusakov>
Component: GeneralAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.8.5CC: ahadas, bugs, didi, mperina
Target Milestone: ---Keywords: Reopened
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: 2021-10-03 10:57:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ovirt-log-collector
none
engine log on 4.4.8.6-1.el8 none

Description Andrei 2021-09-02 20:59:17 UTC
Description of problem:
Failed to Change Cluster settings

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

How reproducible:
100%

Steps to Reproduce:
1. Go to Cluster
2. Edit
3. Change Compatibility Version to 4.6 

Actual results:
Error while executing action: Cannot update cluster because the update triggered update of the VMs/Templates and it failed for the following: HostedEngine. To fix the issue, please go to each of them, edit, change the Custom Compatibility Version (or other fields changed previously in the cluster dialog) and press OK.

Expected results:
Cluster upgraded to new version

Additional info:
I cna't chnage any of HostedEngine configs - i Got
HostedEngine:

    There was an attempt to change Hosted Engine VM values that are locked.



Same problem when i try to update min CPU type.

Comment 1 RHEL Program Management 2021-09-03 07:39:37 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Andrei 2021-09-06 19:54:37 UTC
The only thing i can see in logs is

2021-09-06 22:36:53,068+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-42) [30607154] EVENT_ID: CLUSTER_CANNOT_UPDATE_VM_COMPATIBILITY_VERSION(12,005), Cannot update compatibility version of Vm/Template: [HostedEngine], Message: [No Message]

Comment 3 Martin Perina 2021-09-13 12:00:30 UTC
Could you please provide logs from engine gathered by sos-logcollector?

Comment 4 Andrei 2021-09-15 20:18:36 UTC
Created attachment 1823450 [details]
ovirt-log-collector

ovirt-log-collector from engine host

Comment 5 Martin Perina 2021-09-17 12:34:09 UTC
Provided logcollector archive doesn't contain any log files from /var/log/ovirt-engine. Do you have some log files on your engine machine? If not, then please check if your permissions for /var/log/ovirt-engine are correct.

Comment 6 Martin Perina 2021-09-21 12:01:49 UTC
It seems to me as a duplicate of BZ2005221, so please continue discussion there.

Comment 7 Martin Perina 2021-09-21 12:02:07 UTC

*** This bug has been marked as a duplicate of bug 2005221 ***

Comment 8 Andrei 2021-10-01 15:56:11 UTC
Still got same problem 

Curently on 4.4.8.6-1.el8

please check fresh engine log

Comment 9 Andrei 2021-10-01 15:57:44 UTC
Created attachment 1828082 [details]
engine log on 4.4.8.6-1.el8

Comment 10 Arik 2021-10-03 10:57:36 UTC
Andrei, you probably didn't update the database, try:
update vm_static set time_zone='Etc/GMT' where vm_name='HostedEngine';

*** This bug has been marked as a duplicate of bug 2005221 ***