[00:42:28] 06Labs, 10Labs-Infrastructure, 10Tool-Labs, 10DBA, 10Wikimedia-Developer-Summit (2017): Labsdbs for WMF tools and contributors: get more data, faster - https://phabricator.wikimedia.org/T149624#2926505 (10jcrespo) Thank you. [01:39:17] 06Labs, 10Tool-Labs, 06Community-Tech-Tool-Labs, 15User-bd808: Facilitate Volunteer NDA application process for potential Tool Labs standards committee appointees - https://phabricator.wikimedia.org/T154625#2926511 (10bd808) [02:42:30] (03PS1) 10SamanthaNguyen: Adding more configuration for #brickimedia [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/331204 [02:44:00] (03CR) 10SamanthaNguyen: "This was based on an old commit submitted by georgebarnick at https://gerrit.wikimedia.org/r/#/c/129610, so I added the same reviewers alo" [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/331204 (owner: 10SamanthaNguyen) [02:45:59] (03CR) 10GeorgeBarnick: [C: 031] Adding more configuration for #brickimedia [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/331204 (owner: 10SamanthaNguyen) [02:59:36] (03CR) 10Jack Phoenix: [C: 031] Adding more configuration for #brickimedia [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/331204 (owner: 10SamanthaNguyen) [03:03:10] Hello! [03:03:38] I haven't been on the wikitech.wikimedia.org site in a long time [03:04:01] I'm a bit confused, because in my project's instance lists the 'action' column is empty [03:04:17] no colnsole log or shutdown/reboot options [03:04:32] why could that be? [03:05:26] Thats normal [03:05:33] That no longer is a thing [03:05:44] We use shell now [03:11:49] Uhm [03:11:56] what shell? [03:12:07] ssh?! [03:13:47] So if your network is hosed somehow and you cannot ssh in there is no console access to teh VM anymore?! [03:14:26] well, I'm sure the ops have a good reason for this [03:14:38] I just don't quite see it yet... [03:38:38] Ssh [03:38:56] Read wikitech access guide [04:13:42] I have a quick question: Is it possible for volunteers like myself to get a wikimedia e-mail address for use in git commits? [04:21:57] I take it the answer is no [04:36:05] This one Zppix? https://wikitech.wikimedia.org/wiki/Help:Access [04:36:12] Not helpful [04:37:20] Of course I know how to ssh into my instances. That is not a replacement for VM managment like a console or at least the ability to reboot the machine. [04:38:38] dschwen_: use horizon.wikimedia.org [04:40:16] thanks lego [04:40:22] having trouble authenticating [04:40:55] it's the same credentials as wikitech, but you'll need to have 2fa set up (from wikitech) [04:41:38] I have that set up [04:41:48] I've used it for years now [04:41:59] An error occurred authenticating. Please try again later. [04:42:19] not "invalid credentials" [04:43:19] confirmed that 2fa is enabled on wikitech [04:46:51] hmm [04:47:05] * legoktm tries [04:47:43] I was able to login fine [04:47:54] I'm glad to hear that :-D [04:48:26] no dice for me [04:48:28] but I get "Invalid credentials" when I use a wrong pw or 2fa code [04:48:34] file a bug I suppose? [04:48:37] yeah [04:50:22] 06Labs, 10Horizon: Unable to log into horizon.wikimedia.org - https://phabricator.wikimedia.org/T154860#2926577 (10dschwen) [04:53:53] 06Labs, 10Horizon: Unable to log into horizon.wikimedia.org - https://phabricator.wikimedia.org/T154860#2926577 (10Legoktm) Using wrong pw or 2fa code gives "Invalid credentials" so this appears to be something different. [04:59:11] 06Labs, 10Horizon: Unable to log into horizon.wikimedia.org - https://phabricator.wikimedia.org/T154860#2926606 (10dschwen) I tried disabling and re-enabling 2fa. Still the same error. [05:20:50] !log deployment-prep deployment-stream: live hacked /usr/lib/python2.7/dist-packages/socketio/handler.py a bit (added apostrophes) to try to make rcstream work [05:20:57] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Deployment-prep/SAL [06:50:22] PROBLEM - Puppet run on tools-bastion-03 is CRITICAL: CRITICAL: 55.56% of data above the critical threshold [0.0] [07:25:21] RECOVERY - Puppet run on tools-bastion-03 is OK: OK: Less than 1.00% above the threshold [0.0] [10:05:41] PROBLEM - Puppet run on tools-services-01 is CRITICAL: CRITICAL: 22.22% of data above the critical threshold [0.0] [11:05:41] RECOVERY - Puppet run on tools-services-01 is OK: OK: Less than 1.00% above the threshold [0.0] [11:47:10] 06Labs, 10Horizon: Unable to log into horizon.wikimedia.org - https://phabricator.wikimedia.org/T154860#2926577 (10Luke081515) Seems like a user-specific problem. Login works for me. [15:25:57] (03Draft2) 10Mess: Query fix in order to exclude redirects that link to other namespaces (not NS0) from valid links when generating orphaned articles lists [labs/tools/lists] - 10https://gerrit.wikimedia.org/r/331215 [15:31:57] PROBLEM - Puppet run on tools-worker-1003 is CRITICAL: CRITICAL: 100.00% of data above the critical threshold [0.0] [17:17:32] 06Labs, 10Tool-Labs, 10Phabricator: [Projects] Request project for Tools.quarrybot-enwiki - https://phabricator.wikimedia.org/T154873#2926847 (10Zppix) [17:20:46] 06Labs, 10Tool-Labs, 10Phabricator: [Projects] Request project for Tools.quarrybot-enwiki - https://phabricator.wikimedia.org/T154873#2926847 (10Krenair) Do you mean querying? 'Quarry' is the name of a tool we have to query the DBs. The name of this tool should be improved. [17:23:37] 06Labs, 10Tool-Labs, 10Phabricator: [Projects] Request project for Tools.quarrybot-enwiki - https://phabricator.wikimedia.org/T154873#2926863 (10Zppix) @Krenair the description should say query not quarry, my mistake but the tool name has nothing to do with the other tool it just rolls off the tongue easier... [17:25:40] !log wikilabels deploying 0c864f2 into prod [17:25:42] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikilabels/SAL [17:26:00] 06Labs, 10Tool-Labs, 10Phabricator: [Projects] Request project for Tools.quarrybot-enwiki - https://phabricator.wikimedia.org/T154873#2926874 (10Aklapper) @Zppix: Why is this tagged as #Phabricator? Is this a request for a project in Phabricator (that would be #project-admins; please see https://www.mediawik... [17:27:47] 06Labs, 10Tool-Labs, 10Phabricator: [Projects] Request project for Tools.quarrybot-enwiki - https://phabricator.wikimedia.org/T154873#2926876 (10Zppix) @Aklapper I do, and as soon as I can get @ToAruShiroNeko Wikitech username they will as well (they requested the tool and we are both developing it i'm just... [17:28:04] 06Labs, 10Tool-Labs, 06Project-Admins: [Projects] Request project for Tools.quarrybot-enwiki - https://phabricator.wikimedia.org/T154873#2926877 (10Zppix) [18:03:33] 10Tool-Labs-tools-Other: svgtranslate tool - https://phabricator.wikimedia.org/T154866#2926885 (10Aklapper) This is unrelated to the TranslateSvg extension hence removing tag. [19:02:30] !log wikilabels deploying 9b3eeb5 to staging and prod [19:02:32] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikilabels/SAL [19:21:25] Hi ! [19:22:15] I'm struggling with (basic) usage of flask ; I followed https://wikitech.wikimedia.org/wiki/Setting_up_Flask_cgi_app_as_a_tool and it didn't work :( Anyone has experience in the matter ? [19:23:44] im assuming thats labs not tools labs cause ive never heard of flask before :P [19:25:46] Lena_: I have set up several flask apps in labs, but in labs not in tools [19:25:53] It's on toollabs ; it's a microframework for Python : http://flask.pocoo.org/ [19:26:17] I know what flask is :D [19:26:19] Lena_ oh ive never heard of flash before [19:26:32] flask [19:26:47] Lena_: You can build a virtualenv and install all of flask depnedencies [19:26:50] * Zppix needs to move his h key [19:27:01] Amir1: Ok newbie question : what is the difference between labs and tools ? [19:27:34] tools is a project in labs, there are other projects in labs as well (tools is the biggest one) [19:27:38] Lena_ labs is for virtual machines tools is a shell you use it to run bots and web-based stuff and non UI stuff [19:27:39] Yeah the virtual env part is OK and all, it's just the " If everything went right, you should be able to load this page http://tools.wmflabs.org/tools-dashboard/cgi-bin/cgi.py/ and its content must be "Hello world" " -> for me it's 404 [19:28:04] when you have an account in tools. it's very much limited [19:28:20] comparing to other projects where you sudo rights etc. [19:28:38] Amir1 sudo is dangerous [19:29:03] not when you use it responsibly [19:29:08] Amir1 and actually you have very limited sudo rights on tools but its VERY limited for example sudo -iu become tools.toolname [19:29:44] Amir1 i crashed a private server i use to screw around on just typing a very basic sudo command [19:30:49] So I have my nice python script at home and I thought I should share it with the world (or at least 2 other wikimedians) and I thought flask and tools were the answer [19:31:14] Lena_: AFAIK it's a matter of registering routs in flask [19:31:24] it's probably not registered properly [19:31:36] It finds the "best" image in a Commons category, so I thought something like http://tools.wmflabs.org/best-image/category-name would be nice [19:31:46] Zppix: in labs, you have it in instances not on tools [19:31:56] Amir1: I followed https://wikitech.wikimedia.org/wiki/Setting_up_Flask_cgi_app_as_a_tool step by step :( [19:32:33] Amir1 thats semi-wrong if you runa bot outside of the job grid or kubectl you run it in a bastion-instance on tools [19:32:50] I don't know how much that's correct, you can ask from one of the authors [19:33:10] Lena_ its probably outdated tools documentation doesnt get updated very much [19:33:51] Zppix: yup, in bastion nodes, users also don't have sudo rights unless I'm missing something [19:34:43] Amir1 run sudo -iu become tools.toolname in a shell [19:36:00] hmm, yes. That's correct [19:36:13] we do limited sudo perms [19:36:17] very limited [19:37:19] Lena_ have you tried using virtualenv [19:37:50] yes [19:37:59] Lena_: "what is the difference between labs and tools ?" <= you might want to read https://wikitech.wikimedia.org/wiki/Labs_labs_labs [19:39:02] https://wikitech.wikimedia.org/wiki/Setting_up_Flask_cgi_app_as_a_tool is horribly outdated [19:39:25] cgi-bin is the pre-2014 era from pmtpa times [19:41:02] https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Python_2_.28uwsgi.29 is a more updated one, although not very step-by-step [19:41:25] THanks zhuyifei1999_ ! [19:50:32] 06Labs, 10Tool-Labs, 06Community-Tech-Tool-Labs, 06Developer-Relations, 07Documentation: Create a "my first Python webservice" tutorial for Tool Labs - https://phabricator.wikimedia.org/T134494#2926977 (10zhuyifei1999) For the record: someone just asked on IRC, who followed https://wikitech.wikimedia.org... [19:50:56] added a note ^ and on that page itself [19:57:06] Zppix: well, you should be careful to not do any sort of stuff like `sudo rm -rf --no-preserve-root /` or `sudo strace -p 1 & (sleep 1 && sudo kill -9 1) :P [20:00:35] Zhaofeng_Li but but thats the best cmds [20:01:30] lol [20:02:18] Zhaofeng_Li types that in tools and just watches every tool stop working one by one [20:03:37] the first might stop working one by one, the second cause a kernel panic and kills everything instantly [20:04:02] SIGKILL doesn't actually work on PID 1, though. The kernel marks PID 1 as unkillable. [20:04:15] For some real damage, kill -9 -1 is pretty fun. [20:04:16] unless you ptrace it [20:04:40] with strace, ltrace, gdb, whatever [20:04:40] Ha, missed that one [20:05:16] PROBLEM - Puppet staleness on tools-worker-1003 is CRITICAL: CRITICAL: 100.00% of data above the critical threshold [43200.0] [20:05:29] zhuyifei1999_ or i could just run sudo kill (whatever pid puppet is on) and watch operations slowly chop me into pieces [20:06:08] btw, is systemd init sigsegv-killable? the redhat 6 init is quite killable [20:06:12] lol [20:08:32] zhuyifei1999_: Just tried, and no. The system just beeped. [20:09:01] `kill -9 -1` might disconnect you since you killed sshd, and kill might receive a sighup. (although I can't confirm this cuz I don't dare) [20:09:27] Zhaofeng_Li: that's good I guess [20:21:44] zhuyifei1999_ tools wouldnt give you access to kill -9 -1 i can guartee you [20:42:55] 06Labs, 10wikitech.wikimedia.org, 05MW-1.29-release-notes, 13Patch-For-Review, 05WMF-deploy-2017-01-17_(1.29.0-wmf.8): Job queue has 119663 entries - https://phabricator.wikimedia.org/T153618#2885763 (10Cavila) Experiencing the same issue following an upgrade to MW 1.28 (on a Windows machine). The versio... [21:17:48] 10Tool-Labs-tools-Other: svgtranslate tool - https://phabricator.wikimedia.org/T154866#2927027 (10Mikey641) I tried to translate many files but they all give the same error. for example: Atmosphere3.svg Nitrogen חנקן 78.08% 78.08% Oxygen חמצן 20.95% 20.95% Argon ארגון 0.93% 0.93% Xenon קסנון 0.000009%...