[02:35:58] I need some help with toolforge [02:36:04] (sorry for the spam username lol) [02:36:12] so i created a new tool [02:36:21] and i see [02:36:23] Tool airbubble created [02:36:23]  AirBubble [02:36:24] A bot used to do various things called AirBubble. [02:36:24] License [02:36:25] MIT License [02:36:25]  bot pywikibot [02:36:37] what do i do next? how do i put in code [02:36:44] the wikitech docs are so inconsistent [02:38:15] ...is anyone here? i guess irc is not the option to ogo [02:38:56] hi ao54949489489e4d [02:39:01] What are you trying to do exactly? [02:39:18] i would like to host a pywikibot [02:39:24] on toolforge [02:39:55] have you read through https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot ? [02:40:41] it tells me some bash stuff, what bash shell do i use? [02:40:46] the one on my local or what [02:41:23] i am new to toolforge so sorry if this seems stupid to ask [02:42:14] Were you able to ssh into Toolforge? [02:42:46] yes [02:42:55] using powershell [02:43:20] specifically https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Pywikibot_tool#Accessing_Toolforge_for_the_first_time [02:43:40] so once you've logged into Toolforge, you can run `become airbubble` to act as the tool [02:43:51] and then do the various bash commands [02:44:42] no, what shell? i know that, i just need to know what prompt do i do it [02:47:05] @login.toolforge.org: Permission denied (publickey,hostbased). [02:47:12] (on powershell) [02:47:59] maintainer@tools-login:~$ : The term 'maintainer@tools-login:~$' is not recognized as the name of a cmdlet, function, [02:48:00] script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is [02:48:02] you there? [02:49:04] uhh [02:50:36] legoktm you there? [02:51:00] sorry, was looking elsewhere [02:51:14] it seems like you weren't able to log into Toolforge [02:51:20] given the "Permission denied" error [02:51:30] the ssh said it was valid though [02:52:03] and why does it need to be this complicated? i was expecting it to be as simple as repl.it [02:52:03] 18:47:05 @login.toolforge.org: Permission denied (publickey,hostbased). [02:52:30] have you tried https://wikitech.wikimedia.org/wiki/PAWS ? [02:52:36] yes [02:52:39] when i put in the prompt [02:52:45] it's probably closer to repl.it, gives you a shell without needing to ssh, etc. [02:52:45] the PAWS prompt wasnt typable [02:53:07] but i might try again now [02:53:34] are you using a non-standard browser? [02:53:44] google chrome [02:54:04] not sure then, sorry [02:54:17] Welcome to PAWS. Please report any issues on Phabricator [02:54:17] 500 : Internal Server Error [02:54:18] uhh? [02:55:03] i sure don't want to host my bot on a server that crashes:p  just kidding [02:56:11] okay i logged into paws its not 500ing now [02:59:40] yay its working [03:42:26] why is this not working? [03:42:27] ```import pywikibot [03:42:27] site = pywikibot.Site("en","wikipedia") [03:42:28] catmembers = pywikibot.newest_pages()``` [03:42:54] AttributeError Traceback (most recent call last) [03:42:54] Input In [20], in [03:42:55]       1 import pywikibot [03:42:55]       2 site = pywikibot.Site("en","wikipedia") [03:42:56] ----> 3 catmembers = pywikibot.newest_pages() [03:43:06] module 'pywikibot' has no attribute 'newest_pages' [03:43:19] how does pywikibot have no "newest pages"? its in the api reference [03:45:37] hello ao54949489489e4d [03:45:56] hello [03:46:01] sorry for my spam username :P [03:46:45] can you get newest pages in https://en.wikipedia.org/wiki/Special:ApiSandbox somehow? [03:46:51] this could help with writing the pywikibot [03:47:17] i'm asking why the functions in the api reference doesnt work [03:47:27] its not just newest pages [03:48:57] let's start with newest pages for now [03:49:05] first make that request in api sandbox [03:49:10] then we can try to replicate it in pywikibot [03:53:03] i dont know the code [03:53:11] what is the code i need to put in [04:00:16] newest_pages() is a method of the Category class, not something that you can call like `pywikibot.newest_pages()`. (There is nothing in the docs that says to use it like that.) [04:03:09] 6697 [04:04:57] JJMC89: so how do i use it? [04:07:13] hello? [04:08:19] Something like this: https://i.fluffy.cc/0MM6Jc8vcMwZcfzrr5pmBDmlrQcw9vmv.html [04:09:09] can you just send the code in [04:09:12] i dont ant to click linkx [04:09:32] i dont want to click links* [04:09:33] No. you shouldn't paste code here. [04:09:37] why> [04:09:42] i just need one line of code [04:09:55] its spammy [04:10:00] oh come on... [04:10:44] ok blame me [04:10:59] if you shoultn do that [04:11:07] JJMC89 come on [04:14:52] could anyone help? [04:15:04] (with the question i posted above) [04:22:02] and how do i make the bot view the recent changes [04:22:06] is anyone here [04:22:43]  I xl @PO: : P {{  SS )3 N0  2.  ;  ; Q;F [04:22:43] E"?[ {P- [04:22:55] Ins pw p [1997kB] [04:26:40] that message seems corrupted [04:26:43] lol [04:28:56] how do i make the bot view logs [04:29:02] anyone here [05:18:45] you should not expect instant responses here. this is not necessarily synchronous. although it can be. also you will get a better response if you put in a little more effort. saying you want people to spoon feed you code and refusing to click their links is not a good way to encourage people to help you. [05:19:52] also people may appreciate consolidated messages like my last message instead of lots of individual messages on their own lines. [10:37:04] !log admin [codfw1dev] briefly installed galera-4 (26.4.11+1bullseye) over (26.4.9-0+deb11u1) on cloudcontrol2001-dev and then downgrade again to verify package install (T302482) [10:37:08] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [10:37:08] T302482: openstack db: figure out new versions for galera & mariadb - https://phabricator.wikimedia.org/T302482 [15:42:56] !log admin stopping and starting mariadb on cloudcontrol1003 (T302146) [15:43:00] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [15:43:00] T302146: Galera on cloudcontrol1004 going out of sync - https://phabricator.wikimedia.org/T302146 [15:46:15] ok, it's starting up... everything looks ok so far (waiting for ready) [15:46:45] ok, ready [15:47:19] now it's catching up... (wsrep_local_recv_queue_avg going down) [15:49:47] yes, they are master-master replication [15:50:01] (now I was able to create the db on 1003, and it replicated on 1005) [15:50:53] so I'm guessing that the secondary was already in a bad state before [15:51:08] (before I tried creating the db the first time) [16:00:53] btw. I'm also running pt-stalk on cloudmetrics1005, to gather some extra info if/when the issue happens (fyi.) [16:01:17] cloudmetrics? [16:02:46] aish... [16:02:54] cloudcontrol... I was reviewing the cloudmetrics patch xd [16:03:31] btw. if you want me to merge it I'm ok with that, just not sure if filippo wanted to review it first or just be notified about them [16:04:13] it's not urgent and he mentioned in the task that he wanted to review it [16:04:21] ack, will wait then :) [16:16:30] thanks for the consideration dcaro ! LGTM [16:23:40] taavi: merged [16:27:24] let me know on task what you'd like to do re: alerting rules [16:33:55] godog: are there other options than ops/alers.git? [16:34:27] taavi: that and puppet.git yeah [16:35:39] probably easier to go with alerts.git though, including ::profile::alerts::deploy::prometheus and checking prometheus is configured to read those paths should be enough [16:39:49] I went with https://gerrit.wikimedia.org/r/c/operations/puppet/+/765567/, just so I can avoid introducing new uses of 'labs' that are hard to get rid of later [16:40:48] merge access on alerts.git is currently restricted to ldap/wmf, would you be willing to give access to some trusted volunteers (for example me) as well? [16:41:51] * taavi silences prometheus=cloud in alertmanager for a month before that is merged [16:45:21] taavi: re: access I don't know if I'm in a position to decide atm, I can bring it up at the next sre meeting [16:45:35] I'll take a look at the patch tomorrow, I have to go [16:45:43] sure, thank you! [16:45:47] if it gets merged in the meantime that's fine too tho [17:04:29] !log admin upgrading eqiad1 and codfw1dev to mariadb 10.5.15+maria~bullseye via 'apt-get install libmariadb3:amd64 galera-4 mariadb-server' [17:04:33] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL