Eli Mesika has uploaded a new change for review. Change subject: core: unlock_entity.sh fails on authentication ......................................................................
core: unlock_entity.sh fails on authentication The DB was configured in pg_hba.conf with md5 This means that in order to run this utility properly you should set the PGPASSWORD or PGPASSFILE environment variable. Example: >PGPASSWORD=xxxxxx ./unlock_entity.sh -u engine -t disk -q I had added this information to the utility help Change-Id: I6055bec6b91d5eb101e6655ed4eea481a6a082f9 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1118191 Signed-off-by: Eli Mesika <[email protected]> --- M packaging/dbscripts/unlock_entity.sh 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/68/30568/1 diff --git a/packaging/dbscripts/unlock_entity.sh b/packaging/dbscripts/unlock_entity.sh index 476dd5f..faffefb 100755 --- a/packaging/dbscripts/unlock_entity.sh +++ b/packaging/dbscripts/unlock_entity.sh @@ -25,6 +25,13 @@ -q - Query db and display a list of the locked entites. ENTITIES - The list of object names in case of vm/template, UUIDs in case of a disk + NOTE: This utility access the database and should have the corresponding credentals. + In case that a password is used to access the database PGPASSWORD or PGPASSFILE should be set. + + Example: + >PGPASSWORD=xxxxxx ./unlock_entity.sh -u engine -t disk -q + + __EOF__ } -- To view, visit http://gerrit.ovirt.org/30568 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6055bec6b91d5eb101e6655ed4eea481a6a082f9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
