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 <d...@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 <d...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschr...@redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to