[07:41:13] morning all! T276624 has been sitting untouched for a few weeks now, anything I can do to push it forwards? [07:41:14] T276624: Delegate beta.wmcloud.org and svc.deployment-prep.eqiad1.wikimedia.cloud DNS zones to deployment-prep - https://phabricator.wikimedia.org/T276624 [10:10:09] !log admin cleanup conntrack table in standby node: aborrero@cloudnet1003:~ $ sudo ip netns exec qrouter-d93771ba-2711-4f88-804a-8df6fd03978a conntrack -F [10:10:12] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [11:33:56] !log deployment-prep Created subzone beta.wmcloud.org (T276624) [11:34:02] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Deployment-prep/SAL [11:34:03] T276624: Delegate beta.wmcloud.org and svc.deployment-prep.eqiad1.wikimedia.cloud DNS zones to deployment-prep - https://phabricator.wikimedia.org/T276624 [11:36:46] !log deployment-prep Created subzone svc.deployment-prep.eqiad1.wikimedia.cloud. (T276624) [11:36:52] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Deployment-prep/SAL [15:47:33] hi, I'm setting up a python tool on toolforge, and I have .env file that, in development, is used by docker-compose to set some env vars. on toolforge, how best to set env vars up? [15:47:59] or should I be using a config file and reading it within the python program itself? [15:49:57] inductiveload: hey, you can specify custom env vars using a deployment.yaml file, see https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes [15:51:09] but if all you want is some app specific configuration, maybe using a config file might be easier (also easier to swap/change and such) [15:53:50] dcaro, makes sense - if I _did_ use a deployment.yaml, where does it sit (assuming i followed https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Python) [15:57:13] inductiveload: anywhere that your user can reach it (your home for example), as you have to specify it manually every time [15:57:19] there might be a better way though [15:58:00] righto [15:58:17] sounds like I'd better just go back to my config file ^_^ [15:58:41] I tried to be too clever with docker [16:01:05] you could always use `dotenv` to load the env file from Python ;) https://pypi.org/project/python-dotenv/ [16:14:28] Lucas_WMDE, makes sense [16:14:54] but it goes "bang" when I try to install dotenv: AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader [16:14:57] tbh I’m not sure if I was being serious with that suggestion or not [16:15:03] most of my tools use YAML for config [16:19:33] inductiveload: are you running inside the container? (ex. webservice shell) [16:19:43] yes [16:20:28] i don't really mind how I do it, the "right" way ideally, if there is such a thing [16:21:36] xd, "right" is a very subjective word ;), can you share the commands you run to get that error? [16:21:45] (in a paste or similar) [16:22:06] this basically [16:22:08] https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Python#Creating_a_virtual_environment [16:22:28] (i.e. webservice-python-bootstrap) [16:23:34] r...txt: defusedxml flask requests requests_oauthlib dotenv [16:23:42] (with newlines, obv) [16:26:20] strange… you did step 5 in that list? (upgrade pip itself) [16:27:02] yep [16:27:40] Requirement already satisfied: pip in ./www/python/venv/lib/python3.7/site-packages (21.0.1) [16:30:46] pff, lol, it's python-dotenv, not dotenv [16:31:02] *headdesk* [16:31:41] dotenv is failing to install in my local too xd, yep, I think that package is kinda broken [16:31:45] python-dotenv works ok it seems [16:39:24] \o/ [16:44:36] ok, cool it's all working now [16:45:04] thanks for the help [17:04:15] 🎉 [19:46:48] (repeat from Saturday) Could someone fix Mix'n'Match's scraper? I've identified the problem, but it requires server access to fix. See https://meta.wikimedia.org/wiki/Talk:Mix%27n%27match#Scraper_functionality_down? [19:50:23] JesseW_elsewhere: you need to contact the tool maintainers (listed at https://toolsadmin.wikimedia.org/tools/id/mix-n-match), Toolforge staff usually do not modify individual tools as they are not aware of its internals [19:51:07] Thanks -- do you have any suggestions about how best to contact them? [19:51:53] I don't really have anything more specific than their on-wiki talk pages or Special:EmailUser, depending on their activity [19:51:55] They don't seem to be here (or at least, not under those nicks) [19:52:09] OK, will try those options, thanks. [19:52:16] It's a Magnus tool, so Bitbucket+email+talk page message is pretty much it [19:53:33] Are the other three people listed as maintainers worth trying to reach out to? [19:55:50] worth a shot [19:56:22] will do [19:57:49] Also, I suspect this may be a toolserver wide issue with curl not working, which is why I thought some of the toolserver staff might be able to help with it. [19:59:48] email to Hjfocs sent [20:01:38] toolforge, not toolserver :P [20:02:18] yes, my old-wikipedia-foggy-ness is showing thru :-P [20:04:44] if you have a specific reason to believe something is not working at all on toolforge, feel free to contact us or open a phabricator task, but if it's just some individual tool not working without anything more specific to suggest toolforge-wide issues, it's usually issue with the tool instead of the infrastructure [20:05:23] 'curl not working' makes me think of "maybe they have to set HTTP_PROXY" [20:05:25] Hmm. Do you happen to know of another tool using libcurl that I could check and see if it's broken? [20:05:36] That is quite possible, yes. [20:06:08] you could try to wget a test file [20:06:37] to show that/if it is not related to curl but just general http access [20:08:54] well, one interesting point is that the tool (Mix'n'Match) also uses the built-in php URL fetching, and *that* still works. [20:08:55] o/ I just saw someone interested in upgrading npm from 6.5.x to something newer in the node10 images for k8s on tools labs. Any readmes on how to make such a change? [20:09:27] I'm staring at the repo currently, but struggling to follow which steps I would need to follow [20:10:57] Perhaps I just need to make a change to this hash in this macros.integration_npm bit [20:13:40] JesseW_elsewhere: it [20:14:03] JesseW_elsewhere: it's possible that PHP code sets something like CURLOPT_PROXY but your manual curl does not [20:38:10] mutante: yep, quite possible [21:18:48] !log tools.lexeme-forms deployed 2e4e3dca5a (improved Malayalam nouns [not verbs as it says in the commit message, oops] + i18n updates) [21:18:50] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL