Page MenuHomePhabricator

/usr/bin/sql should query DNS as well to determine whether a database has been replicated
Closed, ResolvedPublic

Description

Database host aliases (e. g. enwiki.labsdb) will move to DNS (cf. T63897). Currently, /usr/bin/sql greps /etc/hosts to determine whether a database has been replicated. This needs to be replaced with a call to getent hosts with queries DNS as well.

Details

Related Gerrit Patches:
operations/puppet : productionTools: Let sql query DNS as well for aliases

Event Timeline

scfc created this task.Mar 6 2015, 6:58 AM
scfc claimed this task.
scfc raised the priority of this task from to Medium.
scfc updated the task description. (Show Details)
scfc added a project: Toolforge.
scfc added subscribers: yuvipanda, Aklapper, mark and 8 others.
scfc moved this task from Triage to In Progress on the Toolforge board.Mar 6 2015, 7:20 AM

Change 194829 had a related patch set uploaded (by Tim Landscheidt):
Tools: Let sql query DNS as well for aliases

https://gerrit.wikimedia.org/r/194829

Change 194829 merged by Yuvipanda:
Tools: Let sql query DNS as well for aliases

https://gerrit.wikimedia.org/r/194829

scfc closed this task as Resolved.Mar 6 2015, 9:36 AM
Restricted Application added a project: Cloud-Services. · View Herald TranscriptJun 7 2017, 6:54 PM