
--Apple-Mail=_BCEBD356-B556-4F81-B0FD-E8F17180CECB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 9 Oct 2015, at 13:32, Ars=E8ne Gschwind wrote:
Could anybody tell me if I can just delete these entries without = generating further problems?
Well, I suppose they are not running anymore, right? You didn't start = any snapshot operation recently=85 Did you try all teh options of taskcleaner.sh? If you're out of options=85then I guess just remove them
=20 Thanks for any hint, Ars=E8ne =20 On 10/08/2015 05:49 PM, Ars=E8ne Gschwind wrote:
Yes they are in this table:engine=3D# select command_type, = entity_type from business_entity_snapshot; command_type | = entity_type =20 = -------------------------------------------------+------------------------=
=20 =20 On Thu, Oct 8, 2015 at 12:49 PM, Ars=E8ne Gschwind = <arsene.gschwind@unibas.ch> wrote: Did restart the service and tried to udate again but still the same =
Are there some entries in the DB somewhere? =20 These are compensations so they should be in that table, please try = executing this query: select command_type, entity_type from business_entity_snapshot to check if they are there. =20 You could use /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh = utility to cleanup there. =20 Thanks, Ars=E8ne =20 =20 On 10/08/2015 12:33 PM, Raz Tamir wrote:
As part of the update process, the ovirt-engine service will = restart. Can you try restart it manually with 'service ovirt-engine restart' = and try the update again? =20 =20 =20 Thanks, Raz Tamir Red Hat Israel =20 On Thu, Oct 8, 2015 at 1:27 PM, Ars=E8ne Gschwind = <arsene.gschwind@unibas.ch> wrote: The update still fails with the same problems. Running that command on the spm host returns nothing. =20 Thanks, Ars=E8ne =20 =20 On 10/08/2015 12:08 PM, Raz Tamir wrote:
Ok, so try to update again, and if you fail, please run 'vdsClient = -s 0 getAllTasks' from your spm host and provide the output =20 =20 =20 Thanks, Raz Tamir Red Hat Israel =20 On Thu, Oct 8, 2015 at 12:55 PM, Ars=E8ne Gschwind = <arsene.gschwind@unibas.ch> wrote: Hi Raz, =20 The table is empty: =20 engine=3D# select * from async_tasks; task_id | action_type | status | result | step_id | command_id | = started_at | storage_pool_id | task_type | vdsm_task_id | root_comm and_id | user_id=20 = ---------+-------------+--------+--------+---------+------------+---------= ---+-----------------+-----------+--------------+---------- -------+--------- (0 rows) =20 Thanks for your help, Ars=E8ne =20 =20 =20 On 10/07/2015 08:59 PM, Raz Tamir wrote:
Hi Ars=E8ne, =46rom the engine run the following commands: 1. # su - postgres 2. # psql -d engine 3. please, provide the output of this command: # select * from async_tasks ; =20 =20 =20 Thanks, Raz Tamir Red Hat Israel =20 On Wed, Oct 7, 2015 at 6:34 PM, Ars=E8ne Gschwind = <arsene.gschwind@unibas.ch> wrote: Any idea how to get ride of those tasks? =20 Thanks a lot Ars=E8ne =20 =20 On 10/06/2015 02:43 PM, Ars=E8ne Gschwind wrote: Hi, =20 I would like to update ovirt to 3.5.4 from 3.5.3 but engine-setup = fails due to remove snapshot tasks. =20 [ INFO ] Cleaning async tasks and compensations The following system tasks have been found running in =
The following commands have been found running in the =
system:
The following compensations have been found running in =
org.ovirt.engine.core.bll.RemoveSnapshotCommand | = org.ovirt.engine.core.common.businessentities.Snapshot org.ovirt.engine.core.bll.RemoveSnapshotCommand | = org.ovirt.engine.core.common.businessentities.Snapshot org.ovirt.engine.core.bll.RemoveSnapshotCommand | = org.ovirt.engine.core.common.businessentities.Snapshot org.ovirt.engine.core.bll.RemoveSnapshotCommand | = org.ovirt.engine.core.common.businessentities.Snapshot (4 rows) =20 engine=3D#=20 =20 The doc says that taskcleaner.sh should be called by ovirt-setup, I = can see it in the log, it is called but it doesn't clean that = compensations.=20 Could I just remove these entries? =20 Thanks for your help, Ars=E8ne =20 =20 On 10/08/2015 04:48 PM, Simone Tiraboschi wrote: problem. the system: the system:
org.ovirt.engine.core.bll.RemoveSnapshotCommand =
org.ovirt.engine.core.common.businessentities.Snapshot
org.ovirt.engine.core.bll.RemoveSnapshotCommand =
org.ovirt.engine.core.common.businessentities.Snapshot
org.ovirt.engine.core.bll.RemoveSnapshotCommand =
org.ovirt.engine.core.common.businessentities.Snapshot
org.ovirt.engine.core.bll.RemoveSnapshotCommand =
org.ovirt.engine.core.common.businessentities.Snapshot
Would you like to try to wait for that? =20 This tasks are not showing up in the task monitor and I have no =
idea how to get them away to be abl to update.
=20 Thanks for any hint/help =20 rgds, Ars=E8ne _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20 =20 =20 =20 =20 =20 =20
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20 =20 =20 =20
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_BCEBD356-B556-4F81-B0FD-E8F17180CECB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><br><div><div>On 9 Oct 2015, at 13:32, Ars=E8ne Gschwind = wrote:</div><br class=3D"Apple-interchange-newline"><blockquote = type=3D"cite"> =20 <meta content=3D"text/html; charset=3Dutf-8" = http-equiv=3D"Content-Type"> =20 <div text=3D"#000000" bgcolor=3D"#FFFFFF"> Could anybody tell me if I can just delete these entries without generating further = problems?<br></div></blockquote><div><br></div>Well, I suppose they are = not running anymore, right? You didn't start any snapshot operation = recently=85</div><div>Did you try all teh options of = taskcleaner.sh?</div><div>If you're out of options=85then I guess just = remove them</div><div><br></div><div><blockquote type=3D"cite"><div = text=3D"#000000" bgcolor=3D"#FFFFFF"> <br> Thanks for any hint,<br> Ars=E8ne<br> <br> <div class=3D"moz-cite-prefix">On 10/08/2015 05:49 PM, Ars=E8ne = Gschwind wrote:<br> </div> <blockquote cite=3D"mid:5616909F.1050908@unibas.ch" type=3D"cite"> <meta content=3D"text/html; charset=3Dutf-8" = http-equiv=3D"Content-Type"> Yes they are in this table:engine=3D# select command_type, entity_type from business_entity_snapshot;<br> = &n= bsp; = command_type &n= bsp; = | &= nbsp; = entity_type &nb= sp; = <br> = -------------------------------------------------+------------------------= --------------------------------<br> org.ovirt.engine.core.bll.RemoveSnapshotCommand | org.ovirt.engine.core.common.businessentities.Snapshot<br> org.ovirt.engine.core.bll.RemoveSnapshotCommand | org.ovirt.engine.core.common.businessentities.Snapshot<br> org.ovirt.engine.core.bll.RemoveSnapshotCommand | org.ovirt.engine.core.common.businessentities.Snapshot<br> org.ovirt.engine.core.bll.RemoveSnapshotCommand | org.ovirt.engine.core.common.businessentities.Snapshot<br> (4 rows)<br> <br> engine=3D# <br> <br> The doc says that taskcleaner.sh should be called by ovirt-setup, I can see it in the log, it is called but it doesn't clean that compensations. <br> Could I just remove these entries?<br> <br> Thanks for your help,<br> Ars=E8ne<br> <br> <br> <div class=3D"moz-cite-prefix">On 10/08/2015 04:48 PM, Simone Tiraboschi wrote:<br> </div> <blockquote = cite=3D"mid:CAN8-ONoqZ10LrOFyv4Vm8HV=3Dfy=3DU-8bVXZFZ2pwzaED9jtUQkg@mail.g= mail.com" type=3D"cite"> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8"> <div dir=3D"ltr"><br> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Thu, Oct 8, 2015 at 12:49 PM, Ars=E8ne Gschwind <span dir=3D"ltr"><<a = moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" = href=3D"mailto:arsene.gschwind@unibas.ch"></a><a = class=3D"moz-txt-link-abbreviated" = href=3D"mailto:arsene.gschwind@unibas.ch">arsene.gschwind@unibas.ch</a>>= ;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px = 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left= -style:solid;padding-left:1ex"> <div text=3D"#000000" bgcolor=3D"#FFFFFF"> Did restart = the service and tried to udate again but still the same problem.<br> Are there some entries in the DB somewhere?<br> </div> </blockquote> <div><br> </div> These are compensations so they should be in that table, please try executing this query:<br> select command_type, entity_type from business_entity_snapshot<br> to check if they are there.<br> <br> You could use /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh utility to cleanup there.<br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px = 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left= -style:solid;padding-left:1ex"> <div text=3D"#000000" bgcolor=3D"#FFFFFF"> Thanks,<br> Ars=E8ne <div> <div class=3D"h5"><br> <br> <div>On 10/08/2015 12:33 PM, Raz Tamir wrote:<br> </div> <blockquote type=3D"cite"> <div dir=3D"ltr"> <div = style=3D"font-size:small;color:rgb(0,0,0)"><font face=3D"arial, = helvetica, sans-serif">As part of the update process, the ovirt-engine service will = restart.</font></div> <div = style=3D"font-size:small;color:rgb(0,0,0)"><font face=3D"arial, = helvetica, sans-serif">Can you try restart it manually with 'service ovirt-engine restart' and try the update again?</font></div> <div class=3D"gmail_extra"><br clear=3D"all"> <div> <div> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div> <div dir=3D"ltr"><font = face=3D"times new roman, serif" = size=3D"4"><br> </font></div> <div dir=3D"ltr"><font = face=3D"arial, helvetica, sans-serif" size=3D"2"= color=3D"#000000"><br> </font></div> <div dir=3D"ltr"><font = face=3D"arial, helvetica, sans-serif" size=3D"2"= color=3D"#000000">Thanks,</font> <div><font = face=3D"arial, helvetica, sans-serif" = size=3D"2" color=3D"#000000">Raz Tamir</font></div> <div><font = face=3D"arial, helvetica, sans-serif" = size=3D"2" color=3D"#000000">Red Hat = Israel</font></div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <br> <div class=3D"gmail_quote">On Thu, Oct 8, = 2015 at 1:27 PM, Ars=E8ne Gschwind <span = dir=3D"ltr"><<a moz-do-not-send=3D"true" = class=3D"moz-txt-link-abbreviated" = href=3D"mailto:arsene.gschwind@unibas.ch">arsene.gschwind@unibas.ch</a>>= ;</span> wrote:<br> <blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px = 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left= -style:solid;padding-left:1ex"> <div text=3D"#000000" bgcolor=3D"#FFFFFF">= The update still fails with the same problems.<br> Running that command on the spm host returns nothing.<br> <br> Thanks,<br> Ars=E8ne <div> <div><br> <br> <div>On 10/08/2015 12:08 PM, Raz Tamir wrote:<br> </div> <blockquote type=3D"cite"> <div dir=3D"ltr"> <div style=3D"font-family:'times= new = roman',serif;font-size:large">Ok, so try to update again, and if you fail, please run 'vdsClient -s 0 getAllTasks' from your spm host and provide the output</div> </div> <div class=3D"gmail_extra"><br = clear=3D"all"> <div> <div> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div> <div = dir=3D"ltr"><font face=3D"times new roman, serif" = size=3D"4"><br> </font></div> <div = dir=3D"ltr"><font face=3D"times new roman, serif" = size=3D"4"><br> </font></div> <div = dir=3D"ltr"><font face=3D"times new roman, serif" = size=3D"4">Thanks,</font> <div><font = face=3D"times new roman, serif" = size=3D"4">Raz = Tamir</font></div> <div><font = face=3D"times new roman, serif" = size=3D"4">Red Hat = Israel</font></div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <br> <div class=3D"gmail_quote">On Thu, Oct 8, 2015 at 12:55 PM, Ars=E8ne Gschwind <span = dir=3D"ltr"><<a moz-do-not-send=3D"true" = class=3D"moz-txt-link-abbreviated" = href=3D"mailto:arsene.gschwind@unibas.ch"></a><a = class=3D"moz-txt-link-abbreviated" = href=3D"mailto:arsene.gschwind@unibas.ch">arsene.gschwind@unibas.ch</a>>= ;</span> wrote:<br> <blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left= -style:solid;padding-left:1ex"> <div text=3D"#000000" = bgcolor=3D"#FFFFFF"> Hi Raz,<br> <br> The table is empty:<br> <br> engine=3D# select * from async_tasks;<br> task_id | = action_type | status | result | step_id | command_id | started_at | storage_pool_id | task_type | vdsm_task_id | root_comm<br> and_id | user_id <br> = ---------+-------------+--------+--------+---------+------------+---------= ---+-----------------+-----------+--------------+----------<br> -------+---------<br> (0 rows)<br> <br> Thanks for your = help,<br> Ars=E8ne <div> <div><br> <br> <br> <div>On 10/07/2015 08:59 PM, Raz Tamir wrote:<br> </div> <blockquote = type=3D"cite"> <div dir=3D"ltr"> <div><font = face=3D"times new roman, serif" = size=3D"4">Hi <span = style=3D"color:rgb(51,51,51);line-height:20px">Ars=E8ne,</span><br> </font></div> <div><font = face=3D"times new roman, serif" = size=3D"4"><span style=3D"color:rgb(51,51,51);line-height:20px">=46rom = the engine run the following = commands:</span></font></div> <div><font = face=3D"times new roman, serif" = size=3D"4" color=3D"#333333"><span style=3D"line-height:20px">1. # su - = postgres</span></font></div> <div><font = face=3D"times new roman, serif" = size=3D"4" color=3D"#333333"><span style=3D"line-height:20px">2. # psql = -d engine</span></font></div> <div><font = face=3D"times new roman, serif" = size=3D"4" color=3D"#333333"><span style=3D"line-height:20px">3. please, = provide the output of this command:</span></font></div> <div><font = face=3D"times new roman, serif" = size=3D"4" color=3D"#333333"><span style=3D"line-height:20px"> = # select * from async_tasks ;</span></font></div> <div = class=3D"gmail_extra"><font face=3D"times new roman, serif" = size=3D"4"><br clear=3D"all"> </font> <div> <div> <div = dir=3D"ltr"> <div> <div = dir=3D"ltr"> <div> <div = dir=3D"ltr"> <div> <div = dir=3D"ltr"><font face=3D"times new roman, serif" = size=3D"4"><br> </font></div> <div = dir=3D"ltr"><font face=3D"times new roman, serif" = size=3D"4"><br> </font></div> <div = dir=3D"ltr"><font face=3D"times new roman, serif" = size=3D"4">Thanks,</font> <div><font = face=3D"times new roman, serif" = size=3D"4">Raz = Tamir</font></div> <div><font = face=3D"times new roman, serif" = size=3D"4">Red Hat = Israel</font></div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <font = face=3D"times new roman, serif" = size=3D"4"><br> </font> <div = class=3D"gmail_quote"><font face=3D"times new roman, serif" = size=3D"4">On Wed, Oct 7, 2015 at 6:34 PM, Ars=E8ne Gschwind <span = dir=3D"ltr"><<a moz-do-not-send=3D"true" = class=3D"moz-txt-link-abbreviated" = href=3D"mailto:arsene.gschwind@unibas.ch"></a><a = class=3D"moz-txt-link-abbreviated" = href=3D"mailto:arsene.gschwind@unibas.ch">arsene.gschwind@unibas.ch</a>>= ;</span> wrote:<br> </font> <blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left= -style:solid;padding-left:1ex"><font face=3D"times new roman, serif" = size=3D"4">Any idea how to get ride of those = tasks?<br> <br> Thanks a = lot<span><font color=3D"#888888"><br> = Ars=E8ne</font></span></font> <div> <div><font = face=3D"times new roman, serif" = size=3D"4"><br> <br> On 10/06/2015 02:43 PM, Ars=E8ne Gschwind wrote:<br> </font> <blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left= -style:solid;padding-left:1ex"><font face=3D"times new roman, serif" = size=3D"4"> Hi,<br> <br> I would like to update ovirt to 3.5.4 from 3.5.3 but engine-setup fails due to remove snapshot tasks.<br> <br> [ INFO ] Cleaning async tasks and = compensations<br> = The following system tasks have been found running in the = system:<br> = The following commands have been found running in the system:<br> = The following compensations have been found running in the = system:<br> = = org.ovirt.engine.core.bll.RemoveSnapshotCommand org.ovirt.engine.core.common.businessentities.Snapshot<br> = = org.ovirt.engine.core.bll.RemoveSnapshotCommand org.ovirt.engine.core.common.businessentities.Snapshot<br> = = org.ovirt.engine.core.bll.RemoveSnapshotCommand org.ovirt.engine.core.common.businessentities.Snapshot<br> = = org.ovirt.engine.core.bll.RemoveSnapshotCommand org.ovirt.engine.core.common.businessentities.Snapshot<br> = Would you like to try to wait for that?<br> <br> This tasks are not showing up in the task monitor and I have no idea how to get them away to be abl to update.<br> <br> Thanks for any hint/help<br> <br> rgds, = Ars=E8ne<br> _______________________________________________<br> Users mailing list<br> <a = moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" = href=3D"mailto:Users@ovirt.org"></a><a class=3D"moz-txt-link-abbreviated" = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a = moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"http://lists.ovirt.org/mailman/listinfo/users"></a><a = class=3D"moz-txt-link-freetext" = href=3D"http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.= org/mailman/listinfo/users</a><br> = </font></blockquote> <font = face=3D"times new roman, serif" = size=3D"4"><br> _______________________________________________<br> Users mailing list<br> <a = moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" = href=3D"mailto:Users@ovirt.org"></a><a class=3D"moz-txt-link-abbreviated" = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a = moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext" = href=3D"http://lists.ovirt.org/mailman/listinfo/users"></a><a = class=3D"moz-txt-link-freetext" = href=3D"http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.= org/mailman/listinfo/users</a><br> </font></div> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> </div> </div> </div> </blockquote> </div> <br> </div> </blockquote> <br> </div> </div> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> </div> </div> </div> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send=3D"true" = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a moz-do-not-send=3D"true" = href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer" = target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> </div> </div> </blockquote> <br> </blockquote> <br> </div> _______________________________________________<br>Users mailing = list<br><a = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br>http://lists.ovirt.= org/mailman/listinfo/users<br></blockquote></div><br></body></html>= --Apple-Mail=_BCEBD356-B556-4F81-B0FD-E8F17180CECB--