https://bugzilla.wikimedia.org/show_bug.cgi?id=58087
Web browser: ---
Bug ID: 58087
Summary: MySQL connections fail on execnodes 01 and 09 with
"Unknown MySQL server host"
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: Unprioritized
Component: tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l