Alon Bar-Lev has posted comments on this change.

Change subject: packaging: setup: weird message on cleanup if no db
......................................................................


Patch Set 1:

(1 comment)

....................................................
File packaging/setup/plugins/ovirt-engine-common/db/connection.py
Line 120:                 self.environment[otopicons.CoreEnv.LOG_FILTER].append(
Line 121:                     dbenv[osetupcons.DBEnv.PASSWORD]
Line 122:                 )
Line 123: 
Line 124:                 self.environment.update(dbenv)
yes, I prefer that... we discussed it long ago. and I think that you can remove 
the check for installation valid at cleanup, as now the error will be sane.

for the question... I do not like to have something in environment that is not 
committed, then in the following code you have exception and you have non 
default environment to handle recovery.
Line 125:                 dbovirtutils = database.OvirtUtils(plugin=self)
Line 126:                 dbovirtutils.tryDatabaseConnect(dbenv)
Line 127:                 self.environment[
Line 128:                     osetupcons.DBEnv.NEW_DATABASE


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I440e66c9f99377c8dda02681f5e0761c31fdc839
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to