[08:12:51] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/387171 (owner: 10L10n-bot) [09:15:01] andrewbogott: the project "mailman" is an empty project, no instance in it and looking at the admin list i dont think anyone is active. i think you can safely delete that [09:15:28] unless herron wants to take over [09:17:06] !log mailman - project has no instance and i think no active admins - i think can be deleted - removed self as member/admin [09:17:08] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Mailman/SAL [09:19:46] andrewbogott: another one: project "sensu". no instance, not used by me, only admins you, laner and myself, we can clean it up [09:20:26] !log sensu - project has no instances and not used anymore afaict - i think it can be deleted - removed self as member/admin [09:20:27] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Sensu/SAL [10:30:37] (03CR) 10Ladsgroup: [C: 031] Add more ORES repos [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/385103 (owner: 10Awight) [13:37:05] mutante: I will delete both — thank you! [13:39:38] !log mailman deleting project [13:39:40] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Mailman/SAL [13:42:01] !log sensu deleting project [13:42:03] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Sensu/SAL [16:05:33] arturo: just fyi https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [16:07:55] ok, chasemp so this would be something like this --> !log tools depool tools-exec-1401.tools.eqiad.wmflabs [16:08:03] * chasemp nods [16:08:12] !log tools depool tools-exec-1401.tools.eqiad.wmflabs [16:08:16] !log tools depool tools-exec-1401.tools.eqiad.wmflabs [16:08:19] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [16:08:20] -_- [16:11:44] ok https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL#2017-10-30 seems fixed now [16:18:53] Is the correct place to request an increase in project resources just in a phab ticket? :) [16:19:29] addshore: https://phabricator.wikimedia.org/project/view/2880/ [16:21:04] Awesome! [16:38:39] (03CR) 10Addshore: [C: 032] Add more ORES repos [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/385103 (owner: 10Awight) [16:39:29] (03Merged) 10jenkins-bot: Add more ORES repos [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/385103 (owner: 10Awight) [16:39:37] (03CR) 10jenkins-bot: Add more ORES repos [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/385103 (owner: 10Awight) [17:21:36] I'm missing several of my user databases [17:25:02] Dispenser: do you know which ones? [17:25:48] I made backups last night so s1.u2815__piwik s1.u2815__test s1.u2815__toolserver_s4b (IIRC, functionality still not ported to Labs) [17:26:48] IIRC I could still see them 1 hour ago [17:27:24] https://www.irccloud.com/pastebin/bljEcwnM/ [17:28:21] Dispenser: the databases are there on labsdb1001, where are you trying from? [17:29:28] Dispenser: what is the IP of the database server you are connecting to? [17:30:30] sql enwiki_p; then SELECT @@hostname; gives labsdb1003 [17:31:12] Dispenser: is this on tools? /me checks [17:35:12] !log tools Clear dns caches across tools hosts `sudo nscd -i hosts` [17:35:16] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [17:35:20] Dispenser: check now? [17:36:22] Yup its working now [17:36:38] cool, thanks for the report! [18:45:06] I need help regarding my toolforge project ....Its in php and should work with kubernetes php but not working when I am hosting ..Although its working with lighttpd...(https://tools.wmflabs.org/rank/) ..Can Anyone tell me what is the problem? same happening with other PHP project .If there is any mistake in my code suggestions are welcomed (https://github.com/Shreya1771/wikipedia-user-rank) [18:51:54] anyone available ..need help? [18:53:54] shreya1771: anything in your error.log? [18:54:05] Nope [18:54:41] my both php projects are getting host. [18:55:00] shreya1771: ah, the tool is serving web pages but the actual lookup doesn't work? [18:55:26] 2017-10-30 18:54:40: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Fatal error: Call to undefined function mysqli() in /data/project/rank/public_html/index.php on line 46 [18:55:37] (from error.log) [18:55:52] Yeah...locally its working...But after hosting .. [18:57:55] mysqli comes from a php extension/module [18:58:29] Though, I'm not sure mysqli() was ever a function [18:59:30] https://github.com/Shreya1771/wikipedia-user-rank/blob/master/index.php#L46 [18:59:50] shreya1771: It either wants to be... mysqli_connect [18:59:52] or new mysqli() [19:00:40] its accessing database through that function [19:01:36] I know [19:02:09] I cannot find any evidence that that ever existed as a function [19:02:19] Which means you're probably trying to instantiate a class [19:02:27] http://php.net/manual/en/function.mysqli-connect.php [19:02:34] http://php.net/manual/en/mysqli.construct.php [19:02:47] See the examples in the second [19:06:29] okay [19:44:25] We have a new job posting open today: http://grnh.se/h5gjvl1 [19:45:07] We are looking for someone to spend 20 hours a week helping answer questions here on irc and phabricator, mailing lists, wikis, etc [19:49:52] Wait...that's a specialized version of my job! :P Sweet! [19:50:28] andre__: yeah :) I should have called it andre__-lite :) [19:50:33] :D [19:50:38] (03PS1) 10Rush: openstack-refactor match old labs encapi dummy passwords [labs/private] - 10https://gerrit.wikimedia.org/r/387350 [19:51:00] * andre__ starts to unfollow all Cloud related stuff :P [19:52:58] andre__: happy birthday! [19:56:37] O/ andre__ happy birthday man [19:56:43] A day before mine [20:01:57] (03CR) 10Rush: [V: 032 C: 032] openstack-refactor match old labs encapi dummy passwords [labs/private] - 10https://gerrit.wikimedia.org/r/387350 (owner: 10Rush) [20:04:42] chasemp, Zppix: Thank you, thank you :D [20:09:58] I'm having some issues with lightppd config. url.access-deny = ( "~", ".ini" ) results in 502 for every page, including .php files [20:11:15] DatGuy: anything in your error.log? [20:11:31] nope. just logs of me restarting the server [20:12:06] wait, 502 is a bad gateway. Is the server even running? [20:12:16] * bd808 sees that setting comes directly from https://redmine.lighttpd.net/projects/1/wiki/Docs_ModAccess [20:12:24] (and not just perpetually restarting due to not being able to parse the config file?) [20:12:36] yes [20:13:07] webservice start --blabla results in "Job is already running" [20:13:09] my hunch is that there is already a url.access-deny statement in the template config file, and having a duplicate entry causes lighttpd to fail to start (and perpetually restarts) [20:13:34] Do the 502s show up in the access log? [20:13:43] it's a pretty simple conf file. just a 404 error handler + what I'm trying to make the access thing [20:13:48] (which tool is ths?) [20:13:58] yes, but your config file is merged with the template config file. [20:14:24] /data/project/olympics [20:14:59] doesn't seem like it (access.log) [20:15:16] Yeah, that's a 502 from nginx, so the webservice isn't running. [20:15:25] ¯\_(ツ)_/¯ [20:15:30] (nginx is the proxy which forward requests to webservices) [20:15:44] 'url.access-deny = ( "~", ".inc" )' is in the base config [20:15:51] https://phabricator.wikimedia.org/diffusion/OSTW/browse/master/toollabs/webservice/services/lighttpdwebservice.py [20:15:52] lightppd command isn't recognised by bash, so can't test syntax [20:16:01] DatGuy: what's the tool? [20:16:08] /data/tools/olympics [20:16:15] madhuvishy: olympics. But bd808 already spotted the entry in the base config [20:16:18] bd808: pretty much have that except for .inc is .ini [20:16:32] so I have to remove ~? [20:16:36] I wonder if it gets mad about the duplication? [20:16:38] DatGuy: the point is that there's already an entry there -- so you'll have to use url.access-deny += (...) [20:16:40] yes, it does :-) [20:16:41] oh cool okay :) [20:16:46] ah got it [20:17:06] yep works now [20:17:10] ah. yeah I missed that += wasn't being used [20:17:20] should've known considering the error handler was also using += [20:17:26] (wisdom through damage and shame, as the Dutch proverb goes) [20:17:37] (well, learned through damage and shame) [20:17:58] +for lightppd is there a 403 or 404 error when trying to access a blocked file? [20:18:04] blocked = denied [20:18:49] https://tools.wmflabs.org/gerrit-reviewer-bot/test.inc < 403. [20:19:02] alright, thanks [20:19:16] https://tools.wmflabs.org/gerrit-reviewer-bot/test2.inc doesn't exist and also 403's [20:19:41] I was just wondering if the 403 leaked file existence or not :) [20:22:09] valhallasw`cloud: https://tools.wmflabs.org/olympics/blablabla.inc in my tool applies to the 404 error handler? [20:22:30] might just be because im in the wrong dir [20:22:55] and that it has to be /.ini? [20:23:27] .inc is in the default config so should always work [20:23:42] the lack of a newline at the end of the file might cause a problem [20:23:57] the /.inc will likely only match literally /.inc [20:24:01] and /fdfdsafdsa/.inc [20:26:21] server.error-handler-404 uri to call if non-dynamic (not CGI or proxy) request results in a 403 or 404 [20:26:24] https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ConfigurationOptions [20:26:53] great, makes sense [20:47:49] hmm im getting this puppet error [20:47:52] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class ::profile::puppetmaster::labsenc for puppet-paladox3.git.eqiad.wmflabs on node puppet-paladox3.git.eqiad.wmflabs [20:47:52] Warning: Not using cache on failed catalog [20:47:52] Error: Could not retrieve catalog; skipping run [20:48:00] i havent touched anything. [20:49:58] https://github.com/wikimedia/puppet/commit/1421009cd7873511dc5996f5b9f37aab2d73b248#diff-9a78a1c861ec2c494cfc37ac9aa5e08d [20:50:19] https://github.com/wikimedia/puppet/blob/0e85a73f3252aacf46fa031bf32124808207a915/modules/role/manifests/puppetmaster/standalone.pp#L50 [20:51:38] madhuvishy: ^^ [20:51:56] chasemp: modules/role/manifests/puppetmaster/standalone.pp still has a reference to ::profile::puppetmaster::labsenc [20:52:26] paladox, Zppix: chasemp is rolling out a huge refactor that touches that [20:52:33] Okay [20:52:34] ty [20:52:37] ok thanks [20:52:48] ah tx bd808, andrewbogott and I were just puzzling over this a bit [20:53:01] (as an aside, "^" pings are not very useful) [20:53:27] our paladox based early warning system went off for it ;) [20:53:39] lol heh [20:53:54] paladox is the best FLOSS monitoring and reporting system on the market [20:54:11] thanks :) :) :) [20:54:37] Lol [21:14:23] bd808: chasemp we have recovery ty [21:17:03] thanks :) [21:40:33] bd808: got a minute? [21:53:14] Cyberpower678: I'm coding, but what's up? [22:00:31] bd808: do you think you could maybe install the xhprof module for PHP? [22:00:47] sudo apt-get install php5-xhprof [22:00:59] Cyberpower678: in which environment? [22:01:03] bd808: tools [22:01:08] Cyberpower678: in which environment? [22:01:17] grid engine has it :) [22:01:27] bd808: umm... The exec nodes and the webserver? [22:01:49] Would be nice to have steady profiling data to work with for the production environment. [22:01:55] oh wait maybe we don't have xhprof [22:02:14] xhprof is actually abandonware :/ [22:02:21] Well I know tools-login doesn't [22:02:28] I just looked with php -m [22:03:01] Should be easy with PHP5. PHP7 was a pain and a half in the ass to install. [22:03:51] Cyberpower678: there is a tracking task in phab somewhere for packages to add to Toolforge [22:04:04] feel free to make a subtask for this [22:04:11] bd808: If you could point me to it, I'll make a ticket. [22:04:16] not sure it will be done soon or maybe at all [22:04:29] There's no rush. I'm integrating xhprof for IABot v2.0 [22:06:20] xhprof is totally abandonware though. Facebook dumped it. Phacility (makers of Phabricator) picked it up, but have not merged/reviewed patches for 2+ years [22:07:10] Apparently stwalkerster recommends it despite being old as still one of the best lightweight profiling modules out there. [22:07:25] https://github.com/phacility/xhprof/pulls [22:07:30] The best part is it only profiles when the code tells it to and is saved where the user tells it to. [22:08:02] yeah. we use the version built into hhvm in WMF prod [22:08:32] which is how I know that the PHP5/7 upstream is pretty much dead [22:08:35] And there are those who adapted xhprof for PHP7. [22:08:46] I have it installed on my exec node which uses PHP7/ [22:09:02] heh. my PR to them is about to turn 3 -- https://github.com/phacility/xhprof/pull/52 [22:10:01] Cyberpower678: yeah, I'm unaware of a better tool than it though. It's leaps and bounds better than xdebug's profiling tools imho [22:11:07] bd808: ^ and it's difficult to use xDebug on a remote environment with my IDE. Let alone wherever the profiling data ends up. [22:11:29] file a task :) [22:11:41] bd808: I need the tracking ticket? :-) [22:11:55] * bd808 hands Cyberpower678 the power of search [22:12:10] * Cyberpower678 asks for a manual. XD [22:12:18] bd808 i thought they do it through differential now? [22:12:31] you wont get any reviews for pulls on github :) [22:12:52] bd808 https://secure.phabricator.com/diffusion/XPRF/ [22:15:32] Krinkle created a pull it seems then created a differential :) [22:23:48] bd808: ^ That would probably explain a lot. :p [22:28:12] Grrr, I get like a zillion unrelated search results on Phabricator. :-( [22:30:42] Cyberpower678: https://phabricator.wikimedia.org/T55704 / https://phabricator.wikimedia.org/T140110 [22:30:56] easiest way to find them is https://phabricator.wikimedia.org/tag/toolforge/ + ctrl-f package [22:38:15] valhallasw`cloud: thanks. bd808: I created the ticket. [22:54:39] <|Satan> hi there, is a labsadmin available currently? [22:55:33] <|Satan> I will need some help with puppet, there is something wrong with it [22:55:54] <|Satan> puppet does not run automatically. If I do: sudo puppet agent -tv, logout, login, do it again, logout, login, then it works [22:56:04] <|Satan> but after that, it does not continue to run automatically [22:56:32] |Satan: are you saying it doesn't run in your instance every 20 minutes or so? [22:56:43] <|Satan> madhuvishy: yeah [22:56:53] <|Satan> "The last Puppet run was at Thu Oct 26 21:13:58 UTC 2017 (5554 minutes ago)." [22:57:09] Are there any errors when you run it manually? [22:57:11] <|Satan> now it's back to < 5 min, because I executed it manually, but I guess it should run automatically? [22:57:23] <|Satan> madhuvishy: no, I don't recived errors [22:57:24] Are/were [22:58:01] Hmmm, check if it doesn't run again in the next 20 minutes? If so ping back/make a ticket, I'll look :) [22:58:29] <|Satan> madhuvishy: ok, thx. But I guess it will, since oct 26 was the last time, I did it manually. So that happened already once [22:58:50] <|Satan> on the 26 oct, as I did that already once, the last run was on oct 5 or so [22:59:08] <|Satan> and these 4 days ago, I did not get any errors too [23:00:10] bd808 i found some other file that needs the wmf cloud rebrand /usr/local/sbin/puppet_alert.py :) [23:00:11] Okay, what instance is this? Does is have standalone master or does it have the labspuppetmaster? [23:00:13] it uses lbas there [23:00:19] lbas = labs [23:01:51] <|Satan> madhuvishy: cac.rcm.eqiad.wmflabs, using the default (labs) puppetmaster [23:04:22] |Satan: okay I'll look in a bit [23:04:29] <|Satan> madhuvishy: thx :) [23:05:21] How long do we have to see the all hallows eve nick Luke? [23:06:01] <|Satan> bd808: guess I will switch it back when I'm back on wednesday :D [23:07:07] paladox: https://gerrit.wikimedia.org/r/#/c/387492/ [23:07:18] <|Satan> bd808: if it's too annoying, I can switch now, if you prefer [23:07:19] thanks [23:08:16] |Satan: it doesn't bother me personally, but I could see how some folks could be put off by it. Its better than your first joke nick. [23:08:29] <|Satan> hm, yeah [23:12:51] Sagan hi, does this file exist /etc/cron.d/puppet ? [23:13:01] root@puppet-phabricator:/var/lib/git/operations/puppet# ls -la /etc/cron.d/puppet [23:13:01] -r--r--r-- 1 root root 354 Aug 11 16:21 /etc/cron.d/puppet [23:23:22] paladox: yup, it does. but I guess madhuvishy will find the error :) [23:23:28] ok [23:23:44] madhuvishy: in case you should need to reboot the host, that's ok with me. I'm now offline. good night :) [23:26:08] Sagan: okay, thanks for the info! [23:39:48] (03PS5) 10Lokal Profil: Restructure missing_commonscat_links [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/380060 (https://phabricator.wikimedia.org/T176528) [23:44:42] (03PS6) 10Lokal Profil: Restructure missing_commonscat_links [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/380060 (https://phabricator.wikimedia.org/T176528) [23:58:11] (03CR) 10Lokal Profil: [C: 04-1] "just realised that the group unused patch had been merged. will rebase on master and see if I can get rugs if some overlap" [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/380060 (https://phabricator.wikimedia.org/T176528) (owner: 10Lokal Profil)