[13:03:03] @seen jynus [13:03:03] zhuyifei1999_: Last time I saw jynus they were quitting the network with reason: Quit: Konversation terminated! N/A at 5/26/2018 11:41:10 AM (1h21m52s ago) [13:04:58] I will let you know when I see jynus and I will deliver that message to them [13:04:58] @notify jynus Is there a way to direct a connection to the wiki replica servers which server it should connect to? The problem is with Quarry's SHOW EXPLAIN FOR feature that must be run on the same server as the executed query. [13:08:41] zhuyifei1999_: fixed the userhome PAWS bug! [13:08:49] nice [13:08:57] how did you fix it? [13:09:08] init-container running as root [13:09:27] it chowns the userhome and exits. [13:09:54] oh [13:10:22] https://github.com/yuvipanda/paws/pull/28/files [13:11:10] (merging won't deploy at this point, so I'm waiting for T195217 to merge it [13:11:10] nice [13:11:10] T195217: Sane ingress methods for PAWS - https://phabricator.wikimedia.org/T195217 [13:11:40] just one nitpick: can't command just be the chown without sh -c? [13:13:03] I don't have horizon write access to toolforge, unfortunately, so can't help with proxies and security groups :/ [13:13:35] I think it can,(if memory serves me right I tried that successfully at one point) [13:14:22] I kept `sh -c` because all the example in k8s docs use it [13:14:26] ok [13:14:56] I don't really have an opinion of what would be better [13:23:24] zhuyifei1999_: do you think we should drop the sh -c? [13:23:57] I have a slight preference for without sh -c, but if the docs are all sh -c, I don't mind either way [13:25:21] the docs are not that comprehensive... in the end initContainers are just containers [13:54:51] removed the sh -c, added a -R [14:18:03] chicocvenancio: umm, I'm not sure if I'm very comfortable with -R. consider symlinks [14:19:09] -R and -h? [14:19:49] we could add the specific files that are necessary for jupyterhub operation as well [14:20:30] or just hope that nothing bungles the ownership of those files? [14:21:54] I'd go with the necessary files and with -h [14:23:20] we need the .local/share/jupyter/runtime directory to be acessible [14:23:46] is it created by the hub? [14:24:06] in general, if no one messes the ownership, it will be created correctly with `tools.paws` as owner [14:24:25] I mean, the reason the home dir is root owned is because of docker [14:24:50] but that shouldn't apply to any other directories [14:25:08] yes, and the fact that kubernetes hands directory creation for host volumes to docker [14:25:09] I don't think paws users can mess with ownership [14:25:20] you're right [14:26:00] ` command: ['chown', '52771:52771', '/home/paws']`then? [14:26:05] yeah [14:28:18] zhuyifei1999_: this also means paws-beta is fully functional for all users as well [14:28:24] not sure what to think about that [14:28:45] nice [14:29:31] I thought about creating a notice there, or maybe restricting use a bit (maybe faster culler?, random killing of servers?) [14:29:48] not sure we want it to be heavily used [14:30:16] this bug effectively meant we had to chown the userhome for it to spawn a server for anyone [14:30:28] but now it will just work [14:30:43] albeit with a much smaller cluster than PAWS itself [14:30:44] random killing of servers <= as long is it won't kill those who are dev-ing paws itself [14:31:27] we could use a script to kill via the api and spare admins [14:32:55] how about using an OAuth consumer that can't edit? [14:33:12] (or is that already the case? /me looks) [14:33:24] nope, it has the same permissions as paws [14:35:12] we could do that, but it would limit a bit our ability to test things, and PAWS can be used without oauth (or with a different OAuth consumer) [14:36:23] hmm [14:37:03] random culling isn't too bad I guess [14:37:59] the test install of v2c has its logic mostly broken (without messing with the return url) [14:38:26] v2c? [14:40:03] video2commons, the web tool I made from scratch [14:41:16] other web tools of mine are mostly forked or simple (as in CGI) or broken [14:41:25] or taken-over [16:09:46] zhuyifei1999_: do you want help with v2c? [16:24:09] chicocvenancio: yeah, definitely [16:24:57] you helping? [16:31:06] Sure! Add me to the project, point me at what needs attention [16:56:43] matanya, andrewbogott: could you add chicocvenancio to the video project? [16:57:32] zhuyifei1999_: sure, one minute... [16:58:20] Chico Venancio is the ldap account [16:58:23] chicocvenancio: I invited you to https://github.com/orgs/toolforge/people [16:58:48] (I'll get the toolforge tool membership in a sec) [16:59:10] zhuyifei1999_: is there a reason you're not a project admin there? [16:59:22] idk [16:59:33] because I never asked for it? [16:59:48] ok — you and chico are both users now. I suggest you ask Matanya to make y'all admins if you're going to be active there :) [17:00:28] hey, half of v2c lives there. of course I'm active :) [17:02:23] chicocvenancio: I added you as maintainers of all three tools in toolforge [17:03:31] the backend code is trash :( some translated from php TimedMediaHandler code [17:04:13] I was in a middle of a rewrite (for resume-able tasks) and mostly gave up [17:06:43] I'll see if I can redo that rewrite next week. Could you review? [17:07:29] 👍 [17:08:29] * zhuyifei1999_ goes zzz. needs to fix some pywikibot madness tomorrow [18:57:48] I'm wondering what directory layouts people use when deploying PHP tools [18:58:06] AIUI it's supposed to be in public_html/, so people symlink that to another directory? [19:01:07] hm that's what bd808's tool does, so I'll copy that :) [19:01:34] legoktm: kubernetes or grid? [20:38:30] (03PS1) 10Krinkle: Add slice-level timing for revision matching [labs/tools/guc] - 10https://gerrit.wikimedia.org/r/435653 (https://phabricator.wikimedia.org/T195515) [20:42:59] (03CR) 10Krinkle: [C: 032] Add slice-level timing for revision matching [labs/tools/guc] - 10https://gerrit.wikimedia.org/r/435653 (https://phabricator.wikimedia.org/T195515) (owner: 10Krinkle) [20:43:30] (03Merged) 10jenkins-bot: Add slice-level timing for revision matching [labs/tools/guc] - 10https://gerrit.wikimedia.org/r/435653 (https://phabricator.wikimedia.org/T195515) (owner: 10Krinkle) [20:53:05] chicocvenancio: k8s probably [21:13:47] I think I've figured it out [22:31:30] https://tools.wmflabs.org/coverme/ it works ^.^