Last modified: 2013-12-10 14:31:06 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 T60087, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58087 - MySQL connections fail on execnodes 01 and 09 with "Unknown MySQL server host"
MySQL connections fail on execnodes 01 and 09 with "Unknown MySQL server host"
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized critical
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-06 08:02 UTC by Ben Kurtovic
Modified: 2013-12-10 14:31 UTC (History)
3 users (show)

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


Attachments

Description Ben Kurtovic 2013-12-06 08:02:00 UTC
local-earwigbot@tools-login:~$ python
>>> import oursql
>>> oursql.connect(host="enwiki.labsdb", db="enwiki_p", read_default_file="/data/project/earwigbot/replica.my.cnf")
<oursql.Connection object at 0x7f95d98792f0>
>>>
local-earwigbot@tools-login:~$ ssh tools-exec-09
local-earwigbot@tools-exec-09:~$ python
>>> import oursql
>>> oursql.connect(host="enwiki.labsdb", db="enwiki_p", read_default_file="/data/project/earwigbot/replica.my.cnf")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "connection.pyx", line 150, in oursql.Connection.__cinit__ (oursqlx/oursql.c:5482)
  File "connection.pyx", line 183, in oursql.Connection._raise_error (oursqlx/oursql.c:5885)
oursql.InterfaceError: (2005, "Unknown MySQL server host 'enwiki.labsdb' (0)", None)
>>>

This happens on 09 and 01 for all databases, whereas 02-08 have no issues. 09 seems to get the error immediately while 01 takes about a minute to fail.
Comment 1 Marc A. Pelletier 2013-12-06 13:53:22 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:06 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