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 <alou...@redhat.com> Signed-off-by: Juan Hernandez <juan.hernan...@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 <alou...@redhat.com> Gerrit-Reviewer: Alex Lourie <alou...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Kiril Nesenko <knese...@redhat.com> Gerrit-Reviewer: Moran Goldboim <mgold...@redhat.com> Gerrit-Reviewer: Ofer Schreiber <oschr...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches