<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">What is your engine version, please?<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I&#39;m trying to reproduce your steps, for understanding better was is the cause for that error. Therefore, a full engine log is needed.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Can you please attach it?<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thanks,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:tahoma,sans-serif"><b>Shani Leviim<br></b></span></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Feb 26, 2018 at 2:48 PM, Lionel Caignec <span dir="ltr">&lt;<a href="mailto:caignec@cines.fr" target="_blank">caignec@cines.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
1) this is error message from ui.log<br>
<br>
 2018-02-26 13:44:10,001+01 ERROR [org.ovirt.engine.ui.frontend.<wbr>server.gwt.<wbr>OvirtRemoteLoggingService] (default task-3) [] Permutation name: 8C01181C3B121D0AAE1312275CC964<wbr>15<br>
2018-02-26 13:44:10,001+01 ERROR [org.ovirt.engine.ui.frontend.<wbr>server.gwt.<wbr>OvirtRemoteLoggingService] (default task-3) [] Uncaught exception: com.google.gwt.core.client.<wbr>JavaScriptException: (TypeError)<br>
 __gwt$exception: &lt;skipped&gt;: Cannot read property &#39;F&#39; of null<br>
        at org.ovirt.engine.ui.<wbr>uicommonweb.models.storage.<wbr>DisksAllocationModel$3.$<wbr>onSuccess(<wbr>DisksAllocationModel.java:120)<br>
        at org.ovirt.engine.ui.<wbr>uicommonweb.models.storage.<wbr>DisksAllocationModel$3.<wbr>onSuccess(<wbr>DisksAllocationModel.java:120)<br>
        at org.ovirt.engine.ui.frontend.<wbr>Frontend$2.$onSuccess(<wbr>Frontend.java:233) [frontend.jar:]<br>
        at org.ovirt.engine.ui.frontend.<wbr>Frontend$2.onSuccess(Frontend.<wbr>java:233) [frontend.jar:]<br>
        at org.ovirt.engine.ui.frontend.<wbr>communication.<wbr>OperationProcessor$2.$<wbr>onSuccess(OperationProcessor.<wbr>java:139) [frontend.jar:]<br>
        at org.ovirt.engine.ui.frontend.<wbr>communication.<wbr>OperationProcessor$2.<wbr>onSuccess(OperationProcessor.<wbr>java:139) [frontend.jar:]<br>
        at org.ovirt.engine.ui.frontend.<wbr>communication.<wbr>GWTRPCCommunicationProvider$5$<wbr>1.$onSuccess(<wbr>GWTRPCCommunicationProvider.<wbr>java:269) [frontend.jar:]<br>
        at org.ovirt.engine.ui.frontend.<wbr>communication.<wbr>GWTRPCCommunicationProvider$5$<wbr>1.onSuccess(<wbr>GWTRPCCommunicationProvider.<wbr>java:269) [frontend.jar:]<br>
        at com.google.gwt.user.client.<wbr>rpc.impl.<wbr>RequestCallbackAdapter.<wbr>onResponseReceived(<wbr>RequestCallbackAdapter.java:<wbr>198) [gwt-servlet.jar:]<br>
        at com.google.gwt.http.client.<wbr>Request.$<wbr>fireOnResponseReceived(<wbr>Request.java:237) [gwt-servlet.jar:]<br>
        at com.google.gwt.http.client.<wbr>RequestBuilder$1.<wbr>onReadyStateChange(<wbr>RequestBuilder.java:409) [gwt-servlet.jar:]<br>
        at Unknown.eval(webadmin-0.js@65)<br>
        at com.google.gwt.core.client.<wbr>impl.Impl.apply(Impl.java:296) [gwt-servlet.jar:]<br>
        at com.google.gwt.core.client.<wbr>impl.Impl.entry0(Impl.java:<wbr>335) [gwt-servlet.jar:]<br>
        at Unknown.eval(webadmin-0.js@54)<br>
