[02:12:39] Warning: There is 1 user waiting for shell: Wpmirrordev (waiting 0 minutes) [04:45:33] Ryan_Lane: I get a "cannot connect to redis server" error when trying to clean up http://en.wikibooks.beta.wmflabs.org/wiki/Special:RecentChanges using Special:Nuke or Special:Block [05:00:42] JasonDC: sorry, I'm not the person who manages beta [05:00:42] that's hashar, petan and others [06:27:56] Warning: There is 1 user waiting for shell: Rsmith (waiting 0 minutes) [06:28:08] wow, nice bot! :) [06:31:06] it gets annoying after a while ;) [06:41:25] Warning: There is 1 user waiting for shell: Rsmith (waiting 13 minutes) [06:54:50] Warning: There is 1 user waiting for shell: Rsmith (waiting 26 minutes) [07:01:05] ...like, right about now [07:02:42] Hi ! I need some help for Wikimedia Labs (wikitech) ! Is there someone here ? [07:08:10] Warning: There is 1 user waiting for shell: Rsmith (waiting 40 minutes) [07:11:11] ori-l: :P [07:11:16] have a fun vacation! [07:11:54] thanks :) [07:21:31] Warning: There is 1 user waiting for shell: Rsmith (waiting 53 minutes) [07:34:52] Warning: There is 1 user waiting for shell: Rsmith (waiting 66 minutes) [07:41:24] Hawk-Eye, wasup? [07:48:17] Warning: There is 1 user waiting for shell: Rsmith (waiting 80 minutes) [07:51:04] Hi MaxSem :) I'm French and I want to run my bot on Labs. I try since last month, but I can't do this. My bot never runs on toolserver before, so I'm (very) novice with wikimedia servers ! [07:52:11] So I search someone who can personnaly help me, step by step... [07:54:59] have you read https://wikitech.wikimedia.org/wiki/Help:Access ? [07:55:28] also, if you want to participate in the existing bots project, you need to talk to petan [07:55:44] Yes ! I registered https://wikitech.wikimedia.org/wiki/Nova_Resource:Bots on april. [07:57:03] so you've been added to the project? good [07:57:23] so what's the problem? [07:57:29] Yes I have :) [07:59:04] I am going to explain you my problem, but my English is poor so that takes time to me to translate my problem into English. I report you my problem in a few minutes :) [08:01:37] Warning: There is 1 user waiting for shell: Rsmith (waiting 93 minutes) [08:06:27] So... I'm on Windows 8. I downloaded PuTTY and PuTTYgen last month. I create a public key and I make it here : https://wikitech.wikimedia.org/wiki/Special:Preferences#mw-prefsection-openstack. After that, I opened PuTTY, and I used "Hawk-Eye@tools-login.wmflabs.org" as Host name. And I entered my private key in "Connection < SSH < Auth". After that, I clicked on "OPEN" and I have this error : http://img254.imageshack.us/img [08:10:00] Hawk-Eye, the image url has been cut off [08:10:27] the url is broken ? [08:12:08] http://img254.imageshack.us/img [08:12:30] this is better : http://img254.imageshack.us/img254/1402/errorgu.png [08:15:05] Warning: There is 1 user waiting for shell: Rsmith (waiting 107 minutes) [08:23:25] ehm, did you save your connection settings? [08:25:35] OMG ! I ask for help today, and I succeed to connect in the same hour. The problem was : I used "Hawk-Eye@tools-login.wmflabs.org" but "Hawk-Eye" is my "Full Name" in gerrit, even though "alexandre1993" is my "Username" (I don't know why)... [08:25:37] also, did you use pageant? [08:25:50] oh [08:26:04] So "alexandre1993@tools-login.wmflabs.org" is the correct identifiant... [08:28:26] Warning: There is 1 user waiting for shell: Rsmith (waiting 120 minutes) [08:34:50] valhallasw did you want me to implement some feature to wm-bot [08:35:01] I think you sent me some link [08:35:56] petan: yes, it would be great if we could have a 'N users waiting for Tools access' warning [08:36:10] ok what is that link [08:36:11] https://wikitech.wikimedia.org/wiki/Category:Tools_Access_Requests [08:36:13] that [08:41:50] Warning: There is 1 user waiting for shell: Rsmith (waiting 133 minutes) [08:55:13] Warning: There is 1 user waiting for shell: Rsmith (waiting 147 minutes) [09:08:38] Warning: There is 1 user waiting for shell: Rsmith (waiting 160 minutes) [09:22:05] Warning: There is 1 user waiting for shell: Rsmith (waiting 174 minutes) [09:35:37] Warning: There is 1 user waiting for shell: Rsmith (waiting 187 minutes) [09:36:38] @requests-on [09:36:38] Requests system is already enabled [09:36:38] Requests were enabled [09:37:17] Warning: There is 1 user waiting for shell: Rsmith (waiting 0 minutes) [09:38:49] @requests [09:38:49] Warning: There is 1 user waiting for shell: Rsmith (waiting 190 minutes) [09:38:49] Warning: There is 1 user waiting for shell: Rsmith (waiting 2 minutes) [09:38:50] Warning: There is 1 user waiting for access to tools project: BotTest (waiting 0 minutes) [09:40:09] @requests [09:40:09] Warning: There is 1 user waiting for shell: Rsmith (waiting 192 minutes) [09:40:09] Warning: There is 1 user waiting for shell: Rsmith (waiting 3 minutes) [09:41:06] petan: awesome :-) [09:45:27] !rq Rsmith [09:45:39] !rq Rsmith [09:45:39] https://wikitech.wikimedia.org/wiki/Shell_Request/Rsmith?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Rsmith?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Rsmith [09:47:10] !ping [09:47:10] pong [09:47:11] @requests [09:47:12] There are no shell requests waiting [09:49:20] andrewbogott_afk https://bugzilla.wikimedia.org/show_bug.cgi?id=39076 [10:19:31] @notify coren [10:19:31] I will notify you, when I see coren around here [10:52:19] Warning: There is 1 user waiting for shell: Samwilson (waiting 0 minutes) [11:03:30] hi, [11:03:47] I want to coonect to lab but putty shows me this error [11:03:49] Using username "reza". If you are having access problems, please see: https://wikitech.wikimedia.org/wiki/Access#Accessing_public_and_private_instances Authenticating with public key "rsa-key-20130513" from agent [11:04:09] I set pagnet and putty correctly [11:04:20] also added key to preference [11:05:40] Warning: There is 1 user waiting for shell: Samwilson (waiting 13 minutes) [11:13:26] reza: I see no error? [11:13:49] what server are you connecting to? [11:19:13] Warning: There is 1 user waiting for shell: Samwilson (waiting 26 minutes) [11:25:45] I try [11:25:49] to connect to tools-login.wmflabs.org [11:27:17] so what happens after 'Authenticating with public key "rsa-key-20130513" from agent'? [11:27:53] reza: حاجی اون تب بغلی رو چک کن [11:27:57] do you get 'Software caused connection aboty'? [11:28:16] i need a user who has access to commons.wikimedia.beta.wmflabs.org [11:28:25] it shows me that error [11:28:28] and stoped [11:28:36] ابراهیم کجت [11:28:38] چک کنم؟ [11:28:41] کجا [11:28:43] /what/ error? [11:28:48] you get /what/ error? [11:28:58] reza: پی‌ام دادم بهت وایسا خودم ردیفش می‌کنم [11:29:01] wait [11:29:05] the connection abort? In that case, try again [11:30:01] the error = server unexpectedly closed network connection [11:30:26] reza: right click the title bar, event log [11:30:54] any clearer error there? [11:31:01] :'( i need a user who has access to commons.wikimedia.beta.wmflabs.org [11:31:07] if not, someone with root access should check the ssh log [11:31:14] wait [11:32:13] Can anyone tell me who should I ask for? [11:32:16] Steinsplitter I have [11:32:29] do you mean in putty or site? [11:32:38] Warning: There is 1 user waiting for shell: Samwilson (waiting 40 minutes) [11:32:46] !rq Samwilson [11:32:46] https://wikitech.wikimedia.org/wiki/Shell_Request/Samwilson?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Samwilson?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Samwilson [12:28:39] Coren: Hi. Sorry, Reza has trouble for login to tools server. I even generate a new key for him and upload it into lab console wiki (things that I did for my account and is ok for me) but we still can not connect to his account. Do you have any advice for him or anything you think we missed? Thanks [12:29:05] ebraminio: Well, I can go check what the logs say, maybe I can see what's going on. [12:29:19] ebraminio generating key for someone else is like generating a password for someone else... a bad idea [12:29:34] I requested [12:29:40] we are frind [12:29:50] a I had problem with my acount [12:29:55] ok [12:31:36] reza: Your problem is very simple: you are a member of the bots project, but not of the tools project! :-) [12:31:48] :) [12:31:57] please add me :) [12:32:19] reza: There you go. :-) [12:33:02] Coren: Thanks a lot! [12:33:08] thank a lot [12:33:10] :) [12:35:54] reza: Being a sysadmin would be easy if all problems were that simple to solve. :-) [12:40:03] yes if all errors was like this the world was better :) [12:52:43] @requests [12:52:43] There are no shell requests waiting [12:52:47] hmm. [12:53:32] petan: is the module not yet loaded? or am I doing it wrong? :-) [12:53:45] it i [12:53:46] s [12:54:33] Coren: petan fixed the bot! And it should say I'm waiting for tools access... at some point :-) [12:54:45] are there some requests waiting? [13:04:37] valhallasw: No it won't, I removed your test request long ago. :-) [13:16:41] sumanah: ping --> PM please [13:16:47] hi Izawayz [13:16:59] Izawayz: go ahead. [13:22:29] Coren: I re-set it to 'no', so it *should* show up, I'd say [13:22:34] @requests [13:22:34] There are no shell requests waiting [13:23:00] valhalla1w: It doesn't show in the SMW query [13:23:01] valhalla it doesn't check the old requests [13:23:25] valhalla once the request is processed it stores it to own cache so that it doesn't download tons of pages from me [13:23:26] mw [13:23:28] petan: ah, I see [13:23:52] Coren: there's a cache problem there, it does show up when you purge the cache... [13:25:40] Anyway, i set it to 'Completed: Yes', and we'll see if anything shows up :-) [13:25:47] (other users requesting tools access) [13:27:40] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 0 minutes) [13:28:00] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 0 minutes) [13:28:20] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 0 minutes) [13:28:40] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 1 minutes) [13:28:51] o.O [13:29:00] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 1 minutes) [13:29:20] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 1 minutes) [13:29:25] that is a bug [13:29:28] I will not talk in here until you disable this [13:30:16] that was quicker than expected :D [13:32:10] Output will be no longer suppressed now [13:33:20] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 1 minutes) [13:33:42] @requests [13:33:42] There are no shell requests waiting [13:33:51] eh [13:34:04] did you process it? [13:34:15] I can't - I'm not an admin for the tools project [13:34:22] Coren: ^ [13:34:46] @requests [13:34:46] There are no shell requests waiting [13:34:50] .. [13:35:14] aha lol [13:35:14] it's ok [13:35:21] this is another bug [13:38:10] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 1 minutes) [13:40:33] @requests [13:40:33] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 3 minutes) [13:41:07] !rq Ricordisamoa [13:41:07] https://wikitech.wikimedia.org/wiki/Shell_Request/Ricordisamoa?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Ricordisamoa?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Ricordisamoa [13:42:13] Coren did you insert Ricordisamoa to project? because they are already there.. [13:42:26] petan: I did yesterday. [13:42:30] aha [13:42:40] Coren we need to create a message then [13:43:00] like template for shell request... [13:43:28] petan: Have teh fun. I'm a bit busy with db replication for the next couple days. :-) [13:43:33] ok [13:43:48] petan: I'll take a look at it somewhere this week [13:44:51] Coren, valhallasw feel free to change https://wikitech.wikimedia.org/wiki/Template:ToolsGranted [13:45:07] !rq [13:45:08] https://wikitech.wikimedia.org/wiki/Shell_Request/$url_encoded_1?action=edit https://wikitech.wikimedia.org/wiki/User_talk:$url_encoded_1?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/$url_encoded_1 [13:46:42] !tr is https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/$url_encoded_1?action=edit https://wikitech.wikimedia.org/wiki/User_talk:$url_encoded_1?action=edit§ion=new&preload=Template:ToolsGranted https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [13:46:42] Key was added [13:46:58] mhm [13:47:07] !tw [13:47:08] !tr [13:47:08] https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/$url_encoded_1?action=edit https://wikitech.wikimedia.org/wiki/User_talk:$url_encoded_1?action=edit§ion=new&preload=Template:ToolsGranted https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [13:47:13] !tr del [13:47:13] Successfully removed tr [13:47:41] !tr is request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/$url_encoded_1?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:$url_encoded_1?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [13:47:41] Key was added [13:47:49] !tr test [13:47:49] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/test?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:test?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [13:51:40] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 14 minutes) [14:05:12] Warning: There is 1 user waiting for access to tools project: Ricordisamoa (waiting 28 minutes) [14:17:30] !tr Ricordisamoa [14:17:31] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Ricordisamoa?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:Ricordisamoa?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [14:18:03] lol Coren beats me [14:53:20] !log deployment-prep restarted job service on jobrunner08 : /etc/init.d/mw-job-runner restart . It was missing /usr/local/apache/common {{gerrit|64057}} and {{gerrit|64065}} fix it by using a symlink to /data/project/apache just like on apache webservers. [14:53:23] Logged the message, Master [15:40:17] what happened to https://wikitech.wikimedia.org/wiki/Special:NovaProject [15:41:33] greenrosetta: What's your problem with it? [15:41:42] You used to be able to add a service group from that page [15:41:43] no longer [15:42:08] bah.. you have to set a filer first [16:01:07] http://xkcd.com/196/ [16:03:45] http://ganglia.wmflabs.org down ? [16:04:43] phe: yup [16:04:46] noticed that earlier [16:05:00] Can someone help me get a public IP for my project (named "Snuggle")? [16:06:02] halfak: did you know we have a proxy ? :-] https://wikitech.wikimedia.org/wiki/Help:Proxy [16:06:17] halfak no because it's too similiar to huggle :P [16:06:25] http://INSTANCE_NAME_HERE.instance-proxy.wmflabs.org/ [16:06:40] OMFG [16:06:43] proxy! [16:06:44] :D [16:06:45] * sumanah looks forward to Snuggle [16:06:46] o/ [16:06:50] Hmm... That could work. At least in the short term. I'll give it a try. [16:06:57] Thanks :) [16:07:10] Hi sumanah. Getting it public as fast as I can. :) [16:07:12] !proxy [16:07:13] halfak: yeah that is a nice way to get a public access over http (maybe https too i don't know) [16:07:21] !proxy is did you know we have a proxy ? :-] https://wikitech.wikimedia.org/wiki/Help:Proxy [16:07:21] Key was added [16:07:33] that is one of the best labs trick [16:07:46] indeed [16:07:52] since most people expose HTTP interfaces, that usually does the job well enough [16:07:53] I'll eventually need https. Can anyone point me to docs on how that'll work out? [16:07:57] and save a public IP [16:08:02] but what if someone use it to escape bastion [16:08:10] Coren: ^ (in case you have more about HTTPS) [16:08:27] halfak: I don't know how that proxy is setup, maybe it does support https [16:09:00] halfak: at least that let you get some kind of public access while waiting for another solution. [16:09:10] Agreed. [16:09:25] The "canonical" way to do HTTPS in a proxy set up is to let the proxies do it. That's what I did on tools; the proxy speaks both http and https and always proxies to the real webservers with http. [16:10:09] Hmmm... Not sure I appreciate being where it could most easily be listened to. [16:10:16] *being http [16:10:43] Well, of course, you need a setup where that's not an issue. :-) [16:11:01] Oh a public IP. [16:11:01] *or [16:11:07] yikes typing :\ [16:12:18] It's nowhere near the issue most people think though; if you're in a position to eavesdrop between the proxy and the webserver, you're in a position to intercept the cleartext anyways (because you're on one or the other). Barring someone eavesdropping on our networking gear-- but then we have much more pressing problems. :-) [16:12:48] (The non-issue is because the same entity controls both endpoints and everything inbetween) [16:14:49] Hmm... That's a good point Coren. [16:15:12] After I said that, I realized that I'm more worried about eavesdroppers in a coffee shop than in Labs. [16:15:35] In which case you're covered by the https to the proxy just as well. [16:16:37] instance-proxy should really support https though. I wonder why it doesn't already. [16:17:50] * Coren asks. [16:19:20] I'll figure out something once I know. In the meantime, I expect you can use instance-webproxy to work on it and eventually https will Just Work™ even if I have to do it myself. :-) [16:19:51] Sounds good. Thanks for your help. [16:20:02] :) [17:29:36] andrewbogott: https://bugzilla.wikimedia.org/show_bug.cgi?id=40945 [17:30:09] we really need to rename the old instances, but that's not actually terribly easy [17:31:29] We could just create a sudo policy for both names... [17:31:38] yep [17:31:42] that's what I was thinking [17:32:19] I'll look at it [17:32:32] it could show a single entry (that's the hostname), but use both names in the back [17:32:51] I guess I could see how many instances are left with the old names [17:33:25] Lots, I suspect [17:33:27] likely [17:33:38] well, it changed when we upgraded to… essex maybe? [17:33:44] or was it diablo? [17:34:21] essex I think [17:35:10] 119 instances [17:35:23] out of 367 [17:35:46] we should probably just change the interface to use hostnames [17:36:29] new policies will generally be made for new instances anyway [17:36:49] I'm slightly confused about which way this is broken... [17:36:57] the gui already shows hostnames… at least the part I'm looking at does. [17:37:09] but it stores the i-xxx name [17:37:11] in ldap [17:37:28] so, when the host goes to look up a policy, it searches by hostname [17:37:30] and username [17:37:37] the hostname is based on the instance's FQDN [17:38:00] on new instances the FQDN on the instance is the hostname, on older instances it's the id [17:40:40] Yep, I understand the problem as described, just surprised that it's broken that way and not the other way 'round. Anyway, I'm looking at the code now. [17:40:55] well, because we've always injected the i-xxx name into ldap [17:41:02] but we display the "friendly" name [17:41:08] hi, can somone add the import(upload) grout for my account on the wmflab.commons. thx [17:41:26] petan: ^^ around? [17:41:37] I wonder who else has admin on the beta projects.... [17:42:11] Steinsplitter: you could state your username [17:42:33] Steinsplitter^^ [17:44:24] with Special:Import is not possible to import from :commonswiki: [17:45:37] errrr, wtf. deployment allows me to create a page named "special:log" ? [17:46:00] or at least gave me an edit box [17:46:37] Jasper_Deng_away: where do i do steward stuff? deployment? [17:47:13] looks like it [17:47:56] jeremyb, yeah either that or meta [17:48:00] I can't remember what I decided :p [17:48:09] probably deployment because that's where it's requested [17:48:10] well meta says to use "labs wiki" [17:48:23] andrewbogott: seems nova has a "rename" function [17:48:35] I'm trying that out on one of my old instances [17:48:40] Ryan_Lane, do we have any particular rules re giving global dev on beta labs? [17:48:58] Thehelpfulone: I don't believe so [17:48:58] anything from legal I mean - I don't think CU is enabled so there shouldn't be any privacy issues? [17:49:07] ok [17:49:09] CU is disabled, yeah [17:50:06] andrewbogott: alas, it doesn't work :) [17:50:14] What does it do? [17:50:31] no idea :D [17:50:37] it's supposed to rename the server [17:50:45] maybe it thinks the name is already that, though [17:51:09] it may just change the display name [17:52:42] > [17:52:42] > 17:52, 16 May 2013 Jeremyb (Talk | contribs | block) changed group membership for User:Steinsplitter@commonswiki from administrator to administrator, importer and transwiki importer (requested on #wikimedia-labs) [17:53:05] jeremyb: thank you :):) [17:54:52] andrewbogott: yep. just display name. that's completely worthless [17:54:59] yep! [18:03:36] Ryan_Lane, how is beta labs set up? http://meta.wikimedia.beta.wmflabs.org/wiki/Main_Page is missing a logo (a minor thing, but I thought it's supposed to replicate production?) [18:03:46] obviously not live, but periodical updates or something? [18:10:26] it has a small amount of similar content [18:10:36] it doesn't use replicated databases [18:11:22] http://upload.beta.wmflabs.org/wikipedia/meta/b/bc/Wiki.png [18:11:25] looks like it should be that [18:11:36] but upload.beta.wmflabs.org doesn't exist? [18:11:51] or is broken? [18:24:26] is ther a pimort-upload limit for labswikis? v [18:24:28] http://commons.wikimedia.beta.wmflabs.org/wiki/Special:RecentChanges [18:25:17] and the import is not logged *g* [18:38:53] Ryan_Lane: Even those old instances still have puppetVar: instancename= in ldap, right? [18:39:05] yep [18:51:31] running a dist-upgrade on all instances. expect performance to drop for a while [19:18:54] petan: Around? [19:33:25] Coren: Eh, Russell's how to *is* for Tools :-). [19:33:51] scfc_de: Oh, it looked like it was for bots- [19:39:03] Coren, I saw your message on labs-l. Pywikipedia is working on tools project, now. [19:39:25] russblau: Ah. My miscomprehension. :-) [19:40:20] I haven't tried to set it up on bots, yet, since Petan seemed to say the other day that he's going to change the whole setup soon [19:40:23] russblau: BTW, is it useful for Pywikipedia users to know that the dumps are at /public/datasets/public? [19:40:39] scfc_de: yes, it would be [19:41:46] russblau: As "Step 7"? Or "Misc"? :-) [19:42:04] scfc_de: Misc, I guess :-) [19:43:08] I forhot petan set up /shared on tools-, so I had mistakenly assumed that was for bots-. :-) [19:44:19] Bash hint: "FOO=bar; export FOO" can be written "export FOO=bar" [19:44:59] Ryan_Lane: BTW, do you know if the addition of dumps to /public/datasets/public is atomic? [19:47:50] Coren: thanks, good to know [19:54:07] Coren: Is .bash_profile read in crontab? [19:54:55] scfc_de: It shouldn't be. .bashrc should, however. [19:55:00] And/or is the environment preserved for SGE jobs? (Thinking about PYTHON_PATH.) [19:55:05] cron, IIRC, does not start login shells [19:55:33] Coren: That's my take as well, but jsub in an interactive shell would pass PYTHON_PATH to spawned jobs? [19:56:22] scfc_de: No. Just tested it and it's not. [19:56:41] scfc_de: Easy and clean solution: jsub a script that sets up the environment explicitly. [19:57:23] But a .bashrc would be sourced, you could also put it there. [19:57:47] Coren: Yep. russblau: When you add information about using crontabs and/or grid jobs, you should -- well, consult Coren :-). [19:58:19] Coren: Even cleaner solution: Package Pywikipedia as a .deb and properly deploy to standard lib directories :-). [19:59:01] BBIAB [19:59:08] scfc_de: That can also be done, but given it's update rate I'd rather someone upstream did that. [19:59:10] scfc_de: I just copied my PATH and PYTHONPATH to the top of my crontab file, and it's been working so far [19:59:37] russblau: You shouldn't start python from cron at all: that runs on -login. [19:59:38] Coren: may i remind you to bug 47900? [20:00:35] Coren: oh, then what's the recommended approach? [20:00:37] *of [20:00:42] giftpflanze: It's well in mind but, realistically, it's not going to happen until after the Amsterdam Hackaton. I really don't have the bandwidth to backport languages atm. [20:00:59] ok [20:01:00] russblau: You want to send the job off to the grid. Easy way: check the manpage for jsub [20:01:36] Coren: can you set a utf-8 locale in the grid? [20:01:54] Coren: oh, I see; I've already been using qsub (couldn't find much info about jsub) in my cron file [20:02:14] giftpflanze: Most locales are supported. en_US.UTF-8 is the default. [20:02:29] last time i checked it was not [20:02:36] russblau: qsub also works, jsub is just a wrapper that provides same defaults. [20:02:43] i still have problems with encoding [20:03:49] I just tested it, and it's definitely LANG=en_US.UTF-8 [20:03:53] * Coren tries de [20:05:54] strange [20:06:18] On grid: [20:06:27] export LANG=de_DE.UTF-8 [20:06:27] date [20:06:27] cat does_not_exist 2>&1 [20:06:38] output: [20:06:39] Do 16. Mai 20:06:02 UTC 2013 [20:06:46] So it seems supported. [20:06:56] What does $LANG look like from your script? [20:07:43] sec [20:10:06] when i set LC_ALL to en_US.UTF-8 tcl's [encoding system] is utf-8, otherwise its iso8859-1 [20:10:24] i don't know yet which LC_ it actually is [20:13:32] $LC_* is derived from $LANG; unless tcl does something funky. [20:17:40] on toolserver there was the same behaviour [20:24:13] Coren: what can we do about it? [20:25:36] giftpflanze: Set your locale explicitly in your script is the best solution. [20:26:45] i tried [encoding system utf-8], but that only works half the time [20:29:29] Why not explicitly export LANG=xx_XX.UTF-8? [20:29:57] where? [20:33:13] Well, the tool's .bashrc would be a good place since it's a dependency of the tool that its locale be UTF-8 [20:33:58] and that's evaluated in the ge? [20:39:42] sigh [20:56:25] dist-upgrading virt cluster. I don't expect issues, but fair warning [21:18:32] !log bastion rebooting all bastions [21:18:34] Logged the message, Master [21:27:57] Can somoene install python module on tools for me please? [21:28:15] greenrosetta: Which? [21:28:16] pip install shortuuid [21:28:36] Not with pip I wont. :-) I'll make a package from it and install it shortly. [21:28:43] blah blah blah [21:30:07] :) [21:30:11] (pip is evil :) ) [21:30:20] easy_install [21:30:22] :D [21:31:26] :D [21:32:32] a question about en-wiki database. I was looking at the structure, and correct me if I'm wrong, coulddnt a developer determine which pages are on a persons watchlist? [21:38:39] greenrosetta: Do you mean the actual database used by WMF? Of course. On Toolserver the tables are redacted (and in Tools they will be). [21:42:11] scfc_de: ok, that makes sense [21:46:32] is there an .htacess setting that will allow all files in a directory to be downloaded? [22:10:25] Coren|Dinner: please ping me after you install the module [22:26:26] andrewbogott: how was your extension installed for wiki editing? [22:26:38] andrewbogott: it seems since the upgrade it isn't working [22:27:14] I think it's puppetized… I'll look. [22:27:28] It could use some rearranging for folsom anyway [22:28:22] * Ryan_Lane nods [22:28:37] there was another extension you had that was waiting till folsom, right? [22:31:06] well, potentially gluster volume creation, but that's probably not so exciting now... [22:31:14] ah. right [22:31:14] heh [22:31:29] I just accidentally rebooted virt0 :( [22:32:04] bastion1 seems unresponsive, too [22:32:09] oh. or not [22:32:12] it's up [22:32:39] ah. right. virt0 being down means ldap lookups are slower [22:33:41] interesting :P [22:33:51] it's back up [22:34:32] all virts are down except virt6? O_o http://ganglia.wikimedia.org/latest/?c=Virtualization%20cluster%20pmtpa [22:34:50] not totally sure why ganglia isn't properly reporting [22:34:53] they are all up [22:34:58] :D [22:34:59] I did a dist-upgrade on all of them [22:36:36] ganglia.wmflabs seems to be dead :/ http://ganglia.wmflabs.org/latest/?c=bots&h=bots-bsql01 [22:37:31] addshore: yeah, I was trying to reboot that when I accidentally rebooted virt0 [22:37:37] :D [22:39:52] its back, seems to be behaving rather oddly. [22:40:29] it's acting normally [22:40:43] projects are reconnecting [22:41:53] petan|ic / petan have you done anything on bots in the last 30 mins? [22:43:32] oh actialy, looks like mysql was just struggling because of ldap [22:43:51] because of ldap? weird [22:44:02] it shouldn't depend on ldap at all [22:49:14] Ryan_Lane: ganglia lost all previous data for labs project? [22:49:21] *projects [22:49:25] I think it's stored on tmpfs [22:49:40] yep. it is [22:50:31] I wonder why most of the hosts aren't sending info [22:55:03] * Ryan_Lane grumbles [22:59:01] in unicast mode? [23:01:54] yeah [23:02:11] why in the world does gmetad only think there are 14 sources? [23:03:05] http://sourceforge.net/apps/trac/ganglia/wiki/FAQ under the heading "When using unicast, restarting the collector gmond causes metric graphs to disappear" ? [23:03:14] yeah [23:03:26] but there's like 150 sources listed in the gmetad config :) [23:03:35] hmm [23:03:49] can you guys help me with an apache issue? [23:04:03] possibly [23:04:07] I'm creating a file in my public_html directory with my python app [23:04:16] dynamic name [23:04:36] the file cannot be accessed however [23:04:40] until I chmod it [23:04:56] I don't think my python app can change permissions, nor would you want it too [23:05:20] so is there a way to preset the permissions of all files that go into a directory? [23:06:12] what's wrong with its permissions? [23:06:29] im getting a 403 [23:06:38] what are its permissions? [23:07:05] whats the view version of chmod? [23:08:15] ls -l [23:08:33] in octal? [23:08:53] no clue how to make it show in octal [23:08:54] -rw-rw---- [23:09:22] tryong to browse to that file gives a 403 [23:09:23] what user/group? [23:09:43] ? [23:09:51] how do I tell? [23:10:19] ls -l [23:10:20] :) [23:10:34] -rw-rw---- 1 local-quickquery local-quickquery 148601 May 16 22:13 poop.csv [23:10:52] I don't see why that would be a problem.... [23:10:56] Coren|Dinner: ^^ [23:10:57] if I chmod 755 the file, I can then download it [23:11:00] damn. he's at dinner [23:11:05] try 750 [23:11:15] maybe it doesn't like write permissions on the group [23:13:04] try 661 [23:13:30] *771 [23:13:57] I had a special probelm where for some reason for the webserver to be able to get a file it needed to have +x for anyone.. [23:16:23] that's got to be a bug [23:16:32] you may want to open a bug in bugzilla for this [23:19:06] I may well do :) I'll reproduce it again in a few days and willdo :)