Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1856791

Summary: Cluster upgrade to 4.4 fails with "compensation enabled called a method that does not support compensation"
Product: Red Hat Enterprise Virtualization Manager Reporter: Roman Hodain <rhodain>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: michal.skrivanek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-15 05:08: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:
Attachments:
Description Flags
Engine logs none

Description Roman Hodain 2020-07-14 13:21:34 UTC
Created attachment 1701025 [details]
Engine logs

Description of problem:
Cluster upgrade from 4.3 to 4.4 fails during UpdateVmCommand for HE

Version-Release number of selected component (if applicable):
rhvm-4.4.1.1-0.5.el8ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Change cluster version to 4.4

Actual results:
2020-07-14 13:04:54,347Z INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-8) [4c8f796e] Running command: UpdateVmCommand internal: true. Entities affected :  ID: fbcd8c29-2b71-45e5-b703-e8eb85169c
30 Type: VMAction group EDIT_VM_PROPERTIES with role type USER
2020-07-14 13:04:54,373Z ERROR [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-8) [4c8f796e] Command 'org.ovirt.engine.core.bll.UpdateVmCommand' failed: Command org.ovirt.engine.core.bll.UpdateVmCommand with compensation enabled called a method that does not support compensation.
2020-07-14 13:04:54,373Z ERROR [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-8) [4c8f796e] Exception: java.lang.RuntimeException: Command org.ovirt.engine.core.bll.UpdateVmCommand with compensation enabled called a method that does not support compensation.
        at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.throwIfCompensationEnabled(CommandBase.java:2494)
        at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.UpdateVmCommand.updateDeviceAddresses(UpdateVmCommand.java:517)
        at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.UpdateVmCommand.executeVmCommand(UpdateVmCommand.java:353)
        at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.VmCommand.executeCommand(VmCommand.java:177)
        at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1169)
        at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1327)
        at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2003)

....

Expected results:
The cluster get upgraded

Comment 1 Michal Skrivanek 2020-07-15 05:08:38 UTC
You didn’t pick a lucky build for upgrade tests...

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