<br>
<br>
2) This line seems to be about the bad disk :<br>
<span class=""><br>
 f242cc9a-56c1-4ae4-aef0-<wbr>f75eb01f74b1 | 2018-01-17 22:02:00+01 | 2748779069440 | 00000000-0000-0000-0000-<wbr>000000000000 | 00000000-0000-0000-0000-<wbr>000000000000 |           4 | 2018-01-18 22:01:20.5+01   | 0dd2090c-3491-4fa1-98c3-<wbr>54ae88be793c<br>
<br>
<br>
</span>3) Snapshot table is empty for the concerned vm_id.<br>
<span class=""><br>
----- Mail original -----<br>
De: &quot;Shani Leviim&quot; &lt;<a href="mailto:sleviim@redhat.com">sleviim@redhat.com</a>&gt;<br>
À: &quot;Lionel Caignec&quot; &lt;<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>&gt;<br>
Cc: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
</span>Envoyé: Lundi 26 Février 2018 13:31:23<br>
<span class="">Objet: Re: [ovirt-users] Ghost Snapshot Disk<br>
<br>
Hi Lionel,<br>
<br>
</span><span class="">The error message you&#39;ve mentioned sounds like a UI error.<br>
Can you please attach your ui log?<br>
<br>
Also, on the data from &#39;images&#39; table you&#39;ve uploaded, can you describe<br>
which line is the relevant disk?<br>
<br>
Finally (for now), in case the snapshot was deleted, can you please<br>
validate it by viewing the output of:<br>
$ select * from snapshots;<br>
<br>
<br>
<br>
</span>*Regards,*<br>
<br>
*Shani Leviim*<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Feb 26, 2018 at 9:20 AM, Lionel Caignec &lt;<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>&gt; wrote:<br>
<br>
&gt; Hi Shani,<br>
&gt; thank you for helping me with your reply,<br>
&gt; i juste make a little mistake on explanation. In fact it&#39;s the snapshot<br>
&gt; does not exist anymore. This is the disk(s) relative to her wich still<br>
&gt; exist, and perhaps LVM volume.<br>
&gt; So can i delete manually this disk in database? what about the lvm volume?<br>
&gt; Is it better to recreate disk sync data and destroy old one?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ----- Mail original -----<br>
&gt; De: &quot;Shani Leviim&quot; &lt;<a href="mailto:sleviim@redhat.com">sleviim@redhat.com</a>&gt;<br>
&gt; À: &quot;Lionel Caignec&quot; &lt;<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>&gt;<br>
&gt; Cc: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
&gt; Envoyé: Dimanche 25 Février 2018 14:26:41<br>
&gt; Objet: Re: [ovirt-users] Ghost Snapshot Disk<br>
&gt;<br>
&gt; Hi Lionel,<br>
&gt;<br>
&gt; You can try to delete that snapshot directly from the database.<br>
&gt;<br>
&gt; In case of using psql  [1], once you&#39;ve logged in to your database, you can<br>
&gt; run this query:<br>
&gt; $ select * from snapshots where vm_id = &#39;&lt;your_vm_id&gt;&#39;;<br>
&gt; This one would list the snapshots associated with a VM by its id.<br>
&gt;<br>
&gt; In case you don&#39;t have you vm_id, you can locate it by querying:<br>
&gt; $ select * from vms where vm_name = &#39;nil&#39;;<br>
&gt; This one would show you some details about a VM by its name (including the<br>
&gt; vm&#39;s id).<br>
&gt;<br>
&gt; Once you&#39;ve found the relevant snapshot, you can delete it by running:<br>
&gt; $ delete from snapshots where snapshot_id = &#39;&lt;your_snapshot_id&gt;&#39;;<br>
&gt; This one would delete the desired snapshot from the database.<br>
&gt;<br>
&gt; Since it&#39;s a delete operation, I would suggest confirming the ids before<br>
&gt; executing it.<br>
&gt;<br>
&gt; Hope you&#39;ve found it useful!<br>
&gt;<br>
&gt; [1]<br>
&gt; <a href="https://www.ovirt.org/documentation/install-guide/appe-Preparing_a_Remote_" rel="noreferrer" target="_blank">https://www.ovirt.org/<wbr>documentation/install-guide/<wbr>appe-Preparing_a_Remote_</a><br>
&gt; PostgreSQL_Database_for_Use_<wbr>with_the_oVirt_Engine/<br>
&gt;<br>
&gt;<br>
&gt; *Regards,*<br>
&gt;<br>
&gt; *Shani Leviim*<br>
&gt;<br>
&gt; On Fri, Feb 23, 2018 at 9:25 AM, Lionel Caignec &lt;<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; i&#39;ve a problem with snapshot. On one VM i&#39;ve a &quot;snapshot&quot; ghost without<br>
&gt; &gt; name or uuid, only information is size (see attachment). In the snapshot<br>
&gt; &gt; tab there is no trace about this disk.<br>
&gt; &gt;<br>
&gt; &gt; In database (table images) i found this :<br>
&gt; &gt;   f242cc9a-56c1-4ae4-aef0-<wbr>f75eb01f74b1 | 2018-01-17 22:02:00+01 |<br>
&gt; &gt; 2748779069440 | 00000000-0000-0000-0000-<wbr>000000000000 |<br>
&gt; &gt; 00000000-0000-0000-0000-<wbr>000000000000 |           4 | 2018-01-18<br>
&gt; &gt; 22:01:20.5+01   | 0dd2090c-3491-4fa1-98c3-<wbr>54ae88be793c<br>
&gt; &gt;  |           2 |             4 | 17e26476-cecb-441d-a5f7-<wbr>46ab3ef387ee |<br>
&gt; &gt; 2018-01-17 22:01:29.663334+01 | 2018-01-19 08:40:14.345229+01 | f      |<br>
&gt; &gt;                  1 |           2<br>
&gt; &gt;  1c7650fa-542b-4ec2-83a1-<wbr>d2c1c31be5fd | 2018-01-17 22:02:03+01 |<br>
&gt; &gt; 5368709120000 | 00000000-0000-0000-0000-<wbr>000000000000 |<br>
&gt; &gt; 00000000-0000-0000-0000-<wbr>000000000000 |           4 | 2018-01-18<br>
&gt; &gt; 22:01:20.84+01  | 0dd2090c-3491-4fa1-98c3-<wbr>54ae88be793c<br>
&gt; &gt;  |           2 |             4 | bf834a91-c69f-4d2c-b639-<wbr>116ed58296d8 |<br>
&gt; &gt; 2018-01-17 22:01:29.836133+01 | 2018-01-19 08:40:19.083508+01 | f      |<br>
&gt; &gt;                  1 |           2<br>
&gt; &gt;  8614b21f-c0de-40f2-b4fb-<wbr>e5cf193b0743 | 2018-02-09 23:00:44+01 |<br>
&gt; &gt; 5368709120000 | 00000000-0000-0000-0000-<wbr>000000000000 |<br>
&gt; &gt; 00000000-0000-0000-0000-<wbr>000000000000 |           4 | 2018-02-16<br>
&gt; &gt; 23:00:02.855+01 | 390175dc-baf4-4831-936a-<wbr>5ea68fa4c969<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;  But i does not know which line is my disk. Is it possible to delete<br>
&gt; &gt; directly into database?<br>
&gt; &gt;  Or is it better to dump my disk to another new and delete the &quot;corrupted<br>
&gt; &gt; one&quot;?<br>
&gt; &gt;<br>
&gt; &gt;  Another thing, when i try to move the disk to another storage domain i<br>
&gt; &gt; always get &quot;uncaght exeption occured ...&quot; and no error in engine.log.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;  Thank you for helping.<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Lionel Caignec<br>
&gt; &gt;<br>
&gt; &gt; ______________________________<wbr>_________________<br>
&gt; &gt; Users mailing list<br>
&gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div>