Change in ovirt-engine[ovirt-engine-3.3]: packaging: setup: Do not create a new db on upgrade

iheim at redhat.com iheim at redhat.com
Tue Oct 8 08:36:22 UTC 2013


Itamar Heim has submitted this change and it was merged.

Change subject: packaging: setup: Do not create a new db on upgrade
......................................................................


packaging: setup: Do not create a new db on upgrade

Before this change, the following scenario made engine-setup emit
a warning and create a new db:
1. engine-setup
2. service ovirt-engine stop; service postgresql stop
3. engine-setup

This change changes the warning to an error (exception) unless
it's during cleanup.

Bug-Url: https://bugzilla.redhat.com/1014012
Change-Id: Ia336e951860f6e1a6a829cabf5e6b5e10592089b
Signed-off-by: Yedidyah Bar David <didi at redhat.com>
---
M packaging/setup/plugins/ovirt-engine-common/db/connection.py
1 file changed, 14 insertions(+), 10 deletions(-)

Approvals:
  Itamar Heim: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia336e951860f6e1a6a829cabf5e6b5e10592089b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list