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

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Thu Feb 26 11:37:51 UTC 2015


Piotr Kliczewski 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/1196136
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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I73dcb9ee0a465ef9552a085e59ab36576ee3b660
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5.2
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list