Change in ovirt-engine[master]: packaging: setup: clearing only zombie tasks

sbonazzo at redhat.com sbonazzo at redhat.com
Thu Feb 26 11:31:01 UTC 2015


Sandro Bonazzola has submitted this change and it was merged.

Change subject: packaging: setup: clearing only zombie tasks
......................................................................


packaging: setup: clearing only zombie tasks

We cannot upgrade while async tasks are still running and we have
to wait till they ends.
To avoid getting stuck we need to clear zombie task from the list
before checking if we have to wait.
If installed version is 3.5 or upper, before removing zombie tasks
we have also to remove zombie commands so we have to call
the taskcleaner utility twice.

Change-Id: I73dcb9ee0a465ef9552a085e59ab36576ee3b660
Bug-Url: https://bugzilla.redhat.com/1119639
Bug-Url: https://bugzilla.redhat.com/1164771
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
---
M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
1 file changed, 50 insertions(+), 24 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Simone Tiraboschi: Verified
  oVirt Jenkins CI Server: Looks good to me, but someone else must approve
  Yair Zaslavsky: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/36302
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I73dcb9ee0a465ef9552a085e59ab36576ee3b660
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <wallaroo1976 at gmail.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list