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(a)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(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org