Our ATS config doesn't seem to support the re-routing of X-Wikimedia-Debug requests to hassium/hassaleh, and for developers on the west coast of the US, the conversion of ulsfo now means their testing workflow is broken.
In theory this looks fairly simple, I think something like:
function do_remap() if ts.client_request_get_url_host() == 'appservers-rw.svc.wmnet' and ts.client_request.header['X-Wikimedia-Debug'] then ts.client_request.set_url_host('hassium.eqiad.wmnet') return TS_LUA_REMAP_DID_REMAP end return 0 end
... but then there's another couple of layers to this onion:
- hassium and hassaleh don't seem to have HTTPS on port 443, just regular old HTTP on port 80 ...
- They also don't have a matching discovery-dns to replace the pair of per-DC hostnames