Alon Bar-Lev has posted comments on this change.
Change subject: packaging: added DB validation functions
......................................................................
Patch Set 10: (3 inline comments)
....................................................
File packaging/setup/plugins/ovirt-engine-setup/upgrade/asynctasks.py
Line 134: '-q',
Line 135: ),
Line 136: raiseOnError=False,
Line 137: envAppend={
Line 138: 'PGPASSFILE': self.environment[
Should be ENGINE_PGPASS
Line 139: osetupcons.DBEnv.PGPASS_FILE
Line 140: ]
Line 141: },
Line 142: )
....................................................
File packaging/setup/plugins/ovirt-engine-setup/upgrade/dbvalidations.py
Line 66: return self.execute(
Line 67: args,
Line 68: raiseOnError=False,
Line 69: envAppend={
Line 70: 'PGPASSFILE': self.environment[
ENGINE_PGPASS
Line 71: osetupcons.DBEnv.PGPASS_FILE
Line 72: ]
Line 73: },
Line 74: )
Line 106: )
Line 107: def _setup(self):
Line 108: self._enabled = os.path.exists(
Line 109: osetupcons.FileLocations.OVIRT_ENGINE_PKI_ENGINE_CA_CERT
Line 110: )
Check for ACTION = upgrade?
Line 111:
Line 112: @plugin.event(
Line 113: stage=plugin.Stages.STAGE_VALIDATION,
Line 114: priority=plugin.Stages.PRIORITY_LOW,
--
To view, visit http://gerrit.ovirt.org/15970
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I25979acbf54d980168be929638ff4aed800bf6d3
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches