[03:51:39] Which proxy now used for Labs instead of bastion.eqiad.wmflabs.org ? [04:08:01] Got it. ProxyJump is much better. [10:48:38] is it expected or a known issue that tools would slow down after moving from Trusty to Stretch? [10:49:06] in my case the tool was already using the Kubernetes backend, so I’m not sure if starting that from the Trusty or Stretch bastion even makes a difference, but still, there seems to be a slowdown [10:49:18] (I’ll submit a task with more details if no one replies) [11:03:14] I will let you know when I see Lucas_WMDE and I will deliver that message to them [11:03:14] @notify Lucas_WMDE not expected, please file a phab task [11:04:26] hi! I'm trying to list all instances for a given wmcs project, as performed by ./modules/prometheus/files/usr/local/bin/prometheus-labs-targets [11:05:05] though now 'niregion' for wikitech api is hardcoded, how can I get a similar list or detect the region an instance is running in to then pass that to niregion? [11:06:54] godog: checking [11:07:04] I tried eqiad1 and eqiad1-r neither work tho [11:07:06] arturo: thanks! [11:09:26] godog: my first reaction is surprise bc the script is using mediawiki API rather than proper openstack API usage [11:10:14] to know project/instances, one usually interacts with keystone/nova using observerenv credentials (public API, public and read-only credentials) [11:11:28] the openstack API is what this tool uses: https://tools.wmflabs.org/openstack-browser/ [11:12:36] godog: we could work together in figuring out which concrete keystone/nova API query we need to fetch instances in a given project [11:15:13] arturo: thanks for the pointer! I'll take a look at the tool and ping you back with more questions in case :) [11:15:43] arturo: do you know if wikitech api niregion argument is supposed to check the new eqiad region too? [11:16:09] I'm asking to check if I can get unblocked now by using the right niregion [11:16:58] I doubt wikitech API can do that, it's deprecated, I'm sure none of that was upgraded to support our "modern" use cases in current cloudvps [11:17:19] godog: here is another simple example of using the nova API from python to fetch instances of a project: ./modules/openstack/files/monitor/spreadcheck.py [11:17:42] client = novaclient.Client("1.1", project_id=project, **creds) [11:17:42] servers = client.servers.list() [11:17:58] nice, seems simple enough [11:18:38] and I should be able to hit nova api with readonly public credentials ? [11:18:46] yes [11:19:25] awesome, thanks arturo for your help! [11:20:24] that example script loads credentials from this file: ./modules/openstack/templates/monitor/spreadcheck-tools.yaml.erb [11:21:09] godog: you are welcome :-) if you need help please create a phab task and I will help you with the code :-) [11:22:26] totally! [12:54:00] !log tools add webservice security group to tools-sge-services-03/04 [12:54:01] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [15:26:21] I can't seem to load http://tools.wmflabs.org/sal known? [15:32:16] (don't think so) [15:32:44] it was slow yesterday as well, and right as I asked about it in this channel it recovered [15:36:37] *nod* yeah still not loading for me, not sure if it does for you? [15:37:19] not for me at all [15:37:59] wait it just loaded [15:39:08] now it's loading fine, no idea why [15:39:29] same here! maybe it is like Lucas_WMDE said, works as soon as we mention it [15:40:50] lol [15:50:48] :-) [15:51:12] there should be some underlying issue in Toolforge, worth opening a phab task [16:26:19] godog: it's a Heisenbug :P [16:27:20] (I `sudo become sal`-ed abut it loaded about as soon as I typed that command and pressed enter) [16:27:45] wait is it not loading again? [16:28:10] taking forever to exit from k8s shell as well [16:28:26] zhuyifei1999_: WFM [16:28:30] !log tools.sal restarted tool [16:28:32] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.sal/SAL [16:28:43] it's up now [16:28:52] WFM? [16:28:58] ah, urbandictionary says “works for me” [16:29:03] my guess was “wait five minutes” :D [16:29:13] lol [16:29:29] :-P [16:29:40] everything looked fine, pods running etc.. but with the changes we made in the last few days, I found it better to restart it anyway [16:29:52] thanks gtirloni [16:49:04] !log rcm migrating 'beryllium' VM to another virt host [16:49:05] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Rcm/SAL [17:16:50] !log tools T213421 shutdown tools-services-01/02. Will delete VMs after a grace period [17:16:53] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [17:16:53] T213421: Toolforge: move services nodes from eqiad to eqiad1 - https://phabricator.wikimedia.org/T213421 [19:14:52] Hi there. The tool https://tools.wmflabs.org/osm4wiki/ is down ("502 bad gateway"). The tool is used on hundreds of thousands of pages (templates see https://www.wikidata.org/wiki/Q5845436). Who can fix it? [19:47:52] Bubuloido: looks good to me? [19:48:07] another Heisenbug? [19:53:12] zhuyifei1999: Try https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=en&article=Johnston_Atoll or https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=Commons&article=Category%3ACities_in_New_York&l=2 . You see more than a blank world map and no "502" message on the left? [20:14:07] Bubuloido: maintainers are kolossos and plenz apparently -- https://tools.wmflabs.org/admin/tool/osm4wiki [20:16:55] the code is a 1300 line perl cgi script that I'm not going to even try to understand :/ [20:41:43] !log tools Building tools-package-builder-02 to replace tools-package-builder-01 [20:41:46] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [21:26:25] +1. looks don't look like a toolforge-wide issue [21:26:43] *doesn't look [21:51:00] !log tools Upgrading tools-manifest to 0.15 on tools-cron-01 [21:51:02] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [22:05:29] !log tools Upgrading tools-manifest to 0.16 on tools-cron-01 [22:05:31] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [22:09:26] !log tools Upgrading tools-manifest to 0.16 on tools-sgecron-01 [22:09:27] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [22:20:41] !log tools.wsexport Increased webservice memory limit to 6G to see if that helps with OOM crashes [22:20:42] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.wsexport/SAL [23:37:22] !log tools Shutdown tools-package-builder-01. Use tools-package-builder-02 instead! [23:37:23] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL