Bug 1914636
| Summary: | [CBT] Engine fails to complete full backup due to Java exception "RedefineVmCheckpointCommand cannot be cast to class org.ovirt.engine.core.bll.SerialChildExecutingComman" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Ilan Zuckerman <izuckerm> | ||||||
| Component: | BLL.Storage | Assignee: | Eyal Shenitzky <eshenitz> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilan Zuckerman <izuckerm> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | future | CC: | bugs, dfodor, sfishbai | ||||||
| Target Milestone: | ovirt-4.4.5 | Keywords: | Automation | ||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2021-03-18 15:15:37 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ilan Zuckerman
2021-01-10 13:16:34 UTC
Reproduced again on rhv-4.4.5-4 After making a second full backup for the same VM and the same Disks, then after a successful checkpoints redefinition, there is an engine error RedefineVmCheckpointCommand cannot be cast to class org.ovirt.engine.core.bll.SerialChildExecutingCommand [1] Attaching engine + VDSMs logs + libvirtd log for the relevant host (host_mixed_3) + qemu log for the relevant VM. [1]: 2021-02-06 02:50:09,552+02 INFO [org.ovirt.engine.core.bll.StartVmBackupCommand] (default task-2) [backups_create_b3715fb3-5aff-4ba1] Successfully redefined previous VM checkpoints for VM 'ae962689-a4e6-4a3d-9db9-b9c842abd62a' 2021-02-06 02:50:09,552+02 INFO [org.ovirt.engine.core.bll.StartVmBackupCommand] (default task-2) [backups_create_b3715fb3-5aff-4ba1] Creating VmCheckpoint entity for VM 'ae962689-a4e6-4a3d-9db9-b9c842abd62a' 2021-02-06 02:50:09,559+02 INFO [org.ovirt.engine.core.bll.StartVmBackupCommand] (default task-2) [backups_create_b3715fb3-5aff-4ba1] Created VmCheckpoint entity 'fd4a3fdb-9eef-4cba-bcb5-8e84604a9a3a' 2021-02-06 02:50:09,574+02 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-2) [backups_create_b3715fb3-5aff-4ba1] EVENT_ID: VM_BACKUP_STARTED(10,790), Backup accfd32a-2761-4067-b013-a9049f4ac4b7 for VM vm_TestCase27319_0602481529 started (User: admin@internal-authz). 2021-02-06 02:50:09,624+02 INFO [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) [backups_create_b3715fb3-5aff-4ba1] Exception in invoking callback of command RedefineVmCheckpoint (accfd32a-2761-4067-b013-a9049f4ac4b7): ClassCastException: class org.ovirt.engine.core.bll.RedefineVmCheckpointCommand cannot be cast to class org.ovirt.engine.core.bll.SerialChildExecutingCommand (org.ovirt.engine.core.bll.RedefineVmCheckpointCommand and org.ovirt.engine.core.bll.SerialChildExecutingCommand are in unnamed module of loader 'deployment.engine.ear.bll.jar' @79e8ef70) 2021-02-06 02:50:09,624+02 ERROR [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) [backups_create_b3715fb3-5aff-4ba1] Error invoking callback method 'doPolling' for 'ACTIVE' command 'accfd32a-2761-4067-b013-a9049f4ac4b7' 2021-02-06 02:50:09,624+02 ERROR [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) [backups_create_b3715fb3-5aff-4ba1] Exception: java.lang.ClassCastException: class org.ovirt.engine.core.bll.RedefineVmCheckpointCommand cannot be cast to class org.ovirt.engine.core.bll.SerialChildExecutingCommand (org.ovirt.engine.core.bll.RedefineVmCheckpointCommand and org.ovirt.engine.core.bll.SerialChildExecutingCommand are in unnamed module of loader 'deployment.engine.ear.bll.jar' @79e8ef70) at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback.childCommandsExecutionEnded(SerialChildCommandsExecutionCallback.java:29) at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.ChildCommandsCallbackBase.doPolling(ChildCommandsCallbackBase.java:80) at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethodsImpl(CommandCallbacksPoller.java:175) at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethods(CommandCallbacksPoller.java:109) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) at org.glassfish.javax.enterprise.concurrent.0.redhat-1//org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.access$201(ManagedScheduledThreadPoolExecutor.java:383) at org.glassfish.javax.enterprise.concurrent.0.redhat-1//org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.run(ManagedScheduledThreadPoolExecutor.java:534) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) at org.glassfish.javax.enterprise.concurrent.0.redhat-1//org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250) 2021-02-06 02:50:10,635+02 ERROR [org.ovirt.engine.core.bll.StartVmBackupCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-90) [backups_create_b3715fb3-5aff-4ba1] Ending command 'org.ovirt.engine.core.bll.StartVmBackupCommand' with failure. Created attachment 1755683 [details]
Second reproduction logs
I wasn't able to reproduce this bug but I am pretty sure that the fix will solve the problem. There are no steps to reproduce and we can verify it by running the regular tiers and make sure we don't see that error again. This issue wasnt seen again from the point when I started using the 'consistency' flag on 'true' and the SE boolean was set correctly on the guest. Current version is rhv-release-4.4.5-7-001.noarch Moving this to verified, and if the issue is seen again, will re-open. This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.5 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. This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.5 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. |