Eli Mesika has submitted this change and it was merged.
Change subject: core: engine.log is flooded by Failed to decrypt..
......................................................................
core: engine.log is flooded by Failed to decrypt..
engine.log is flooded by Failed to decrypt Data Errors
Since this occured rarely on upgrades, we had decided to give a utility
that will fix that and be used by GSS.
Usage: encryptionvalidator.sh [-h] [-s SERVERNAME [-p PORT]] [-d
DATABASE] [-u USERNAME] [-l LOGFILE] [-c CERTIFICATE] [-f] [-v]
-s SERVERNAME - The database servername for the database
(def.localhost)
-p PORT - The database port for the database (def.5432)
-d DATABASE - The database name (def.engine)
-u USERNAME - The admin username for the database.
-l LOGFILE - The logfile for capturing output
(def.encryptionvalidator.sh.log)
-c CERTIFICATE- The certificate file to use for the encryption.(def
/etc/pki/ovirt-engine/certs/engine.cer)
-f - Fix the non encrypted data in DB.
-v - Turn on verbosity (WARNING: lots of output)
-h - This help text.
Change-Id: I0fb6694ad78b3e92e001c20dc5815c0d45cf15ca
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
A backend/manager/dbscripts/encryptionvalidator.sh
1 file changed, 126 insertions(+), 0 deletions(-)
Approvals:
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/12702
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0fb6694ad78b3e92e001c20dc5815c0d45cf15ca
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>