<div dir="ltr"><div><div><div>For cleaning these "Tasks" entries (which are actually Jobs in the DB), you will need to use taskcleaner.sh.<br></div>The <span class="gmail-im">unlock_entity.sh is for removing locks on entities.<br><br></span></div><span class="gmail-im">Before running the task cleaner, you need to be sure you actually don't have any tasks</span><span id="gmail-m_-1776714422396855373gmail-docs-internal-guid-5ebb4940-a9bb-58df-5846-d1d1809fb0da"><span style="font-size:11.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span class="gmail-il"></span></span></span> running in the SPM.<br><br></div>Regarding the snapshot creation on 'apex", can you provide the logs around the time of the operation?<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 8:06 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@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"><span class=""><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 13, 2017 at 7:01 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="m_-5937642494193225787gmail-"><br><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">I'd prefer to avoid direct manage of the rdbms...</div><div class="gmail_extra"><br></div><div class="gmail_extra">As it happened on Friday, after running again the command</div><span class="m_-5937642494193225787gmail-"><div class="gmail_extra"><br></div><div class="gmail_extra"><span class="m_-5937642494193225787gmail-m_6624919305361194026gmail-im">PGPASSWORD=... /usr/share/ovirt-engine/setup/<wbr>dbutils/unlock_entity.sh -t all -u engine</span></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">now the gui after some time shows no active task</div><div class="gmail_extra"><br></div><div class="gmail_extra">but the vm still shows as locked and in the event pane I only have the message</div><div class="gmail_extra">Snapshot '13-11-2017-16-30-Danilo' creation for VM 'apex' was initiated by user1@internal-authz.</div><div class="gmail_extra">but no message about its correct completion</div><div class="gmail_extra"><br></div><div class="gmail_extra">This is my disks' subtab situation for the vm, where it seems all ok:</div><div class="gmail_extra"><a href="https://drive.google.com/file/d/1tF3VdA8gzMVvtn2x4HTKOmltRmUR7cTG/view?usp=sharing" target="_blank">https://drive.google.com/file/<wbr>d/1tF3VdA8gzMVvtn2x4HTKOmltRmU<wbr>R7cTG/view?usp=sharing</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">And this the snapshots' subtab where it seems all ok: <br></div><div class="gmail_extra"><a href="https://drive.google.com/file/d/1qbEhdS6eOZL-f8y5xCnuc_4_HsYM4mAa/view?usp=sharing" target="_blank">https://drive.google.com/file/<wbr>d/1qbEhdS6eOZL-f8y5xCnuc_4_HsY<wbr>M4mAa/view?usp=sharing</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">But the VM has the lock symbol in side of itself.</div><div class="gmail_extra">Any guidance appreciated, both to solve the problem and to understand if the snapshot is consistent, as a user should to changes to the VM with a chance to have to come back</div><span class="m_-5937642494193225787gmail-HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Gianluca<br></div></font></span></div>
</blockquote></div></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">I have just verified that if I run a new task (in my case has been the removal of the snaptest VM), suddenly I see from 0 to 3 tasks, with the deletion task completing with success, while the 2 stale tasks appearing again in the task pane where they disappeared<br></div><div class="gmail_extra">see here:</div><div class="gmail_extra"><a href="https://drive.google.com/file/d/1xcbJsI02iSEAHYEiFYkRWvz9SW_ElsIY/view?usp=sharing" target="_blank">https://drive.google.com/file/<wbr>d/1xcbJsI02iSEAHYEiFYkRWvz9SW_<wbr>ElsIY/view?usp=sharing</a></div><div class="gmail_extra"><br></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>