Change in ovirt-engine[master]: packaging: Handling active tasks during upgrade

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Oct 29 12:05:58 UTC 2012


Juan Hernandez has submitted this change and it was merged.

Change subject: packaging: Handling active tasks during upgrade
......................................................................


packaging: Handling active tasks during upgrade

Added a function call that checks that there are no running
tasks nor compensations. If there are such tasks, we first try
to stop them, and if there are still tasks after a certain
timeout, we stop the upgrade and recommend clearing the tasks
before they continue.

This patch also adds functions that are used to configure the
engine in maintenance mode during upgrades.
(cherry picked from commit e37d4932fc47773c4a0a55dc4cad378f819f1770)

Change-Id: I90abb3d1e6ad0ac5557485e40064e811fc87f491
Signed-off-by: Alex Lourie <alourie at redhat.com>
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M Makefile
A packaging/fedora/setup/add_fn_db_get_async_tasks_function.sql
M packaging/fedora/setup/basedefs.py
M packaging/fedora/setup/common_utils.py
M packaging/fedora/setup/engine-upgrade.py
M packaging/fedora/setup/output_messages.py
M packaging/fedora/spec/ovirt-engine.spec.in
7 files changed, 293 insertions(+), 6 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I90abb3d1e6ad0ac5557485e40064e811fc87f491
Gerrit-PatchSet: 13
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>



More information about the Engine-commits mailing list