Ofer Schreiber has uploaded a new change for review. Change subject: packaging: engin-setup - Drop DB before restore when upgrade fails (BZ#844341) ......................................................................
packaging: engin-setup - Drop DB before restore when upgrade fails (BZ#844341) When the DB upgrade fails, the setup tries to restore the backed up DB. In a specific case, when the upgrade succeeded, but engine-config execution fails, the DB restore fails, since the DB already exists. This patch fixes the restore flow, by adding a call to db drop method. Change-Id: Ic465815c683c0e4241f520960d4acc0dfa59f95a Signed-off-by: Ofer Schreiber <[email protected]> --- M packaging/fedora/setup/engine-setup.py 1 file changed, 10 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/59/6759/1 -- To view, visit http://gerrit.ovirt.org/6759 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic465815c683c0e4241f520960d4acc0dfa59f95a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ofer Schreiber <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
