Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: setup: fix database clean at remove
......................................................................

packaging: setup: fix database clean at remove

connection information is required for remove as well.

Change-Id: Ie19401bcc1f10f0c07ad886c075fd630b8b1bc44
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-common/db/connection.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/91/16591/1

diff --git a/packaging/setup/plugins/ovirt-engine-common/db/connection.py 
b/packaging/setup/plugins/ovirt-engine-common/db/connection.py
index 0e36882..75f33e2 100644
--- a/packaging/setup/plugins/ovirt-engine-common/db/connection.py
+++ b/packaging/setup/plugins/ovirt-engine-common/db/connection.py
@@ -89,7 +89,7 @@
         name=osetupcons.Stages.DB_CONNECTION_SETUP,
         condition=lambda self: self.environment[
             osetupcons.CoreEnv.ACTION
-        ] == osetupcons.Const.ACTION_UPGRADE,
+        ] != osetupcons.Const.ACTION_SETUP,
     )
     def _setup(self):
         config = osetuputil.ConfigFile([


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie19401bcc1f10f0c07ad886c075fd630b8b1bc44
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to