[04:02:06] !log git Sent notices out to Wikimedia Scoring Platform to inform them about monthly maintaince window (https://phabricator.wikimedia.org/E795 ). Which effect all git hosts and services, such as Icinga2-wm. [04:02:10] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Git/SAL [05:30:07] any reason we are still on python 2.7.6 ? any chance we can get a newer version of the 2.x branch? [05:32:35] Betacommand: you mean on the bastions? [05:33:04] (toolforge) [05:33:04] zhuyifei1999_: yeah, I would expect the version to be consistent across toolforge [05:33:34] see https://phabricator.wikimedia.org/T182820#3835754 [05:36:25] !kubernetes [05:36:36] ? [05:37:03] zhuyifei1999_: do we have documentation on the differences between normal webservices and the kubernetes backend? [05:37:29] zhuyifei1999_: was thinking we had a bot similar to what #mediawiki has for keywords [05:37:33] what do you mean by 'normal'? webservices running on grid? [05:37:39] yeah [05:38:12] !kubernetes is https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes [05:38:12] Key was added [05:38:19] !kubernetes [05:38:19] https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes [05:39:01] Betacommand: the visible differences are https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web#User_visible_differences_from_GridEngine_based_webservices [05:39:48] !k8s alias kubernetes [05:39:49] Created new alias for this key [05:43:49] well, something more is afoot, my tools dont run in k8s [05:43:59] why not? [05:44:02] * Betacommand starts digging [05:44:41] zhuyifei1999_: I dont know, just tried switching over and got error messages [05:44:52] could you paste them? [05:48:48] zhuyifei1999_: https://tools.wmflabs.org/betacommand-dev/cgi-bin/suggested_articles.py give a 500 error under k8s [05:49:22] https://tools.wmflabs.org/betacommand-dev/cgi-bin/cite.py?url=https%3A%2F%2Fphabricator.wikimedia.org%2FT182820%233835754 provides a blank screen [05:49:27] I mean, do you have the error message or traceback or anything similar? [05:49:32] see uwsgi.log [05:54:15] zhuyifei1999_: looks like mwparserfromhell isnt installed on those hosts [05:56:27] you can install it in a virtualenv [05:58:40] !virtualenv [06:00:07] uh, the relevant guide: https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web#Using_virtualenv_with_webservice_shell [06:01:58] zhuyifei1999_: yeah ended up searching the wiki for that :) [06:02:56] zhuyifei1999_: any chance https://phabricator.wikimedia.org/T65539 could be used to get it installed? Ive never had to deal with virtualenv's before [06:06:00] sigh [06:06:10] ^ ticket is for grid [06:06:44] zhuyifei1999_: it pre-dates the k8s [06:07:17] otherwise Ill have to leave things as is, and look into virtualenv's at a later date [06:07:28] it's highly unlikely to install python-only (as in without other language bindings) packages on k8s container, as it bloats the containers for every single python webservice [06:16:26] zhuyifei1999_: tools.betacommand-dev@interactive:~$ python2 -m virtualenv [06:16:27] /usr/bin/python2: No module named virtualenv [06:16:47] just $ virtualenv [06:17:40] :~$ virtualenv [06:17:44] bash: virtualenv: command not found [06:18:11] are you running in python 2 container? [06:18:21] python defaults to 3 [06:19:05] zhuyifei1999_: Im using the instructions provided, the only difference listed between 2&3 is in step 3 [06:20:20] python -V [06:20:22] Python 2.7.9 [06:20:31] o.O [06:21:21] zhuyifei1999_: https://pastebin.com/5iU8BeBm [06:21:32] anyways, in $ webservice [...] python shell replace python with python2 [06:22:13] that ‘python2’ is the container type [06:23:43] looks like its working now with the different starting commands [06:25:19] k :) [06:30:35] zhuyifei1999_: what do you do if you dont have a uwsgi app? [06:39:04] Betacommand: what kind of app do you have? [06:39:09] cgi I'm guessing? [06:39:30] legoktm: yeah, just the basic stuff Ive been using since 2006 [06:40:21] porting things to wsgi is generally pretty easy [06:40:34] but you should be able to wrap the cgi app with wsgi [06:40:38] a quick search found http://spacepants.org/blog/wrapping-cgi-apps-in-wsgi [06:41:01] legoktm: Ive got over a dozen..... [06:42:44] legoktm: any way to get cgi code to work on the k8s without a complete rewrite? [06:43:52] Just took a look and its over 50 scripts [11:45:24] 11,09▄05,12▄11,12▄13,13▄03,06▄05,12▄11,08▄05,13▄09,03▄12,04▄06,12▄13,11▄10,11▄05,04▄12,09▄02,04▄11 HAPPY NIGGER DAY!! PLEASE SAY HI TO ALL THE DUMB NIGGERS IN #OFTC...quicktalkeh676te.onion/6697fpvyt: eddiegp andre__ joal ebernhardson Betacommand akosiaris Ivy halfak comets Jianhui67 Nemo_bis yannf greg-g ShoeHex dmaza ToAruShiroiNeko Vito dungodung sir_lestaty Waggie icinga-wm sjo [11:45:24] 08,13▄13,13▄12,13▄08,10▄09,04▄03,11▄10,04▄11,04▄07,09▄11,08▄10,11▄07,09▄08,07▄06 HAPPY NIGGER DAY!! PLEASE SAY HI TO ALL THE DUMB NIGGERS IN #OFTC...quicktalkeh676te.onion/6697askyzoidb: akosiaris gilles Jianhui67 doctaxon halfak marktraceur devunt dmaza Waggie vishwin putnik Shanmugamp7 yannf Dispenser fluff AlexZ nuria_ ToAruShiroiNeko dungodung HaeB koma5 tarrow Barras2- andre__ fmla_dr0ptp [16:36:37] bd808 hi, i am getting this https://phabricator.wikimedia.org/T183067 error. Im wondering do you know how i can fix it please? :) [16:37:13] the db does not seem to exist for wiki when checking. with jessie it gets created but with stretch it dosen't seem so. [16:41:47] (03PS195) 10Ricordisamoa: Initial commit [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 [16:46:37] (03CR) 10Ricordisamoa: [C: 04-2] "PS195 frees DatabaseConnector from ConfigAccessor" [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 (owner: 10Ricordisamoa) [17:31:00] (03PS196) 10Ricordisamoa: Initial commit [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 [17:40:16] (03CR) 10Ricordisamoa: [C: 04-2] "PS196 bids farewell to ConfigAccessor" [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 (owner: 10Ricordisamoa) [19:00:36] !log git commencing maintaince window for all GIT hosts, E795 [19:00:39] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Git/SAL [19:58:49] well puppet 5 works with puppet 4. /me just downloaded puppet 5 deb from experimental debian dist. [20:00:38] !log git Maintaince window for GIT over, E795 all hosts are back to normal functioning state! [20:00:40] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Git/SAL