Jcrespo has submitted this change and it was merged.

Change subject: eventlogging_sync: By pass ssl check on localhost
......................................................................


eventlogging_sync: By pass ssl check on localhost

The error logs are getting flooded with errors from the
SSL certificate.
When running this in localhost there is no need to check for the
SSL cert, so skipping it.

Bug: T152364
Change-Id: Ibb92a3d4c18e8f18887ef1089ab634a449f7b1f2
---
M files/mariadb/eventlogging_sync.sh
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jcrespo: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/files/mariadb/eventlogging_sync.sh 
b/files/mariadb/eventlogging_sync.sh
index 8dc433f..339e026 100755
--- a/files/mariadb/eventlogging_sync.sh
+++ b/files/mariadb/eventlogging_sync.sh
@@ -19,9 +19,9 @@
 mhost='m4-master.eqiad.wmnet'
 shost="localhost"
 
-slave="mysql -h $shost --compress --skip-column-names"
-master="mysql -h $mhost --compress --skip-column-names"
-dump="mysqldump -h $mhost --skip-opt --single-transaction --quick 
--skip-triggers"
+slave="mysql -h $shost --compress --skip-column-names --skip-ssl"
+master="mysql -h $mhost --compress --skip-column-names --skip-ssl"
+dump="mysqldump --skip-ssl -h $mhost --skip-opt --single-transaction --quick 
--skip-triggers"
 dumpdata="$dump --no-create-info --insert-ignore --extended-insert --compress 
--hex-blob"
 querytables="select table_name from information_schema.tables where 
table_schema = '$db' and table_name"
 # select this many rows per table at a time

-- 
To view, visit https://gerrit.wikimedia.org/r/325257
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb92a3d4c18e8f18887ef1089ab634a449f7b1f2
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui <maroste...@wikimedia.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Jcrespo <jcre...@wikimedia.org>
Gerrit-Reviewer: Marostegui <maroste...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to