Sandro Bonazzola has posted comments on this change.
Change subject: packaging: setup: fix DB detection and owner from previous
versions
......................................................................
Patch Set 5:
(1 comment)
....................................................
File packaging/common_utils.py
Line 1215:
Line 1216: return True
Line 1217:
Line 1218:
Line 1219: def updateDbOwner(db_dict):
I think you can just call
/usr/share/ovirt-engine/setup/dbutils/changedbowner.sh with the right
parameters here.
If that's enough for you, you can avoid code duplication here :-)
Line 1220: logging.debug('Updating DB owner')
Line 1221: _RE_OWNER = re.compile(r'^([\w,.\(\)]+\s+)+OWNER TO
(?P<owner>\w+).*$')
Line 1222: out, rc = runPostgresSuCommand(
Line 1223: command=EXEC_PGDUMP,
--
To view, visit http://gerrit.ovirt.org/20154
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic2fe256660b233bc682dc22e79cf58d34c546c3a
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Yaniv Dary <[email protected]>
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches