<div dir="ltr">Thank you for sending the logs.<div><br></div><div>According to the logs, it seems that you had some connectivity issue while you tried to preview the snapshot.</div><div>The preview operation rolled back but according to you failed to finish.</div><div><br></div><div>It seems like you still have a connectivity issue with that host (<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,0);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">&#39;pfm-srv-virt-1.pfm-ad.pfm.loc</span>), try to see what happens to it.</div><div><br></div><div>Here is the relevant part from the log:</div><div><br></div><div><div><span style="background-color:rgb(255,255,0)">2018-03-14 17:00:48,652+01 ERROR [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Heartbeat exceeded for host &#39;pfm-srv-virt-1.pfm-ad.pfm.loc&#39;, last response arrived 2003 ms ago.</span></div><div>2018-03-14 17:00:53,561+01 INFO  [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connecting to pfm-srv-virt-1.pfm-ad.pfm.loc/<a href="http://10.100.1.50">10.100.1.50</a></div><div>2018-03-14 17:02:21,832+01 INFO  [org.ovirt.engine.core.utils.transaction.TransactionSupport] (EE-ManagedThreadFactory-engine-Thread-118906) []<span style="background-color:rgb(255,255,0)"> transaction rolled back</span></div></div><div><div>2018-03-14 17:02:21,836+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-118906) [] EVENT_ID: USER_TRY_BACK_TO_SNAPSHOT_FINISH_FAILURE(99), Failed to complete Snapshot-Preview AFTER_INSTALL for VM pfm-ltsp-1.</div><div>2018-03-14 17:02:21,836+01 ERROR [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engine-Thread-118906) [] [within thread]: endAction for action type TryBackToAllSnapshotsOfVm threw an exception.: java.lang.NullPointerException</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.snapshots.SnapshotsManager.deviceCanBeRemoved(SnapshotsManager.java:463) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.snapshots.SnapshotsManager.attempToRestoreVmConfigurationFromSnapshot(SnapshotsManager.java:415) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.snapshots.TryBackToAllSnapshotsOfVmCommand.restoreVmConfigFromSnapshot(TryBackToAllSnapshotsOfVmCommand.java:204) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.snapshots.TryBackToAllSnapshotsOfVmCommand.endSuccessfully(TryBackToAllSnapshotsOfVmCommand.java:168) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.CommandBase.internalEndSuccessfully(CommandBase.java:675) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBase.java:630) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1936) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202) [utils.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:137) [utils.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:105) [utils.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.CommandBase.endAction(CommandBase.java:495) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.tasks.DecoratedCommand.endAction(DecoratedCommand.java:17) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.tasks.CoCoAsyncTaskHelper.endAction(CoCoAsyncTaskHelper.java:353) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.tasks.CommandCoordinatorImpl.endAction(CommandCoordinatorImpl.java:347) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.tasks.CommandAsyncTask.endCommandAction(CommandAsyncTask.java:160) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.bll.tasks.CommandAsyncTask.lambda$endActionIfNecessary$0(CommandAsyncTask.java:112) [bll.jar:]</div><div><span style="white-space:pre">        </span>at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:96) [utils.jar:]</div><div><span style="white-space:pre">        </span>at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_161]</div><div><span style="white-space:pre">        </span>at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_161]</div><div><span style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_161]</div><div><span style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_161]</div><div><span style="white-space:pre">        </span>at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]</div><div><span style="white-space:pre">        </span>at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250) [javax.enterprise.concurrent-1.0.jar:]</div><div><span style="white-space:pre">        </span>at org.jboss.as.ee.concurrent.service.ElytronManagedThreadFactory$ElytronManagedThread.run(ElytronManagedThreadFactory.java:78)</div><div><br></div><div>2018-03-14 17:02:21,838+01 INFO  [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engine-Thread-118906) [] CommandAsyncTask::HandleEndActionResult: endAction for action type &#39;TryBackToAllSnapshotsOfVm&#39; threw an unrecoverable RuntimeException <span style="background-color:rgb(255,255,0)">the task will be cleared.</span></div><div>2018-03-14 17:02:21,841+01 INFO  [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (EE-ManagedThreadFactory-engine-Thread-118906) </div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 15, 2018 at 11:35 AM,  <span dir="ltr">&lt;<a href="mailto:spfma.tech@e.mail.fr" target="_blank">spfma.tech@e.mail.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Thanks for your reply.</div>
<div> </div>
<div>Yesterday, I realized I was doing nothing good with some the software I planed to install in a VM, so I tried to revert to a snapshot a took just after OS installation, as I always do.</div>
<div> </div>
<div>As I had added a second disk to the VM in between, I choose to revert to snapshot without taking care of the second disk contents.</div>
<div> </div>
<div>But the preview operation never ended. So I restarted the engine vm but nothing changed.</div>
<div> </div>
<div>This morning I tried to cleanup things, using &quot;taskcleaner&quot; and &quot;unlock_entity&quot;. I could regain control over the VM, but the task is still in &quot;finalizing&quot; state in the GUI.</div>
<div> </div>
<div>I even remove the second disk to see if it was better, but nothing.</div>
<div> </div>
<div>You will find the engine logfile and the &quot;vdsm.log&quot; from the server the task is running on.</div>
<div> </div>
<div>I am not sure how to check engine version precisely, so I queried the rpm database in the vm : ovirt-engine-4.2.2-1.el7.<wbr>centos.noarch</div>
<div> </div>
<div>Regards</div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000"> </span></div>
<p><br><br> Le 15-Mar-2018 10:17:59 +0100, <a href="mailto:eshenitz@redhat.com" target="_blank">eshenitz@redhat.com</a> a écrit:</p>
<div> </div>
<blockquote style="margin-left:0;padding-left:5px;border-left:2px solid navy">
<div dir="ltr">Hi, 
<div> </div>
<div>Can you please specify the version of the engine and supply the engine.log and the vdsm.log?</div>
<div> </div>
<div>Moreover, can you please specify the steps that you did that led you to this issue?</div>
<div> </div>
<div>Thanks,</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 15, 2018 at 11:05 AM, <span dir="ltr">&lt;<a href="mailto:spfma.tech@e.mail.fr" rel="noreferrer noopener" target="_blank">spfma.tech@e.mail.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Hi,<br></span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">I tried to rollback to a snapshot on a VM, but the preview never ended.</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">The task has been running for about 15 hours, with this state :</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">{<br>    &quot;916b67fb-8808-43d2-850c-<wbr>1c12650ccc49&quot;: {<br>        &quot;verb&quot;: &quot;createVolume&quot;, <br>        &quot;code&quot;: 0, <br>        &quot;state&quot;: &quot;finished&quot;, <br>        &quot;tag&quot;: &quot;spm&quot;, <br>        &quot;result&quot;: {<br>            &quot;uuid&quot;: &quot;d37ca118-820f-46a3-b99b-<wbr>714018ea8b42&quot;<br>        }, <br>        &quot;message&quot;: &quot;1 jobs completed successfully&quot;, <br>        &quot;id&quot;: &quot;916b67fb-8808-43d2-850c-<wbr>1c12650ccc49&quot;<br>    }<br>}<br></span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">I just canceled it : the task list is now empty on the CLI but no change on GUI.</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">So I restared the engine VM, but no success.</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">With &quot;/usr/share/ovirt-engine/<wbr>setup/dbutils/unlock_entity.<wbr>sh&quot; I was able to manually unlock the image, but the task is still &quot;finalizing&quot;.</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Is this a bug ? </span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Regards</span></div>
<br><hr>FreeMail powered by <a href="https://mail.fr" rel="noreferrer noopener" target="_blank">mail.fr</a> <br>______________________________<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 noopener" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br><br></blockquote>
</div>
<br><br clear="all">
<div> </div>
-- <br>
<div class="m_3219954633466137927gmail_signature">
<div dir="ltr">Regards,
<div>Eyal Shenitzky</div>
</div>
</div>
</div>
</blockquote>
                    <br><hr>FreeMail powered by <a href="https://mail.fr" target="_blank">mail.fr</a>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,<div>Eyal Shenitzky</div></div></div>
</div>