Eli Mesika has uploaded a new change for review.
Change subject: improve unlock_entity.sh log message
......................................................................
improve unlock_entity.sh log message
Fix the following issue
1) Add the name of the running script (${0}) to the message start and
say that it was invoked manually
2) Fix a problem of empty DB user name in the message resulted from
using the wrong variable holding the DB user.
Change-Id: I44fb5e8e66e2810a38ceae9520ad3dd57a27cfa8
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1209786
Signed-off-by: emesika <[email protected]>
---
M packaging/setup/dbutils/unlock_entity.sh
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/09/42409/1
diff --git a/packaging/setup/dbutils/unlock_entity.sh
b/packaging/setup/dbutils/unlock_entity.sh
index 483f61c..c356855 100755
--- a/packaging/setup/dbutils/unlock_entity.sh
+++ b/packaging/setup/dbutils/unlock_entity.sh
@@ -74,7 +74,7 @@
'USER_RUN_UNLOCK_ENTITY_SCRIPT',
2024,
10,
- 'System user ${user} run unlock_entity
script on ${object_type} ${id} with db user ${DBUTILS_DB_USER}}'
+ '${0} : System user ${user} run
manually unlock_entity script on entity [type,id] [${object_type},${id}] with
db user ${DBFUNC_DB_USER}}'
)
"
echo "unlock ${object_type} ${id} completed
successfully."
--
To view, visit https://gerrit.ovirt.org/42409
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I44fb5e8e66e2810a38ceae9520ad3dd57a27cfa8
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