[05:43:11] Hi I need help [05:43:33] I have installed pywikibot in terminal now apart from the wikidata script in pywikibot bot I want to use another script like User:Mike Peel created wikidata script or custom script [09:02:21] I've been trying to revive the server for https://bub2.toolforge.org since yesterday but the npm server is getting killed while running npm install. I replaced npm with yarn and got exit status code error 137. Now, I'm certain it's memory issue. [09:02:22] I've tried running the webservice command with -c 3 and -m 6Gi (the max available by default) but I am not able to see my pod when I run kubectl get pods. Earlier, it used to generate a pod something like bub2-string. Can someone help me here? [09:03:23] I am anyways planning to move it to cloud VPS soon but need help to at least make it work for now. [09:06:54] kubectl get pods just returns these 5 shell pods. Earlier it used to return the correct pod for webservice and no shell pods. [09:06:55] [09:06:56] shell-1705550300 1/1 Running 0 29h [09:06:58] shell-1705557896 1/1 Running 0 27h [09:06:59] shell-1705559524 1/1 Running 0 26h [09:07:01] shell-1705645133 1/1 Running 0 166m [09:07:02] shell-1705647254 1/1 Running 0 131m [09:08:36] i would start from deleting the old shell pods, which are taking enough quota that they're blocking the actual web service from starting [09:15:32] It worked! Deleting all the shell pods and restarting the webservice with higher cpu and memory. Thanks a lot Taavi! [15:57:26] I want to set up a proxy as per https://wikitech.wikimedia.org/wiki/Help:Using_a_web_proxy_to_reach_Cloud_VPS_servers_from_the_internet [15:58:10] It says I need to "Set up security groups properly." but doesn't give any hint what "properly" means in this context. [15:58:17] Is there something special I need to do? [16:02:44] roy649: you'll need to allow traffic from the proxy to your VM. In theory this section lower down is supposed to explain: https://wikitech.wikimedia.org/wiki/Help:Using_a_web_proxy_to_reach_Cloud_VPS_servers_from_the_internet#Security_groups [16:02:47] Is that enough to go on? [16:03:34] Ah, yeah, I just found that section. The line I quoted links to [[Help:Security groups]], which isn't too helpful :-) [16:07:02] yeah, there should probably be two links, I'll fix [16:18:01] Could I trouble you to look at my setup: https://horizon.wikimedia.org/project/instances/e56b810b-6a74-41cf-8aa0-5a5fddcb2014/ [16:18:23] I'm trying to proxy port 5601. It looks like I got the security group and rules right, but it's not working :-( [16:18:53] When I go to https://spi-tools-search.wmcloud.org/ I get a 502 [16:24:28] I know the server is up and running. I can port-tunnel to 5601 with ssh and access it that way. [16:27:57] roy649: yep, I can look. Unfortunately that horizon link didn't translate, can you give me the fqdn on the host in question? [16:28:45] opensearch2.spi-tools.eqiad1.wikimedia.cloud [16:28:58] thx [16:31:25] oh, wait, I think I may see the problem. I might only be listening on localhost, not 0.0.0.0 [16:31:32] give me a moment to run that down. [16:32:02] ok! [16:32:29] for starters you will want curl opensearch2.spi-tools.eqiad1.wikimedia.cloud:5601 to work on your VM, which it currently does not (I'd expect that to work even if you were listening on localhost) [16:41:14] actually, curl does work; it's just redirecting to /app/login, which you don't see by default. [16:41:45] Is it possible the proxy is trying to connect with IPv6? [16:42:04] I'm only listening on v4 [16:43:02] oh, no, curl works on localhost, but not the FQDN [16:46:24] ah, yeah, that was it. I was just listening on localhost. I reconfigured it to listen on 0.0.0.0 and it works now. [16:46:57] Sorry to have bothered you about something so basic. My sysadmin skills are getting rusty. [16:50:21] no problem, glad you got it working [21:26:54] how do I request more space for the reading-web-staging cloud instance? I'd like to move away from some deprecated machines but I don't have space to create a new machine (I prefer to get it working before deleting the old one?) [21:31:05] Jdlrobson: just follow the instructions at https://phabricator.wikimedia.org/project/view/2880/ [21:34:27] got it thanks. I guess the migration is a next week thing then :) [21:39:23] Okay done! https://phabricator.wikimedia.org/T355453