<div dir="ltr">Hi Marcelo,<div><br></div><div>This error indicates that the image you are trying to delete doesn't exist.</div><div>When do you get this error? When running Live Merge or Live Storage Migration (LSM)?</div><div><br></div><div>Please note that we fixed in LSM area where the VM went down while we tried to delete the auto-generated snapshot. See <a href="https://bugzilla.redhat.com/1368203">https://bugzilla.redhat.com/1368203</a> .</div><div><br></div><div>-Ala</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 28, 2016 at 3:07 PM, Marcelo Leandro <span dir="ltr"><<a href="mailto:marceloltmm@gmail.com" target="_blank">marceloltmm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello, I have the same problem but i use the ovirt version 4.0.4.4-1.el7.centos .<div><br></div></div><div>My logs.</div><div><br></div><div><br></div><div>Engine.log<br></div><div><br></div><div>2016-09-28 08:18:00,947 INFO [org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmJobsMonitoring] (DefaultQuartzScheduler1) [7013b545] VM Job [4dd2b885-2452-4520-b20a-<wbr>928edea50836]: In progress (no change)<br>2016-09-28 08:18:08,010 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotCommand] (default task-54) [5a27e364] Lock Acquired to object 'EngineLock:{exclusiveLocks='[<wbr>eb73a967-1908-46e9-9de2-<wbr>9706bf29643a=<VM, ACTION_TYPE_FAILED_OBJECT_<wbr>LOCKED>]', sharedLocks='null'}'<br>2016-09-28 08:18:09,169 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotCommand] (default task-54) [5a27e364] Running command: RemoveSnapshotCommand internal: false. Entities affected : ID: eb73a967-1908-46e9-9de2-<wbr>9706bf29643a Type: VMAction group MANIPULATE_VM_SNAPSHOTS with role type USER<br>2016-09-28 08:18:09,185 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotCommand] (default task-54) [5a27e364] Lock freed to object 'EngineLock:{exclusiveLocks='[<wbr>eb73a967-1908-46e9-9de2-<wbr>9706bf29643a=<VM, ACTION_TYPE_FAILED_OBJECT_<wbr>LOCKED>]', sharedLocks='null'}'<br>2016-09-28 08:18:09,265 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotSingleDiskLiveCo<wbr>mmand] (pool-7-thread-3) [354939e9] Running command: RemoveSnapshotSingleDiskLiveCo<wbr>mmand internal: true. Entities affected : ID: 00000000-0000-0000-0000-<wbr>000000000000 Type: Storage<br>2016-09-28 08:18:09,302 INFO [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (default task-54) [] Correlation ID: 5a27e364, Job ID: 661f8f55-30c6-4735-bb0a-<wbr>fdcd3ac4004a, Call Stack: null, Custom Event ID: -1, Message: Snapshot 'Backup the VM' deletion for VM 'SRV-ActPrint' was initiated by admin@internal.<br>2016-09-28 08:18:10,197 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotSingleDiskLiveCo<wbr>mmand] (DefaultQuartzScheduler4) [354939e9] Executing Live Merge command step 'EXTEND'<br>2016-09-28 08:18:10,254 INFO [org.ovirt.engine.core.bll.<wbr>MergeExtendCommand] (pool-7-thread-7) [57c94fc3] Running command: MergeExtendCommand internal: true. Entities affected : ID: 6e5cce71-3438-4045-9d54-<wbr>607123e0557e Type: Storage<br>2016-09-28 08:18:10,255 INFO [org.ovirt.engine.core.bll.<wbr>MergeExtendCommand] (pool-7-thread-7) [57c94fc3] Refreshing volume c08d86ed-46f1-44bc-9476-<wbr>0cc2c6aed367 on host f22d87b9-4449-4a71-8529-<wbr>58095dd81b6f<br>2016-09-28 08:18:10,275 INFO [org.ovirt.engine.core.bll.<wbr>RefreshVolumeCommand] (pool-7-thread-7) [47625ba4] Running command: RefreshVolumeCommand internal: true.<br>2016-09-28 08:18:10,275 INFO [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>RefreshVolumeVDSCommand] (pool-7-thread-7) [47625ba4] START, RefreshVolumeVDSCommand(<wbr>HostName = Host04, RefreshVolumeVDSCommandParamet<wbr>ers:{runAsync='true', hostId='f22d87b9-4449-4a71-<wbr>8529-58095dd81b6f', storagePoolId='77e24b20-9d21-<wbr>4952-a089-3c5c592b4e6d', storageDomainId='6e5cce71-<wbr>3438-4045-9d54-607123e0557e', imageGroupId='9fc0b2f6-d786-<wbr>4a21-8f5c-b22b23df4aaa', imageId='c08d86ed-46f1-44bc-<wbr>9476-0cc2c6aed367'}), log id: 77b9ded4<br>2016-09-28 08:18:11,245 INFO [org.ovirt.engine.core.bll.<wbr>ConcurrentChildCommandsExecuti<wbr>onCallback] (DefaultQuartzScheduler8) [354939e9] Command 'RemoveSnapshot' (id: '18613dc9-d8c8-45c4-9fbe-<wbr>a298e701ead5') waiting on child command id: 'fd866748-3211-4d48-9908-<wbr>12eb6078a69e' type:'<wbr>RemoveSnapshotSingleDiskLive' to complete<br>2016-09-28 08:18:11,810 INFO [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>RefreshVolumeVDSCommand] (pool-7-thread-7) [47625ba4] FINISH, RefreshVolumeVDSCommand, log id: 77b9ded4<br>2016-09-28 08:18:11,810 INFO [org.ovirt.engine.core.bll.<wbr>RefreshVolumeCommand] (pool-7-thread-7) [47625ba4] Successfully refreshed volume 'c08d86ed-46f1-44bc-9476-<wbr>0cc2c6aed367' on host 'f22d87b9-4449-4a71-8529-<wbr>58095dd81b6f'<br>2016-09-28 08:18:12,267 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotSingleDiskLiveCo<wbr>mmand] (DefaultQuartzScheduler10) [354939e9] Waiting on Live Merge command step 'EXTEND' to finalize<br>2016-09-28 08:18:14,294 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotSingleDiskLiveCo<wbr>mmand] (DefaultQuartzScheduler9) [354939e9] Executing Live Merge command step 'MERGE'<br>2016-09-28 08:18:14,347 INFO [org.ovirt.engine.core.bll.<wbr>MergeCommand] (pool-7-thread-2) [15ef379f] Running command: MergeCommand internal: true. Entities affected : ID: 6e5cce71-3438-4045-9d54-<wbr>607123e0557e Type: Storage<br>2016-09-28 08:18:14,348 INFO [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>MergeVDSCommand] (pool-7-thread-2) [15ef379f] START, MergeVDSCommand(HostName = Host04, MergeVDSCommandParameters:{<wbr>runAsync='true', hostId='f22d87b9-4449-4a71-<wbr>8529-58095dd81b6f', vmId='eb73a967-1908-46e9-9de2-<wbr>9706bf29643a', storagePoolId='77e24b20-9d21-<wbr>4952-a089-3c5c592b4e6d', storageDomainId='6e5cce71-<wbr>3438-4045-9d54-607123e0557e', imageGroupId='9fc0b2f6-d786-<wbr>4a21-8f5c-b22b23df4aaa', imageId='95fefce5-7599-460f-<wbr>b38c-377323659b52', baseImageId='c08d86ed-46f1-<wbr>44bc-9476-0cc2c6aed367', topImageId='95fefce5-7599-<wbr>460f-b38c-377323659b52', bandwidth='0'}), log id: 544f03ae<br>2016-09-28 08:18:15,335 INFO [org.ovirt.engine.core.bll.<wbr>ConcurrentChildCommandsExecuti<wbr>onCallback] (DefaultQuartzScheduler8) [354939e9] Command 'RemoveSnapshot' (id: '18613dc9-d8c8-45c4-9fbe-<wbr>a298e701ead5') waiting on child command id: 'fd866748-3211-4d48-9908-<wbr>12eb6078a69e' type:'<wbr>RemoveSnapshotSingleDiskLive' to complete<br>2016-09-28 08:18:15,625 ERROR [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>MergeVDSCommand] (pool-7-thread-2) [15ef379f] Failed in 'MergeVDS' method<br>2016-09-28 08:18:15,628 ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (pool-7-thread-2) [15ef379f] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM Host04 command failed: Merge failed<br>2016-09-28 08:18:15,628 INFO [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>MergeVDSCommand] (pool-7-thread-2) [15ef379f] Command 'org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>MergeVDSCommand' return value 'StatusOnlyReturnForXmlRpc [status=StatusForXmlRpc [code=52, message=Merge failed]]'<br>2016-09-28 08:18:15,629 INFO [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>MergeVDSCommand] (pool-7-thread-2) [15ef379f] HostName = Host04<br>2016-09-28 08:18:15,629 ERROR [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>MergeVDSCommand] (pool-7-thread-2) [15ef379f] Command 'MergeVDSCommand(HostName = Host04, MergeVDSCommandParameters:{<wbr>runAsync='true', hostId='f22d87b9-4449-4a71-<wbr>8529-58095dd81b6f', vmId='eb73a967-1908-46e9-9de2-<wbr>9706bf29643a', storagePoolId='77e24b20-9d21-<wbr>4952-a089-3c5c592b4e6d', storageDomainId='6e5cce71-<wbr>3438-4045-9d54-607123e0557e', imageGroupId='9fc0b2f6-d786-<wbr>4a21-8f5c-b22b23df4aaa', imageId='95fefce5-7599-460f-<wbr>b38c-377323659b52', baseImageId='c08d86ed-46f1-<wbr>44bc-9476-0cc2c6aed367', topImageId='95fefce5-7599-<wbr>460f-b38c-377323659b52', bandwidth='0'})' execution failed: VDSGenericException: VDSErrorException: Failed to MergeVDS, error = Merge failed, code = 52<br>2016-09-28 08:18:15,629 INFO [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>MergeVDSCommand] (pool-7-thread-2) [15ef379f] FINISH, MergeVDSCommand, log id: 544f03ae<br>2016-09-28 08:18:15,629 ERROR [org.ovirt.engine.core.bll.<wbr>MergeCommand] (pool-7-thread-2) [15ef379f] Engine exception thrown while sending merge command: org.ovirt.engine.core.common.<wbr>errors.EngineException: EngineException: org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>VDSErrorException: VDSGenericException: VDSErrorException: Failed to MergeVDS, error = Merge failed, code = 52 (Failed with error mergeErr and code 52)<br> at org.ovirt.engine.core.bll.<wbr>VdsHandler.handleVdsResult(<wbr>VdsHandler.java:114) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>VDSBrokerFrontendImpl.<wbr>runVdsCommand(<wbr>VDSBrokerFrontendImpl.java:33) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>CommandBase.runVdsCommand(<wbr>CommandBase.java:2171) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>MergeCommand.executeCommand(<wbr>MergeCommand.java:45) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>CommandBase.<wbr>executeWithoutTransaction(<wbr>CommandBase.java:1305) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>CommandBase.<wbr>executeActionInTransactionScop<wbr>e(CommandBase.java:1447) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>CommandBase.runInTransaction(<wbr>CommandBase.java:2075) [bll.jar:]<br> at org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport.<wbr>executeInNewTransaction(<wbr>TransactionSupport.java:204) [utils.jar:]<br> at org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport.<wbr>executeInRequired(<wbr>TransactionSupport.java:139) [utils.jar:]<br> at org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport.<wbr>executeInScope(<wbr>TransactionSupport.java:107) [utils.jar:]<br> at org.ovirt.engine.core.bll.<wbr>CommandBase.execute(<wbr>CommandBase.java:1490) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>CommandBase.executeAction(<wbr>CommandBase.java:398) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>Backend.runAction(Backend.<wbr>java:493) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>Backend.runAction(Backend.<wbr>java:729) [bll.jar:]<br> at sun.reflect.<wbr>GeneratedMethodAccessor675.<wbr>invoke(Unknown Source) [:1.8.0_101]<br> at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) [rt.jar:1.8.0_101]<br> at java.lang.reflect.Method.<wbr>invoke(Method.java:498) [rt.jar:1.8.0_101]<br> at org.jboss.as.ee.component.<wbr>ManagedReferenceMethodIntercep<wbr>tor.processInvocation(<wbr>ManagedReferenceMethodIntercep<wbr>tor.java:52)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>InterceptorContext$Invocation.<wbr>proceed(InterceptorContext.<wbr>java:437)<br> at org.jboss.as.weld.ejb.<wbr>Jsr299BindingsInterceptor.<wbr>delegateInterception(<wbr>Jsr299BindingsInterceptor.<wbr>java:70) [wildfly-weld-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.as.weld.ejb.<wbr>Jsr299BindingsInterceptor.<wbr>doMethodInterception(<wbr>Jsr299BindingsInterceptor.<wbr>java:80) [wildfly-weld-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.as.weld.ejb.<wbr>Jsr299BindingsInterceptor.<wbr>processInvocation(<wbr>Jsr299BindingsInterceptor.<wbr>java:93) [wildfly-weld-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.as.ee.component.<wbr>interceptors.<wbr>UserInterceptorFactory$1.<wbr>processInvocation(<wbr>UserInterceptorFactory.java:<wbr>63)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>InterceptorContext$Invocation.<wbr>proceed(InterceptorContext.<wbr>java:437)<br> at org.ovirt.engine.core.bll.<wbr>interceptors.<wbr>CorrelationIdTrackerIntercepto<wbr>r.aroundInvoke(<wbr>CorrelationIdTrackerIntercepto<wbr>r.java:13) [bll.jar:]<br> at sun.reflect.<wbr>GeneratedMethodAccessor140.<wbr>invoke(Unknown Source) [:1.8.0_101]<br> at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) [rt.jar:1.8.0_101]<br> at java.lang.reflect.Method.<wbr>invoke(Method.java:498) [rt.jar:1.8.0_101]<br> at org.jboss.as.ee.component.<wbr>ManagedReferenceLifecycleMetho<wbr>dInterceptor.<wbr>processInvocation(<wbr>ManagedReferenceLifecycleMetho<wbr>dInterceptor.java:89)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ejb3.component.<wbr>invocationmetrics.<wbr>ExecutionTimeInterceptor.<wbr>processInvocation(<wbr>ExecutionTimeInterceptor.java:<wbr>43) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>InterceptorContext$Invocation.<wbr>proceed(InterceptorContext.<wbr>java:437)<br> at org.jboss.weld.ejb.<wbr>AbstractEJBRequestScopeActivat<wbr>ionInterceptor.aroundInvoke(<wbr>AbstractEJBRequestScopeActivat<wbr>ionInterceptor.java:73) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br> at org.jboss.as.weld.ejb.<wbr>EjbRequestScopeActivationInter<wbr>ceptor.processInvocation(<wbr>EjbRequestScopeActivationInter<wbr>ceptor.java:83) [wildfly-weld-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ee.concurrent.<wbr>ConcurrentContextInterceptor.<wbr>processInvocation(<wbr>ConcurrentContextInterceptor.<wbr>java:45) [wildfly-ee-10.0.0.Final.jar:<wbr>10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>InitialInterceptor.<wbr>processInvocation(<wbr>InitialInterceptor.java:21)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>ChainedInterceptor.<wbr>processInvocation(<wbr>ChainedInterceptor.java:61)<br> at org.jboss.as.ee.component.<wbr>interceptors.<wbr>ComponentDispatcherInterceptor<wbr>.processInvocation(<wbr>ComponentDispatcherInterceptor<wbr>.java:52)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ejb3.component.<wbr>singleton.<wbr>SingletonComponentInstanceAsso<wbr>ciationInterceptor.<wbr>processInvocation(<wbr>SingletonComponentInstanceAsso<wbr>ciationInterceptor.java:53) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.invokeInNoTx(<wbr>CMTTxInterceptor.java:263) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.supports(<wbr>CMTTxInterceptor.java:374) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>processInvocation(<wbr>CMTTxInterceptor.java:243) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>CurrentInvocationContextInterc<wbr>eptor.processInvocation(<wbr>CurrentInvocationContextInterc<wbr>eptor.java:41) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ejb3.component.<wbr>invocationmetrics.<wbr>WaitTimeInterceptor.<wbr>processInvocation(<wbr>WaitTimeInterceptor.java:43) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ejb3.security.<wbr>SecurityContextInterceptor.<wbr>processInvocation(<wbr>SecurityContextInterceptor.<wbr>java:100) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>ShutDownInterceptorFactory$1.<wbr>processInvocation(<wbr>ShutDownInterceptorFactory.<wbr>java:64) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>LoggingInterceptor.<wbr>processInvocation(<wbr>LoggingInterceptor.java:66) [wildfly-ejb3-10.0.0.Final.<wbr>jar:10.0.0.Final]<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.as.ee.component.<wbr>NamespaceContextInterceptor.<wbr>processInvocation(<wbr>NamespaceContextInterceptor.<wbr>java:50)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>ContextClassLoaderInterceptor.<wbr>processInvocation(<wbr>ContextClassLoaderInterceptor.<wbr>java:64)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>InterceptorContext.run(<wbr>InterceptorContext.java:356)<br> at org.wildfly.security.manager.<wbr>WildFlySecurityManager.<wbr>doChecked(<wbr>WildFlySecurityManager.java:<wbr>636)<br> at org.jboss.invocation.<wbr>AccessCheckingInterceptor.<wbr>processInvocation(<wbr>AccessCheckingInterceptor.<wbr>java:61)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>InterceptorContext.run(<wbr>InterceptorContext.java:356)<br> at org.jboss.invocation.<wbr>PrivilegedWithCombinerIntercep<wbr>tor.processInvocation(<wbr>PrivilegedWithCombinerIntercep<wbr>tor.java:80)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>ChainedInterceptor.<wbr>processInvocation(<wbr>ChainedInterceptor.java:61)<br> at org.jboss.as.ee.component.<wbr>ViewService$View.invoke(<wbr>ViewService.java:195)<br> at org.jboss.as.ee.component.<wbr>ViewDescription$1.<wbr>processInvocation(<wbr>ViewDescription.java:185)<br> at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340)<br> at org.jboss.invocation.<wbr>ChainedInterceptor.<wbr>processInvocation(<wbr>ChainedInterceptor.java:61)<br> at org.jboss.as.ee.component.<wbr>ProxyInvocationHandler.invoke(<wbr>ProxyInvocationHandler.java:<wbr>73)<br> at org.ovirt.engine.core.bll.<wbr>interfaces.<wbr>BackendCommandObjectsHandler$$<wbr>$view3.runAction(Unknown Source) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>tasks.CommandExecutor.<wbr>executeCommand(<wbr>CommandExecutor.java:57) [bll.jar:]<br> at org.ovirt.engine.core.bll.<wbr>tasks.CommandExecutor.lambda$<wbr>executeAsyncCommand$0(<wbr>CommandExecutor.java:46) [bll.jar:]<br> at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266) [rt.jar:1.8.0_101]<br> at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101]<br> at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101]<br> at java.lang.Thread.run(Thread.<wbr>java:745) [rt.jar:1.8.0_101]</div><div>2016-09-28 08:18:16,038 INFO [org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmJobsMonitoring] (DefaultQuartzScheduler10) [354939e9] VM Job [4dd2b885-2452-4520-b20a-<wbr>928edea50836]: In progress (no change)<br>2016-09-28 08:18:16,341 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotSingleDiskLiveCo<wbr>mmand] (DefaultQuartzScheduler6) [354939e9] Waiting on Live Merge command step 'MERGE' to complete<br>2016-09-28 08:18:16,351 INFO [org.ovirt.engine.core.bll.<wbr>MergeCommandCallback] (DefaultQuartzScheduler6) [15ef379f] Merge command (jobId = null) has completed for images 'c08d86ed-46f1-44bc-9476-<wbr>0cc2c6aed367'..'95fefce5-7599-<wbr>460f-b38c-377323659b52'<br>2016-09-28 08:18:18,372 INFO [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotSingleDiskLiveCo<wbr>mmand] (DefaultQuartzScheduler6) [354939e9] Executing Live Merge command step 'MERGE_STATUS'<br>2016-09-28 08:18:18,418 INFO [org.ovirt.engine.core.bll.<wbr>MergeStatusCommand] (pool-7-thread-1) [42d41e81] Running command: MergeStatusCommand internal: true. Entities affected : ID: 6e5cce71-3438-4045-9d54-<wbr>607123e0557e Type: Storage<br>2016-09-28 08:18:18,506 INFO [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>FullListVDSCommand] (pool-7-thread-1) [42d41e81] START, FullListVDSCommand(HostName = Host04, FullListVDSCommandParameters:{<wbr>runAsync='true', hostId='f22d87b9-4449-4a71-<wbr>8529-58095dd81b6f', vds='Host[Host04,f22d87b9-<wbr>4449-4a71-8529-58095dd81b6f]', vmIds='[eb73a967-1908-46e9-<wbr>9de2-9706bf29643a]'}), log id: 62d7ca75<br>2016-09-28 08:18:19,528 INFO [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>FullListVDSCommand] (pool-7-thread-1) [42d41e81] FINISH, FullListVDSCommand, return: [{acpiEnable=true, emulatedMachine=pc-i440fx-<wbr>rhel7.2.0, afterMigrationStatus=, vmId=eb73a967-1908-46e9-9de2-<wbr>9706bf29643a, memGuaranteedSize=1740, transparentHugePages=true, displaySecurePort=5907, timeOffset=-7088, cpuType=Nehalem, smp=2, guestNumaNodes=[Ljava.lang.<wbr>Object;@1f96e8d8, hypervEnable=true, custom={device_66bcfc2f-fca9-<wbr>4890-8bf5-74095d059da9device_<wbr>de626997-b95c-45be-81f2-<wbr>b2de374b5f8adevice_0faaec88-<wbr>ceff-467b-85fd-<wbr>6f131cfae9fadevice_ad363387-<wbr>214a-4435-ab86-486feeea6ad3=<wbr>VmDevice:{id='VmDeviceId:{<wbr>deviceId='ad363387-214a-4435-<wbr>ab86-486feeea6ad3', vmId='eb73a967-1908-46e9-9de2-<wbr>9706bf29643a'}', device='spicevmc', type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0, controller=0, type=virtio-serial, port=3}', managed='false', plugged='true', readOnly='false', deviceAlias='channel2', customProperties='[]', snapshotId='null', logicalName='null', usingScsiReservation='false', hostDevice='null'}, device_66bcfc2f-fca9-4890-<wbr>8bf5-74095d059da9=VmDevice:{<wbr>id='VmDeviceId:{deviceId='<wbr>66bcfc2f-fca9-4890-8bf5-<wbr>74095d059da9', vmId='eb73a967-1908-46e9-9de2-<wbr>9706bf29643a'}', device='ide', type='CONTROLLER', bootOrder='0', specParams='[]', address='{slot=0x01, bus=0x00, domain=0x0000, type=pci, function=0x1}', managed='false', plugged='true', readOnly='false', deviceAlias='ide', customProperties='[]', snapshotId='null', logicalName='null', usingScsiReservation='false', hostDevice='null'}, device_66bcfc2f-fca9-4890-<wbr>8bf5-74095d059da9device_<wbr>de626997-b95c-45be-81f2-<wbr>b2de374b5f8a=VmDevice:{id='<wbr>VmDeviceId:{deviceId='<wbr>de626997-b95c-45be-81f2-<wbr>b2de374b5f8a', vmId='eb73a967-1908-46e9-9de2-<wbr>9706bf29643a'}', device='unix', type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0, controller=0, type=virtio-serial, port=1}', managed='false', plugged='true', readOnly='false', deviceAlias='channel0', customProperties='[]', snapshotId='null', logicalName='null', usingScsiReservation='false', hostDevice='null'}, device_66bcfc2f-fca9-4890-<wbr>8bf5-74095d059da9device_<wbr>de626997-b95c-45be-81f2-<wbr>b2de374b5f8adevice_0faaec88-<wbr>ceff-467b-85fd-6f131cfae9fa=<wbr>VmDevice:{id='VmDeviceId:{<wbr>deviceId='0faaec88-ceff-467b-<wbr>85fd-6f131cfae9fa', vmId='eb73a967-1908-46e9-9de2-<wbr>9706bf29643a'}', device='unix', type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0, controller=0, type=virtio-serial, port=2}', managed='false', plugged='true', readOnly='false', deviceAlias='channel1', customProperties='[]', snapshotId='null', logicalName='null', usingScsiReservation='false', hostDevice='null'}}, vmType=kvm, smpThreadsPerCore=1, memSize=1740, smpCoresPerSocket=2, vmName=SRV-ActPrint, nice=0, status=Up, maxMemSize=4194304, bootMenuEnable=false, guestDiskMapping={}, pid=14894, displayIp=192.168.144.104, displayPort=-1, smartcardEnable=false, maxMemSlots=16, nicModel=rtl8139,pv, kvmEnable=true, displayNetwork=ovirtmgmt, devices=[Ljava.lang.Object;@<wbr>1c3c34e6, maxVCpus=32, clientIp=, statusTime=7115868520, display=qxl}], log id: 62d7ca75<br>2016-09-28 08:18:19,538 ERROR [org.ovirt.engine.core.bll.<wbr>MergeStatusCommand] (pool-7-thread-1) [42d41e81] Failed to live merge, still in volume chain: [c08d86ed-46f1-44bc-9476-<wbr>0cc2c6aed367, 95fefce5-7599-460f-b38c-<wbr>377323659b52]<br>2016-09-28 08:18:20,422 ERROR [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotSingleDiskLiveCo<wbr>mmand] (DefaultQuartzScheduler9) [354939e9] Failed child command status for step 'MERGE_STATUS'<br>2016-09-28 08:18:21,449 ERROR [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotSingleDiskLiveCo<wbr>mmand] (DefaultQuartzScheduler8) [354939e9] Merging of snapshot '275c0570-32b6-4d50-9529-<wbr>b2428f6a8a0b' images 'c08d86ed-46f1-44bc-9476-<wbr>0cc2c6aed367'..'95fefce5-7599-<wbr>460f-b38c-377323659b52' failed. Images have been marked illegal and can no longer be previewed or reverted to. Please retry Live Merge on the snapshot to complete the operation.<br>2016-09-28 08:18:21,459 INFO [org.ovirt.engine.core.bll.<wbr>ConcurrentChildCommandsExecuti<wbr>onCallback] (DefaultQuartzScheduler8) [354939e9] Command 'RemoveSnapshot' id: '18613dc9-d8c8-45c4-9fbe-<wbr>a298e701ead5' child commands '[fd866748-3211-4d48-9908-<wbr>12eb6078a69e]' executions were completed, status 'FAILED'<br>2016-09-28 08:18:22,564 ERROR [org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotCommand] (DefaultQuartzScheduler10) [354939e9] Ending command 'org.ovirt.engine.core.bll.<wbr>snapshots.<wbr>RemoveSnapshotCommand' with failure.<br>2016-09-28 08:18:22,634 ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (DefaultQuartzScheduler10) [354939e9] Correlation ID: 5a27e364, Job ID: 661f8f55-30c6-4735-bb0a-<wbr>fdcd3ac4004a, Call Stack: null, Custom Event ID: -1, Message: Failed to delete snapshot 'Backup the VM' for VM 'SRV-ActPrint'.</div><div><br></div><div><br></div><div> Vdsm.log</div><div><div>periodic/5740::DEBUG::2016-09-<wbr>28 08:01:31,574::vm::4519::virt.<wbr>vm::(queryBlockJobs) vmId=`eb73a967-1908-46e9-9de2-<wbr>9706bf29643a`::Still waiting for block job 4dd2b885-2452-4520-b20a-<wbr>928edea50836 to be synchronized</div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike>....<br></div><div>jsonrpc.Executor/5::ERROR::<wbr>2016-09-28 08:33:04,783::vm::4427::virt.<wbr>vm::(trackBlockJob) vmId=`eb73a967-1908-46e9-9de2-<wbr>9706bf29643a`::Cannot add block job 50a359bd-097d-4c07-a7ae-<wbr>5f4a9db23b81. A block job with id 4dd2b885-2452-4520-b20a-<wbr>928edea50836 already exists for image 9fc0b2f6-d786-4a21-8f5c-<wbr>b22b23df4aaa<br>jsonrpc.Executor/5::ERROR::<wbr>2016-09-28 08:33:04,784::vm::4600::virt.<wbr>vm::(merge) vmId=`eb73a967-1908-46e9-9de2-<wbr>9706bf29643a`::A block job is already active on this disk</div><div><br></div><div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Marcelo Leandro<br></div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-06-24 12:49 GMT-03:00 Nicolás <span dir="ltr"><<a href="mailto:nicolas@devels.es" target="_blank">nicolas@devels.es</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Done, you can find it in [1]. Feel free to add/modify anything you consider inaccurate.<br>
<br>
Thank you.<br>
<br>
[1]: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1349950" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/sh<wbr>ow_bug.cgi?id=1349950</a><br>
<br>
El 24/06/16 a las 12:39, Nir Soffer escribió:</div></div><div><div><div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Jun 24, 2016 at 11:39 AM, Vinzenz Feenstra <<a href="mailto:vfeenstr@redhat.com" target="_blank">vfeenstr@redhat.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Jun 24, 2016, at 9:10 AM, <a href="mailto:nicolas@devels.es" target="_blank">nicolas@devels.es</a> wrote:<br>
<br>
Hi,<br>
<br>
We're trying to delete an auto-generated live snapshot that has been created after migrating an online VM's storage to a different domain. oVirt version is 3.6.6 and VDSM version is 4.17.28. Most relevant log lines are:<br>
<br>
2016-06-24 07:50:36,252 ERROR [org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.MergeVDSCommand] (pool-7-thread-10) [799a22e3] Failed in 'MergeVDS' method<br>
2016-06-24 07:50:36,256 ERROR [org.ovirt.engine.core.dal.dbb<wbr>roker.auditloghandling.AuditLo<wbr>gDirector] (pool-7-thread-10) [799a22e3] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM <a href="http://host2.domain.com" rel="noreferrer" target="_blank">host2.domain.com</a> command failed: Merge failed<br>
2016-06-24 07:50:36,256 ERROR [org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.MergeVDSCommand] (pool-7-thread-10) [799a22e3] Command 'MergeVDSCommand(HostName = <a href="http://host2.domain.com" rel="noreferrer" target="_blank">host2.domain.com</a>, MergeVDSCommandParameters:{run<wbr>Async='true', hostId='c31dca1a-e5bc-43f6-940<wbr>f-6397e3ddbee4', vmId='7083832a-a1a2-42b7-961f-<wbr>2e9c0dcd7e18', storagePoolId='fa155d43-4e68-4<wbr>86f-9f9d-ae3e3916cc4f', storageDomainId='9339780c-3667<wbr>-4fef-aa13-9bec08957c5f', imageGroupId='65a0b0d4-5c96-4d<wbr>d9-a31b-4d08e40a46a5', imageId='9eec9e8f-38db-4abf-b1<wbr>c4-92fa9383f8b1', baseImageId='568b2f77-0ddf-434<wbr>9-a45c-36fcb0edecb6', topImageId='9eec9e8f-38db-4abf<wbr>-b1c4-92fa9383f8b1', bandwidth='0'})' execution failed: VDSGenericException: VDSErrorException: Failed to MergeVDS, error = Merge failed, code = 52<br>
2016-06-24 07:50:36,256 ERROR [org.ovirt.engine.core.bll.Mer<wbr>geCommand] (pool-7-thread-10) [799a22e3] Engine exception thrown while sending merge command: org.ovirt.engine.core.common.e<wbr>rrors.EngineException: EngineException: org.ovirt.engine.core.vdsbroke<wbr>r.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to MergeVDS, error = Merge failed, code = 52 (Failed with error mergeErr and code 52)<br>
<br>
I'm attaching relevant logs (both for ovirt-engine and SPM's vdsm).<br>
<br>
What could be the reason for this error?<br>
</blockquote>
@Nir,<br>
<br>
that looks like some issue in VDSM please have a look<br>
<br>
jsonrpc.Executor/3::ERROR::201<wbr>6-06-24 07:50:36,216::vm::4955::virt.v<wbr>m::(merge) vmId=`7083832a-a1a2-42b7-961f-<wbr>2e9c0dcd7e18`::Live merge failed (job: 3ea68e36-6d99-4af9-a54e-4c5b06<wbr>df6a0f)<br>
Traceback (most recent call last):<br>
File "/usr/share/vdsm/virt/vm.py", line 4951, in merge<br>
flags)<br>
File "/usr/share/vdsm/virt/virdomai<wbr>n.py", line 68, in f<br>
ret = attr(*args, **kwargs)<br>
File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/libvirtconnection.py"<wbr>, line 124, in wrapper<br>
ret = f(*args, **kwargs)<br>
File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/utils.py", line 1313, in wrapper<br>
return func(inst, *args, **kwargs)<br>
File "/usr/lib64/python2.7/site-pac<wbr>kages/libvirt.py", line 668, in blockCommit<br>
if ret == -1: raise libvirtError ('virDomainBlockCommit() failed', dom=self)<br>
libvirtError: block copy still active: disk 'vda' already in active block job<br>
</blockquote>
This means there was a previous attempt to merge, and the block job<br>
did not complete yet.<br>
<br>
Engine should detect that there is an active block job and wait until<br>
it completes.<br>
<br>
This is probably engine bug, please file a bug and attach complete vdsm and<br>
engine logs.<br>
<br>
Ala, can you look at this?<br>
<br>
Nir<br>
</blockquote>
<br></div></div><span class="">
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</span></div></div></blockquote></div><br></div>
</blockquote></div><br></div>