<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi Lionel,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Sorry for the delay in replying you.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">If it's possible from your side, syncing the data and destroying old disk sounds about right. <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">In addition, it seems like you're having this bug: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1509629" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1509629</a><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">And it was fixed for version 4.1.9. and above.<br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:tahoma,sans-serif"><b>Regards,<br></b></span></div><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 4:18 PM, Lionel Caignec <span dir="ltr"><<a href="mailto:caignec@cines.fr" target="_blank">caignec@cines.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok so i reply myself,<br>
<br>
Version is 4.1.7.6-1<br>
<br>
I just delete manually a snapshot previously created. But this is an io intensive vm, whit big disk (2,5To, and 5To).<br>
<br>
For the log, i cannot paste all my log on public list security reason, i will send you full in private.<br>
Here is an extract relevant to my error<br>
engine.log-20180210:2018-02-09 23:00:03,200+01 INFO [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (default task-312) [44402a8c-3196-43f0-ba33-<wbr>307ea78e6f49] EVENT_ID: USER_CREATE_SNAPSHOT(45), Correlation ID: 44402a8c-3196-43f0-ba33-<wbr>307ea78e6f49, Job ID: 030cd310-fec9-4a89-8c3f-<wbr>7888504fe973, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Snapshot 'AUTO_7D_zz_nil_20180209_<wbr>220002' creation for VM 'zz_nil' was initiated by snap_user@internal.<br>
engine.log-20180210:2018-02-09 23:01:06,578+01 INFO [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (DefaultQuartzScheduler5) [] EVENT_ID: USER_CREATE_SNAPSHOT_FINISHED_<wbr>SUCCESS(68), Correlation ID: 44402a8c-3196-43f0-ba33-<wbr>307ea78e6f49, Job ID: 030cd310-fec9-4a89-8c3f-<wbr>7888504fe973, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Snapshot 'AUTO_7D_zz_nil_20180209_<wbr>220002' creation for VM 'zz_nil' has been completed.<br>
engine.log-20180220:2018-02-19 17:01:23,800+01 INFO [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (default task-113) [] EVENT_ID: USER_REMOVE_SNAPSHOT(342), Correlation ID: 06a9efa4-1b80-4021-bf3e-<wbr>41ecebe58a88, Job ID: c9a918a7-b00c-43cf-b6de-<wbr>3659ac0765da, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Snapshot 'AUTO_7D_zz_nil_20180209_<wbr>220002' deletion for VM 'zz_nil' was initiated by acaignec@ldap-cines-authz.<br>
engine.log-20180221:2018-02-20 22:24:45,174+01 ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (DefaultQuartzScheduler6) [06a9efa4-1b80-4021-bf3e-<wbr>41ecebe58a88] EVENT_ID: USER_REMOVE_SNAPSHOT_FINISHED_<wbr>FAILURE(357), Correlation ID: 06a9efa4-1b80-4021-bf3e-<wbr>41ecebe58a88, Job ID: c9a918a7-b00c-43cf-b6de-<wbr>3659ac0765da, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to delete snapshot 'AUTO_7D_zz_nil_20180209_<wbr>220002' for VM 'zz_nil'.<br>
2018-02-20 22:24:46,266+01 INFO [org.ovirt.engine.core.bll.<wbr>tasks.SPMAsyncTask] (DefaultQuartzScheduler3) [516079c3] SPMAsyncTask::PollTask: Polling task '34137342-4f30-476d-b16c-<wbr>1cb7e0ea0ac0' (Parent Command 'DestroyImage', Parameters Type 'org.ovirt.engine.core.common.<wbr>asynctasks.<wbr>AsyncTaskParameters') returned status 'finished', result 'success'.<br>
2018-02-20 22:24:46,267+01 INFO [org.ovirt.engine.core.bll.<wbr>tasks.SPMAsyncTask] (DefaultQuartzScheduler3) [516079c3] BaseAsyncTask::<wbr>onTaskEndSuccess: Task '34137342-4f30-476d-b16c-<wbr>1cb7e0ea0ac0' (Parent Command 'DestroyImage', Parameters Type 'org.ovirt.engine.core.common.<wbr>asynctasks.<wbr>AsyncTaskParameters') ended successfully.<br>
2018-02-20 22:24:46,268+01 INFO [org.ovirt.engine.core.bll.<wbr>tasks.CommandAsyncTask] (DefaultQuartzScheduler3) [516079c3] CommandAsyncTask::<wbr>endActionIfNecessary: All tasks of command 'fe8c91f2-386b-4b3f-bbf3-<wbr>aeda8e9244c6' has ended -> executing 'endAction'<br>
2018-02-20 22:24:46,268+01 INFO [org.ovirt.engine.core.bll.<wbr>tasks.CommandAsyncTask] (DefaultQuartzScheduler3) [516079c3] CommandAsyncTask::endAction: Ending action for '1' tasks (command ID: 'fe8c91f2-386b-4b3f-bbf3-<wbr>aeda8e9244c6'): calling endAction '.<br>
2018-02-20 22:24:46,268+01 INFO [org.ovirt.engine.core.bll.<wbr>tasks.CommandAsyncTask] (org.ovirt.thread.pool-6-<wbr>thread-20) [516079c3] CommandAsyncTask::<wbr>endCommandAction [within thread] context: Attempting to endAction 'DestroyImage',<br>
2018-02-20 22:24:46,269+01 ERROR [org.ovirt.engine.core.bll.<wbr>tasks.CommandAsyncTask] (org.ovirt.thread.pool-6-<wbr>thread-20) [516079c3] [within thread]: endAction for action type DestroyImage threw an exception.: java.lang.NullPointerException<br>
at org.ovirt.engine.core.bll.<wbr>tasks.CoCoAsyncTaskHelper.<wbr>endAction(CoCoAsyncTaskHelper.<wbr>java:335) [bll.jar:]<br>
at org.ovirt.engine.core.bll.<wbr>tasks.CommandCoordinatorImpl.<wbr>endAction(<wbr>CommandCoordinatorImpl.java:<wbr>340) [bll.jar:]<br>
at org.ovirt.engine.core.bll.<wbr>tasks.CommandAsyncTask.<wbr>endCommandAction(<wbr>CommandAsyncTask.java:154) [bll.jar:]<br>
at org.ovirt.engine.core.bll.<wbr>tasks.CommandAsyncTask.lambda$<wbr>endActionIfNecessary$0(<wbr>CommandAsyncTask.java:106) [bll.jar:]<br>
at org.ovirt.engine.core.utils.<wbr>threadpool.ThreadPoolUtil$<wbr>InternalWrapperRunnable.run(<wbr>ThreadPoolUtil.java:84) [utils.jar:]<br>
at java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511) [rt.jar:1.8.0_161]<br>
at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266) [rt.jar:1.8.0_161]<br>
at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_161]<br>
at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624) [rt.jar:1.8.0_161]<br>
at java.lang.Thread.run(Thread.<wbr>java:748) [rt.jar:1.8.0_161]<br>
<span class=""><br>
----- Mail original -----<br>
De: "Shani Leviim" <<a href="mailto:sleviim@redhat.com">sleviim@redhat.com</a>><br>
À: "Lionel Caignec" <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>><br>
</span>Envoyé: Lundi 26 Février 2018 14:42:38<br>
<span class="">Objet: Re: [ovirt-users] Ghost Snapshot Disk<br>
<br>
</span><span class="">Yes, please.<br>
Can you detail a bit more regarding the actions you've done?<br>
<br>
I'm assuming that since the snapshot had no description, trying to operate<br>
it caused the nullPointerException you've got.<br>
But I want to examine what was the cause for that.<br>
<br>
Also, can you please answer back to the list?<br>
<br>
<br>
<br>
</span>*Regards,*<br>
<br>
*Shani Leviim*<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Feb 26, 2018 at 3:37 PM, Lionel Caignec <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>> wrote:<br>
<br>
> Version is 4.1.7.6-1<br>
><br>
> Do you want the log from the day i delete snapshot?<br>
><br>
> ----- Mail original -----<br>
> De: "Shani Leviim" <<a href="mailto:sleviim@redhat.com">sleviim@redhat.com</a>><br>
> À: "Lionel Caignec" <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>><br>
> Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> Envoyé: Lundi 26 Février 2018 14:29:16<br>
> Objet: Re: [ovirt-users] Ghost Snapshot Disk<br>
><br>
> Hi,<br>
><br>
> What is your engine version, please?<br>
> I'm trying to reproduce your steps, for understanding better was is the<br>
> cause for that error. Therefore, a full engine log is needed.<br>
> Can you please attach it?<br>
><br>
> Thanks,<br>
><br>
><br>
> *Shani Leviim*<br>
><br>
> On Mon, Feb 26, 2018 at 2:48 PM, Lionel Caignec <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>> wrote:<br>
><br>
> > 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.<br>
> > server.gwt.<wbr>OvirtRemoteLoggingService] (default task-3) [] Permutation<br>
> > name: 8C01181C3B121D0AAE1312275CC964<wbr>15<br>
> > 2018-02-26 13:44:10,001+01 ERROR [org.ovirt.engine.ui.frontend.<br>
> server.gwt.<wbr>OvirtRemoteLoggingService]<br>
> > (default task-3) [] Uncaught exception: com.google.gwt.core.client.<br>
> JavaScriptException:<br>
> > (TypeError)<br>
> > __gwt$exception: <skipped>: Cannot read property 'F' of null<br>
> > at org.ovirt.engine.ui.<wbr>uicommonweb.models.storage.<br>
> > DisksAllocationModel$3.$<wbr>onSuccess(<wbr>DisksAllocationModel.java:120)<br>
> > at org.ovirt.engine.ui.<wbr>uicommonweb.models.storage.<br>
> > DisksAllocationModel$3.<wbr>onSuccess(<wbr>DisksAllocationModel.java:120)<br>
> > at org.ovirt.engine.ui.frontend.<wbr>Frontend$2.$onSuccess(<br>
> Frontend.java:233)<br>
> > [frontend.jar:]<br>
> > at org.ovirt.engine.ui.frontend.<wbr>Frontend$2.onSuccess(Frontend.<br>
> java:233)<br>
> > [frontend.jar:]<br>
> > at org.ovirt.engine.ui.frontend.<wbr>communication.<br>
> > OperationProcessor$2.$<wbr>onSuccess(OperationProcessor.<wbr>java:139)<br>
> > [frontend.jar:]<br>
> > at org.ovirt.engine.ui.frontend.<wbr>communication.<br>
> > OperationProcessor$2.<wbr>onSuccess(OperationProcessor.<wbr>java:139)<br>
> > [frontend.jar:]<br>
> > at org.ovirt.engine.ui.frontend.<wbr>communication.<br>
> > GWTRPCCommunicationProvider$5$<wbr>1.$onSuccess(<wbr>GWTRPCCommunicationProvider.<br>
> java:269)<br>
> > [frontend.jar:]<br>
> > at org.ovirt.engine.ui.frontend.<wbr>communication.<br>
> > GWTRPCCommunicationProvider$5$<wbr>1.onSuccess(<wbr>GWTRPCCommunicationProvider.<br>
> java:269)<br>
> > [frontend.jar:]<br>
> > at com.google.gwt.user.client.<wbr>rpc.impl.<wbr>RequestCallbackAdapter.<br>
> > onResponseReceived(<wbr>RequestCallbackAdapter.java:<wbr>198) [gwt-servlet.jar:]<br>
> > at com.google.gwt.http.client.<wbr>Request.$<wbr>fireOnResponseReceived(<br>
> Request.java:237)<br>
> > [gwt-servlet.jar:]<br>
> > at com.google.gwt.http.client.<wbr>RequestBuilder$1.<br>
> onReadyStateChange(<wbr>RequestBuilder.java:409)<br>
> > [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)<br>
> > [gwt-servlet.jar:]<br>
> > at com.google.gwt.core.client.<wbr>impl.Impl.entry0(Impl.java:<wbr>335)<br>
> > [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>
> ><br>
> > f242cc9a-56c1-4ae4-aef0-<wbr>f75eb01f74b1 | 2018-01-17 22:02:00+01 |<br>
> > 2748779069440 | 00000000-0000-0000-0000-<wbr>000000000000 |<br>
> > 00000000-0000-0000-0000-<wbr>000000000000 | 4 | 2018-01-18<br>
> > 22:01:20.5+01 | 0dd2090c-3491-4fa1-98c3-<wbr>54ae88be793c<br>
> ><br>
> ><br>
> > 3) Snapshot table is empty for the concerned vm_id.<br>
> ><br>
> > ----- Mail original -----<br>
> > De: "Shani Leviim" <<a href="mailto:sleviim@redhat.com">sleviim@redhat.com</a>><br>
> > À: "Lionel Caignec" <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>><br>
> > Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> > Envoyé: Lundi 26 Février 2018 13:31:23<br>
> > Objet: Re: [ovirt-users] Ghost Snapshot Disk<br>
> ><br>
> > Hi Lionel,<br>
> ><br>
> > The error message you've mentioned sounds like a UI error.<br>
> > Can you please attach your ui log?<br>
> ><br>
> > Also, on the data from 'images' table you'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>
> > *Regards,*<br>
> ><br>
> > *Shani Leviim*<br>
> ><br>
> > On Mon, Feb 26, 2018 at 9:20 AM, Lionel Caignec <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>><br>
> wrote:<br>
> ><br>
> > > Hi Shani,<br>
> > > thank you for helping me with your reply,<br>
> > > i juste make a little mistake on explanation. In fact it's the snapshot<br>
> > > does not exist anymore. This is the disk(s) relative to her wich still<br>
> > > exist, and perhaps LVM volume.<br>
> > > So can i delete manually this disk in database? what about the lvm<br>
> > volume?<br>
> > > Is it better to recreate disk sync data and destroy old one?<br>
> > ><br>
> > ><br>
> > ><br>
> > > ----- Mail original -----<br>
> > > De: "Shani Leviim" <<a href="mailto:sleviim@redhat.com">sleviim@redhat.com</a>><br>
> > > À: "Lionel Caignec" <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>><br>
> > > Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> > > Envoyé: Dimanche 25 Février 2018 14:26:41<br>
> > > Objet: Re: [ovirt-users] Ghost Snapshot Disk<br>
> > ><br>
> > > Hi Lionel,<br>
> > ><br>
> > > You can try to delete that snapshot directly from the database.<br>
> > ><br>
> > > In case of using psql [1], once you've logged in to your database, you<br>
> > can<br>
> > > run this query:<br>
> > > $ select * from snapshots where vm_id = '<your_vm_id>';<br>
> > > This one would list the snapshots associated with a VM by its id.<br>
> > ><br>
> > > In case you don't have you vm_id, you can locate it by querying:<br>
> > > $ select * from vms where vm_name = 'nil';<br>
> > > This one would show you some details about a VM by its name (including<br>
> > the<br>
> > > vm's id).<br>
> > ><br>
> > > Once you've found the relevant snapshot, you can delete it by running:<br>
> > > $ delete from snapshots where snapshot_id = '<your_snapshot_id>';<br>
> > > This one would delete the desired snapshot from the database.<br>
> > ><br>
> > > Since it's a delete operation, I would suggest confirming the ids<br>
> before<br>
> > > executing it.<br>
> > ><br>
> > > Hope you've found it useful!<br>
> > ><br>
> > > [1]<br>
> > > <a href="https://www.ovirt.org/documentation/install-guide/" rel="noreferrer" target="_blank">https://www.ovirt.org/<wbr>documentation/install-guide/</a><br>
> > appe-Preparing_a_Remote_<br>
> > > PostgreSQL_Database_for_Use_<wbr>with_the_oVirt_Engine/<br>
> > ><br>
> > ><br>
> > > *Regards,*<br>
> > ><br>
> > > *Shani Leviim*<br>
> > ><br>
> > > On Fri, Feb 23, 2018 at 9:25 AM, Lionel Caignec <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>><br>
> > wrote:<br>
> > ><br>
> > > > Hi,<br>
> > > ><br>
> > > > i've a problem with snapshot. On one VM i've a "snapshot" ghost<br>
> without<br>
> > > > name or uuid, only information is size (see attachment). In the<br>
> > snapshot<br>
> > > > tab there is no trace about this disk.<br>
> > > ><br>
> > > > In database (table images) i found this :<br>
> > > > f242cc9a-56c1-4ae4-aef0-<wbr>f75eb01f74b1 | 2018-01-17 22:02:00+01 |<br>
> > > > 2748779069440 | 00000000-0000-0000-0000-<wbr>000000000000 |<br>
> > > > 00000000-0000-0000-0000-<wbr>000000000000 | 4 | 2018-01-18<br>
> > > > 22:01:20.5+01 | 0dd2090c-3491-4fa1-98c3-<wbr>54ae88be793c<br>
> > > > | 2 | 4 | 17e26476-cecb-441d-a5f7-<br>
> 46ab3ef387ee<br>
> > |<br>
> > > > 2018-01-17 22:01:29.663334+01 | 2018-01-19 08:40:14.345229+01 | f<br>
> > |<br>
> > > > 1 | 2<br>
> > > > 1c7650fa-542b-4ec2-83a1-<wbr>d2c1c31be5fd | 2018-01-17 22:02:03+01 |<br>
> > > > 5368709120000 | 00000000-0000-0000-0000-<wbr>000000000000 |<br>
> > > > 00000000-0000-0000-0000-<wbr>000000000000 | 4 | 2018-01-18<br>
> > > > 22:01:20.84+01 | 0dd2090c-3491-4fa1-98c3-<wbr>54ae88be793c<br>
> > > > | 2 | 4 | bf834a91-c69f-4d2c-b639-<br>
> 116ed58296d8<br>
> > |<br>
> > > > 2018-01-17 22:01:29.836133+01 | 2018-01-19 08:40:19.083508+01 | f<br>
> > |<br>
> > > > 1 | 2<br>
> > > > 8614b21f-c0de-40f2-b4fb-<wbr>e5cf193b0743 | 2018-02-09 23:00:44+01 |<br>
> > > > 5368709120000 | 00000000-0000-0000-0000-<wbr>000000000000 |<br>
> > > > 00000000-0000-0000-0000-<wbr>000000000000 | 4 | 2018-02-16<br>
> > > > 23:00:02.855+01 | 390175dc-baf4-4831-936a-<wbr>5ea68fa4c969<br>
> > > ><br>
> > > ><br>
> > > > But i does not know which line is my disk. Is it possible to delete<br>
> > > > directly into database?<br>
> > > > Or is it better to dump my disk to another new and delete the<br>
> > "corrupted<br>
> > > > one"?<br>
> > > ><br>
> > > > Another thing, when i try to move the disk to another storage<br>
> domain i<br>
> > > > always get "uncaght exeption occured ..." and no error in engine.log.<br>
> > > ><br>
> > > ><br>
> > > > Thank you for helping.<br>
> > > ><br>
> > > > --<br>
> > > > Lionel Caignec<br>
> > > ><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>
> > > ><br>
> > ><br>
> ><br>
><br>
</div></div></blockquote></div><br></div>