[00:00:20] uhhh, facts should not be determined by manifest [00:01:02] should be either just calculating the role from the other role or maybe use hiera [00:01:34] It was a "first system" system. The rewrites made it progressively better [00:01:51] And I ran away :) [00:32:59] !log logstash Created logstash-puppet instance for testing logstash puppet modules and roles [00:33:01] Logged the message, Master [10:12:20] using an email address in http agent headers apparently attracts spam [11:09:42] I've got "print u'Kategoria języka "%s" już istnieje!' % shortName" in my script, which gives me gib on exec servers, but not on login servers. The error is "UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in position 11: ordinal not in range(128)" [11:10:02] is the exec console lang non-unicode? [11:10:32] possibly. https://bugzilla.wikimedia.org/show_bug.cgi?id=58784 [11:17:04] i don't want to move *sob* [11:28:17] alkamid: also, in pywikibot, use pywikibot.output(....) instead of print [11:28:45] valhallasw, thanks [13:21:48] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847107 edit summary: /* Database replication/access */ [13:22:38] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847108 edit summary: /* Languages */ [13:28:23] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847112 edit summary: /* Bug tracker */ [13:37:24] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847114 edit summary: /* Logs/Stats */ [13:42:23] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847115 edit summary: /* Mail: to do */ [13:46:08] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847116 edit summary: /* End-user-support */ [13:53:14] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847118 edit summary: /* OSM */ [13:56:09] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847120 edit summary: /* Render */ [13:58:47] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847121 edit summary: /* Other project-related stuff */ [14:01:08] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847122 edit summary: [14:05:22] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Valhallasw link https://www.mediawiki.org/w/index.php?diff=847123 edit summary: [15:55:30] Hi! Can anybody help me? I have some C# bots, so I use mono to launch it. So I can install crontab with scheldule I need using for example string: 20 * * * * mono botname.exe . But as I understand bots will launch on the login server? It is better to launch them on the grid, but I can't understand how? I tried to use jstart mono botname.exe and jsub mono botname.exe, but it doesn't work. What I should do with that? [16:00:16] dm: jsub mono botname.exe should work in general [16:00:24] check ~/mono.err to see if there are any errors [16:11:00] ~/mono.err contains this error: *** glibc detected *** /usr/bin/mono: free(): invalid pointer: 0x00002adf7fffd030 *** [16:11:26] Almost certainly crashing because it runs out of memory even before it starts properly. Mono is a hog. [16:11:55] I dunno how much it requires to start though; but if java is a good indication, it might be as much as 3G [16:19:44] So, I need to use -mem with high memory? Or there are another solutions? [16:21:41] In the web it is suggested to try MALLOC_CHECK_=1, how it can help here? [16:22:09] first try the memory limit [16:30:00] Ok, jsub -mem 1000m mono bot.exe works, but ~/mono.err still contains a lot of such errors. [16:50:12] mono.err is only appended to, by the way. Unless you empty it, previous errors will remain there. [16:58:26] I've noticed, I launched job with another name, so there were new errors. [17:06:46] Well, seems it works. I'll keep it in this way for days, and then I'll think what to do next. [18:22:39] I hate bugzilla. [18:22:57] 'Let's set up bugzilla locally to test the conversion script', he said [18:23:18] * valhallasw cries [18:23:54] valhallasw: ? what are you working on [18:24:00] jira -> bugzilla conversion [18:24:10] valhallasw: ooh, sweet [18:24:14] old toolserver tickets? [18:24:17] yeah [18:24:21] heh, i have been jira admin in the past [18:24:24] the jira part was easy [18:24:24] not that jira.. [18:24:28] that's just a REST api [18:24:34] and now i am setting up new bugzilla [18:24:36] and a good one, too [18:24:39] and work with andre on it [18:24:59] you can totally try the puppet module [18:25:09] that is new just not prod yet, but will be soon [18:25:13] I downloaded a vm with bugzilla [18:25:14] to setup a bugzilla on labs [18:25:18] but the xmlrpc api was not working [18:25:25] you can just use the WMF setup [18:25:25] and now I have to do magic cpan stuff [18:25:26] from puppet [18:25:31] and then clone upstream bz [18:25:37] and our modifcations on top of it [18:25:42] and you are EXACTLY like kaulen [18:25:54] DONT do cpan [18:25:56] wait ,, here :) [18:26:11] i have the perfect solution for that [18:26:12] *shrug* it's a local VM :P [18:26:15] and just spent time on it [18:26:37] even without puppet,, wait before you touch cpan, give me 10 sec [18:27:18] it's working now :-) [18:27:23] valhallasw: https://gerrit.wikimedia.org/r/#/c/101174/ !:) [18:27:25] noooo [18:27:32] use apt-get...please [18:27:39] ooooh that list is nice [18:27:39] and just install those packages listed above [18:27:45] its so much better [18:27:49] mutante: it's a *testing* setup :p [18:27:53] it is maintained by Debian Perl group then [18:27:55] I don't care if it's nice [18:27:58] I care if it works [18:28:04] valhallasw: the point of testing is to be like the real thing:) [18:28:05] for maybe a week [18:28:18] I'm hoping the xmlrpc api's will be thte same :p [18:28:19] but, ignore me.. still isnt that easier [18:28:23] to just use the package list [18:28:24] and apt [18:28:44] and it would even be MORE easy to let puppet install them [18:28:49] by applying that class to a node [18:28:59] just saying :) and now i let you do your thing,. heh [18:29:05] yes, it is [18:29:48] valhallasw: also, fwiw, labs has bugzilla project, not sure if your instance is in it, but maks sense maybe [18:30:00] also if you were project member you had other existing setup of bugzilla in labs [18:30:04] to just hop on [18:31:16] this is labs but not toollabs . maybe later.. i also gotta run but always happy to talk about bugzilla testing [18:31:27] good luck with the import stuff [18:31:29] thanks [18:32:06] as a user i even like the JIRA interface and it's powerful, but as an admin i must hate it, for being non-free and just a blob of an .ear/.war file that is really hard to debug [18:32:10] laters [18:34:16] valhallasw: one last tip, make sure bugzilla/lib/ in your install dir is empty, or it uses those perl modules instead of the system ones, that is exactly what is the case on kaulen and what i am fixing, it leads to unmaintained and tons of confusion which one is being used [18:34:28] mutante: thanks [18:35:07] from upstream there should just be a README there that tells you you can delete stuff there if you want to use the system libs [21:34:44] I am not have access to wikitech. That write me Login error [21:34:44] The two-factor authentication token provided was invalid. [21:41:42] Kolega2357: did you ever enable two factor auth? [21:42:12] Ryan_LaneNo. I am not know [21:42:24] are you putting anything into the token field when you try to login? [21:43:54] Ryan_Lane I am not have token. [21:44:07] right, but there's a token field on the login page [21:44:23] what's your login name? [21:44:55] Kolega2357 my login name [21:46:00] Ryan_Lane Kolega2357 my login name. [21:46:40] you definitely enabled two factor authentication at some point [21:47:31] do you have the google authenticator app installed on your phone? [21:47:49] Ryan_Lane No [21:48:48] I can disable 2fa, but I'll need you to send me an email from your account. [21:48:56] please send to rlane@wikimedia.org [21:49:04] the email address you used on the wiki needs to match [21:49:23] hm. actually... [21:50:10] I sent you a mail [21:51:18] Ryan_Lane I am answer you. [21:51:46] read my email :) [21:52:02] Anyone implemented a PHP-based MW OAuth client in Labs yet? valhallasw, you have one in Python, right? [21:52:09] Yep. [21:52:24] there's a PHP example on the OAuth extension page [21:52:32] but it uses a non-standard (json-based) protocol [21:52:43] Ah, anomie has one I think as well [21:54:51] Kolega2357: did you read my email? [21:58:02] i wish i could use tools-redis from outside of tools [21:59:16] giftpflanze: Nothing prevents you from installing one for your project. [22:01:03] all that work … ;) [22:03:40] Hurray, the JIRA migration is working \o/ [22:04:33] in only 234 lines [22:04:46] valhallasw: Yow, you managed to hack this up in half a day? Not bad. :-) [22:04:54] valhallasw: What bugzilla project are you stuffing them in? [22:05:05] s/project/product/ [22:05:22] I only converted the pywikipedia bots that were still in jira [22:05:46] I really want seperate bugzilla components for different tools :-) [22:06:43] Yes; there's the "Tool Labs tools" product, we can add a component for any tool which requests it. Having a list of which tools had jira issues would be a decent starting point though. [22:07:31] https://jira.toolserver.org/secure/Dashboard.jspa ;-) [22:07:43] it's a *long* list [22:08:12] Coren, do you have 'create component' rights on the tool labs tools product? [22:09:25] I do. [22:10:29] But there's an interesting question about what to do with projects that are not in active development or, indeed, how to decide whether it is in the first place. [22:10:58] for now, I'm sending an e-mail to toolserver-l with what to do to get projects converted [22:13:44] coren: what were the issues with memcache again? [22:14:37] I don't know. Caching is mostly Yuvi's plaything. [22:14:53] hm [22:16:47] How to run bot on wmf labs? [22:17:15] i think it is it not being maintained [22:19:01] Coren: could you create a component for tsreports, then? https://bugzilla.wikimedia.org/show_bug.cgi?id=58714 [22:19:59] valhallasw: Can you give me a description and a default asignee, please? [22:21:03] Coren: "The tsreports tool: http://tools.wmflabs.org/tsreports/index.fcgi" and myself = valhallasw@arctus.nl [22:21:41] What is the public SSH key? [22:21:52] valhallasw: {{done}} [22:21:55] !toolsdoc [22:21:56] https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help [22:21:57] Cool. [22:22:04] Time to do another import, then :-) [22:22:10] Kolega2357: ^^ that page has pretty much all you need to get you started [22:22:49] Coren Who is the public SSH key? [22:23:56] Kolega2357: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Generating_and_uploading_an_SSH_key [22:25:54] * valhallasw is really happy with the real name-to-real name-mapper [22:26:28] Assuming is actually - is that OK? [22:29:16] valhallasw Where send [22:41:18] That flooded my inbox quicker than expected. [22:42:14] 75 bugs in 13 minutes, including a break to fix a bug [22:47:59] Apparently revision_userindex contains an edit that cannot be found in recentchanges_userindex [22:50:25] select 1 from revision_userindex where rev_id=564156291; vs select 1 from recentchanges_userindex where rc_this_oldid=564156291; [23:02:46] Anyone here? [23:10:28] SigmaWP: the recentchanges table have olny revisions of the last 30 days, the timestamp of this revision is 20130713225403 [23:10:45] ah. [23:11:03] Any way to get the revisions older than that? [23:12:03] only in revision and revision_userindex tables [23:12:23] Hmm. [23:13:03] Unfortunately, there's no equivalent to rc_old_len in those tables [23:17:41] SigmaWP: yes, join revision with revision again by the rev_parent_id: SELECT rr.rev_len FROM revision r INNER JOIN revision rr ON r.rev_parent_id = rr.rev_id WHERE r.rev_id = 564156291; [23:18:59] That's much better than the subselect I was thinking of [23:19:01] I am have ssh key, now how to run bot? [23:19:03] Thanks [23:23:58] Kolega2357: do you have access to Tool Labs? if not, you need first to request access: https://wikitech.wikimedia.org/wiki/Special:FormEdit/Tools_Access_Request [23:25:08] danilo I am have shell right [23:25:45] Kolega2357: that's not enough [23:26:35] giftpflanze https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Kolega2357 [23:27:20] hm [23:28:57] What [23:29:17] Coren: How does the lighttpd thing work? It is Yuvi's proxy that forwards to the lighttpd instances? [23:29:48] What [23:30:35] ok, try to access tool labs (as described in the tool labs help page)