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

sbonazzo at redhat.com sbonazzo at redhat.com
Mon Oct 7 11:04:57 UTC 2013


Sandro Bonazzola 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:
  Sandro Bonazzola: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia336e951860f6e1a6a829cabf5e6b5e10592089b
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>



More information about the Engine-commits mailing list