Last modified: 2014-08-04 11:34:07 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 T63897, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61897 - Move LabsDB aliases and NAT to DNS and LabsDB servers
Move LabsDB aliases and NAT to DNS and LabsDB servers
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 69042
  Show dependency treegraph
 
Reported: 2014-02-25 08:56 UTC by Tim Landscheidt
Modified: 2014-08-04 11:34 UTC (History)
8 users (show)

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


Attachments

Description Tim Landscheidt 2014-02-25 08:56:54 UTC
At the moment, Labs instances that want to be able to connect to "dewiki.labsdb" and end up at the DB replica server hosting the German Wikipedia, have to copy /etc/hosts from a Tools instance and set up iptables according to /data/project/.system/iptables.conf.

I tried to puppetize this in Gerrit change #107010, but it turned out that using ferm (base::firewall) for iptables has severe side effects (like locking myself out from my test instance :-)).

There is however an alternative that is rather easy to set up and maintain: Move the aliases to DNS, and the NAT rules to the DB servers itself.  This way we only have to test (and worry) about three hosts and not dozens.

This would include:

- allocating seven IP addresses,
- routing them to the LabsDB servers,
- setting up a DNS zone labsdb with the aliases pointing at the IP addresses,
- setting up firewall and NAT on the LabsDB servers.

Thus, new instances in Tools and other Labs projects would have instant access (minus credentials) to the replica servers.  Existing instances would not be affected.

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


Navigation
Links