Eli Mesika has uploaded a new change for review.

Change subject: core:ovirt-engine-backend: engine.log is flooded..
......................................................................

core:ovirt-engine-backend: engine.log is flooded..

ovirt-engine-backend: engine.log is flooded by Failed to decrypt Data

Excluding the key store password (keystorePass) out of the list, so it
will not be
encrypted.

Change-Id: Ife6005688a06d62a740970ea14b617010d6b9b2d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=880978
Signed-off-by: Eli Mesika <[email protected]>
---
M backend/manager/dbscripts/encryptionvalidator.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/64/14364/1

diff --git a/backend/manager/dbscripts/encryptionvalidator.sh 
b/backend/manager/dbscripts/encryptionvalidator.sh
index 5f0e570..665b715 100755
--- a/backend/manager/dbscripts/encryptionvalidator.sh
+++ b/backend/manager/dbscripts/encryptionvalidator.sh
@@ -10,7 +10,7 @@
 
 CERTIFICATE="/etc/pki/ovirt-engine/certs/engine.cer"
 FIXIT=false
-CONFIG_SELECT_CMD="select a.option_name as key , a.option_value as val  from 
vdc_options a where (option_name ilike '%%password' or option_name ilike 
'%%pass') and length(option_value) > 0 and length(option_value)  < 100;"
+CONFIG_SELECT_CMD="select a.option_name as key , a.option_value as val  from 
vdc_options a where (option_name ilike '%%password' or option_name ilike 
'%%pass') and option_name not ilike 'keystorePass' and length(option_value) > 0 
and length(option_value)  < 100;"
 HOST_PM_PRIMARY_SELECT_CMD="select a.vds_id as key, a.pm_password as val from 
vds_static a where pm_enabled and length(pm_password) > 0 and 
length(pm_password) < 100;"
 HOST_PM_SECONDARY_SELECT_CMD="select a.vds_id as key, a.pm_secondary_password 
as val from vds_static a where pm_enabled and length(pm_secondary_password) > 0 
and length(pm_secondary_password) < 100;"
 STORAGE_SELECT_CMD="select a.connection as key , a.password as val from 
storage_server_connections a where length(password) > 0 and length(password) < 
100;"


--
To view, visit http://gerrit.ovirt.org/14364
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife6005688a06d62a740970ea14b617010d6b9b2d
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

Reply via email to