Last modified: 2013-12-10 14:31:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60092, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58092 - mysql connection not working from jsub
mysql connection not working from jsub
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized blocker
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-06 09:35 UTC by Magnus Manske
Modified: 2013-12-10 14:31 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Magnus Manske 2013-12-06 09:35:39 UTC
When I am my tool "wikidata-terminator", I can run this just fine from shell:

/usr/bin/mysql --defaults-file=/data/project/wikidata-terminator/replica.my.cnf -h wikidatawiki.labsdb wikidatawiki_p


But when a shell script from jsub runs this, all I get is:

ERROR 2003 (HY000): Can't connect to MySQL server on 'wikidatawiki.labsdb' (110)


The very same script worked fine up until a few days ago. This completely breaks my tool. Please advise/fix.



Example run (qstat output):

1779244 0.25005 terminator local-wikida r     12/06/2013 09:04:35 task@tools-exec-01.pmtpa.wmfla     1
Comment 1 Marc A. Pelletier 2013-12-06 13:52:52 UTC
There is currently a known issue with DNS inside labs that is at the top of my priority list and is the cause of this.
Comment 2 Marc A. Pelletier 2013-12-10 14:31:42 UTC
There was a workaround put in place that should prevent this from happening no matter what happens to DNS.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links