mozilla :: #moc

18 Apr 2017
01:00nagios-scl3New Sysadmin OnDuty is jlaz
09:00nagios-scl3New Sysadmin OnDuty is pir
11:56Peng_Is one of the IRC opers online? autrilla accidentally got themself g-lined 5 minutes ago by quoting part of some spam. They're a legitimate person.
11:56Peng_Could someone undo the g-line? Is there a better place to ask?
12:00pirPeng_: possibly but I'd need the exact gline (I can't see the logs to find it)
12:02Peng_UTC timestamp (12 minutes ag0): 11:50:29 -!- autrilla [autrilla@moz-82o.pej.172.163.IP] has quit [G-Lined: no spamming here]
12:04Peng_Seems to be unbanned now. If you did it, thank you. :3
12:25pirPeng_: it probably just expired
15:00mbrandtIs it known that the home page to buzilla,, is unstyled?
15:01kbrosnanasking in #bmo
15:01mbrandtthx kbrosnan
15:03dylanoh snap
15:03dylanpir: I need someone that can poke at zeus
15:07pirdylan: what's up?
15:08dylanpir: we have a special zeus rule that returns a static page for the bmo index and we need to disable that (or replace it with a new one)
15:08dylannormally this would be fubar but I think he is traveling. :-/
15:10pirdylan: do you know what zeus cluster, what rule?
15:10dylanthe bmo zlb, but that's as much visibility as I have.
15:10pirthen it will take me some time to find it
15:12dylanpir: good news, dhouse is in da house, so let's see if he can't find it.
15:13pirredirecting to bmo-static-index.html?
15:13dhouseok cool. I've heard about that from f.ubar
15:13dhouseI'll look for it
15:13dylanpir++ dhouse++
15:13pirI think I've got it, what do you need doing?
15:14dylanit should return the same content as you can get from `curl`
15:14dylanI can just email you that output
15:14dhousepir: thx! I was still searching for it
15:15pirdylan: this is a trafficscript rule that redirects to a different location
15:16dylanpir: hmm, not the same one then
15:16pirdylan: I can change it to redirect somewhere else, but I don't know, in practical terms, what you mean buy returning the same content
15:16dylanthere is another rule that returns a static html string
15:16dylanwhich I've just emailed you what it should be returning, the problem is asset names change on every push so the current one is invalid, causing an unstyled bmo index.
15:17pirI can't see anything that's not a redirect
15:17pirso wouldn't know where to put it
15:18dylanis it possible to turn off that redirect temporarily and see what happens?
15:19pirthe bmo-ddos-tmp redirect to bmo-static-index.html ?
15:19dylanhmm, question, where is bmo-static-index.html stored?
15:20pirI have no idea
15:20dylanbut yes, disable it. we will experience increased load but I judge that as preferable to the current problem
15:20dhouseI see that files in the "Extra Files"/"Miscellaneous Files" for the Catalog
15:20dhousebmo-static-index.html 7.3 KB
15:20pirhrrrm, this is a more compliated traffic script than I thought
15:20dylanpir: pause
15:20pirhttp.sendResponse("200 OK", "text/html", resource.get("bmo-static-index.html"), "X-Backend-Server: TS\r\nStrict-transport-security: max-age=31536000; includeSubDomains\r\nContent-security-policy: default-src 'self'; child-src 'self'; img-src 'self'; object-src 'none'; script-src 'self' 'nonce-MyuNENOTypWrjRs8IFexw8G3gp9ujVqtBEldS4WzEBV5fTHc'; style-src 'self' 'unsafe-inline';
15:20pirframe-ancestors 'none'; form-action 'self'\r\nX-content-type-options: nosniff\r\nX-frame-options: SAMEORIGIN\r\nX-xss-protection: 1; mode=block");
15:20pirso I guess it is responding with some html
15:20dylandhouse: let me email you the file then
15:21dylanSorry for this disruption, temporary measures shouldn't last weeks in general and I made that call.
15:21dhousenp, seems like a sane solution still. just not ideal for updates to be manual :)
15:22dylanit would be cool if the css/js asset urls only changed when their content did.
15:22* pir ahs, didn't know zeus would store files like that
15:23dhousedylan: I swapped in the new one you emailed me. can you check if it is serving/updated?
15:24dylanit looks correct now
15:24dhouseI renamed the old one to "old-bmo-static-index.html" and the new one to "bmo-static-index.html" (expecting zeus uses the name to index to it and not something else)
15:24dylanthanks all!
15:24dhouseok great
15:24dhousethanks pir for team-work to find this!
15:25pirand now I know where it is for future reference
15:26pirif you need to point other moc people at the file, the name and the fact it's in catalogs -> extra files -> misc would be very helpful
15:26dylanpir: noted, I will try to learn more about zeus too. :-)
15:27dylanmbrandt, kbrosnan: fixed
15:27dhousezeus should be named "labyrinth", or "minotaur" if the ui is meant to keep him
15:27mbrandtdylan: awesome. Thanks!
17:00nagios-scl3New Sysadmin OnDuty is vinh
19 Apr 2017
No messages
Last message: 127 days and 14 hours ago