Simone Tiraboschi has uploaded a new change for review.

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.

Change-Id: I73dcb9ee0a465ef9552a085e59ab36576ee3b660
Bug-Url: https://bugzilla.redhat.com/1119639
Signed-off-by: Simone Tiraboschi <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/02/36302/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
index dc73be9..56e6725 100644
--- 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
+++ 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py
@@ -138,6 +138,7 @@
                 '-p', str(self.environment[oenginecons.EngineDBEnv.PORT]),
                 '-d', self.environment[oenginecons.EngineDBEnv.DATABASE],
                 '-R',
+                '-z',
                 '-A',
                 '-J',
                 '-q',


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I73dcb9ee0a465ef9552a085e59ab36576ee3b660
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to