clarkb | fungi: looks like statusbot didn't come back after the applied changes went in? | 00:07 |
---|---|---|
fungi | oh, i'll check on it, thanks for spotting | 00:08 |
clarkb | fungi: also I'm not seeing the may 30th log file on eavesdrop | 00:08 |
clarkb | nevermind it is there now. Maybe I just needed to start typing? | 00:09 |
fungi | last thing statusbot logged was at 18:28:08 utc | 00:09 |
fungi | debug log for it stops abruptly | 00:10 |
fungi | i'll start it again | 00:10 |
clarkb | fungi: could that be due to the image updating and your local edits and my upstream changes weren't quite in sync maybe? | 00:11 |
fungi | oh, it's trying to run under python3 now | 00:11 |
fungi | ImportError: No module named 'ConfigParser' | 00:11 |
clarkb | aha so ya my edits must not hvae been sufficient | 00:11 |
clarkb | do you want me to fix that? | 00:11 |
fungi | well, i have a feeling we were previously installing it with pip for python 2.7 and this is just the first change we've made since something switched us to installing things with pip for python 3.5 | 00:12 |
fungi | so there may be other things which need editing | 00:12 |
fungi | do we want to just roll forward onto python3 i guess? | 00:12 |
fungi | i can work up a change to address whatever needs updating for that | 00:13 |
clarkb | ya that seems reasonable since we need to do that to dockerize it | 00:13 |
clarkb | since our docker images all assume python3 | 00:13 |
fungi | yeah, there's some print statements which aren't functions at the very least | 00:14 |
fungi | oh, this is icky... it's actually print statements in simplemediawiki | 00:15 |
fungi | File "/usr/local/lib/python3.5/dist-packages/simplemediawiki.py", line 179 | 00:15 |
fungi | print test_api_url | 00:15 |
clarkb | fun | 00:16 |
fungi | pip says it's simplemediawiki 1.1.1, i have a feeling it found a 2.7 wheel flagged incorrectly as universal or something | 00:17 |
clarkb | the last release of that lib was long enough ago that it may just be naive and not specify | 00:17 |
fungi | yeah, that's the latest version, Released: Oct 16, 2011 | 00:17 |
fungi | not a wheel, just an sdist | 00:18 |
clarkb | maybe we need to stick to python2 for now | 00:18 |
fungi | also that sudo error for the statusbot account on eavesdrop was me | 00:19 |
clarkb | I'm not going to be able to fix that tonight, but wanted to check in after the utc day rolled over to check log rollover in particular | 00:19 |
clarkb | I'll try to check in tomorrow though | 00:20 |
clarkb | (and log rollover does look good) | 00:20 |
fungi | yeah, no worries, i'll try to find where we've somehow started to use python3 to install it | 00:20 |
clarkb | fungi: maybe `pip` changed its default target somehow? | 00:20 |
fungi | also possible | 00:23 |
fungi | yeah, /usr/local/bin/pip has #!/usr/bin/python3 | 00:24 |
clarkb | well thats a thread to pull on. I need to sort out dinner now. Thanks for getting all this done today | 00:25 |
fungi | last modified 2021-01-23 | 00:25 |
fungi | thanks for all your help! enjoy dinner | 00:25 |
ianw | ++ huge thanks for sorting this one out | 00:25 |
fungi | the "sudden" python3 transition for statusbot is going to take a bit of work to unravel, i suspect | 00:26 |
fungi | it happened sometime between this weekend and two years ago (2019-04-20) when statusbot was last installed on the server | 00:28 |
fungi | and it's getting a bit late here, so short of manually reinstalling with pip2 or locally editing simplemediawiki's files on the server to support python3, it may have to wait for tomorrow for me to go deeper | 00:30 |
fungi | i guess i'll see how terrible forking simplemediawiki to work on python3 will be | 00:30 |
ianw | 1.1.1, oct 17, 2011 | 00:31 |
ianw | it looks like there are pre-release packages that have at least 3.3 support | 00:32 |
fungi | also uses cookielib (now http.cookiejar), StringIO (now io)... | 00:35 |
fungi | oh, yeah maybe we can pip install --pre | 00:35 |
fungi | now i've installed simplemediawiki 1.2.0b2 | 00:37 |
ianw | heh, me too, it wants stringio, we can try patching that out | 00:37 |
fungi | next up, statusbot is complaining about strings vs byte type objects | 00:37 |
ianw | how are you starting it? | 00:38 |
*** opendevstatus has joined #opendev | 00:38 | |
fungi | non-daemon (-d) as the statusbot user | 00:39 |
fungi | seems that was enough to get it working, i'll get the diff pushed up for review | 00:39 |
fungi | though it may crashycrash as soon as we status notice | 00:39 |
fungi | waiting for it to finish joining channels first | 00:40 |
ianw | probably the easiest thing to do is to "vendor" it? as in we can still make changes but keep it in statusbot | 00:42 |
opendevreview | Jeremy Stanley proposed opendev/statusbot master: Switch to Python3 https://review.opendev.org/c/opendev/statusbot/+/793670 | 00:44 |
fungi | ianw: ^ or update requirements.txt to specify the prerelease as a minimum | 00:44 |
fungi | assuming it actually works. time to find out | 00:45 |
fungi | #status notice Manually patched statusbot and forced upgrade of simplemediawiki to a prerelease on eavesdrop to accommodate installing for Python 3.5 | 00:45 |
opendevstatus | fungi: sending notice | 00:45 |
fungi | oops | 00:45 |
*** opendevstatus has quit IRC | 00:46 | |
fungi | i didn't mean to notice that, was supposed to be log | 00:46 |
*** opendevstatus has joined #opendev | 00:46 | |
fungi | i killed the bot with ctrl-c so as not to spam too many channels | 00:46 |
ianw | i still see a process running with -d ? | 00:47 |
fungi | yeah, i started it back up | 00:48 |
fungi | it only spammed 6 channels before i caught it | 00:48 |
fungi | once it finishes joining everything again i'll do the same but log instead of notice | 00:49 |
fungi | i think it updates the wiki after it writes to all the channels, so it didn't get around to that yet | 00:49 |
fungi | #status log Manually patched statusbot and forced upgrade of simplemediawiki to a prerelease on eavesdrop to accommodate installing for Python 3.5 | 00:49 |
opendevstatus | fungi: finished logging | 00:49 |
fungi | https://wiki.openstack.org/wiki/Infrastructure_Status | 00:50 |
fungi | seems to be working | 00:50 |
ianw | ++ | 00:51 |
fungi | okay, for now i'll kill it and start it back up with systemctl | 00:52 |
*** opendevstatus has quit IRC | 00:53 | |
ianw | is there anything else outstanding? | 00:53 |
*** Unit193 has left #opendev | 00:53 | |
ianw | i'm about to leave for my government mandated 2 hours of outdoor exercise time, as we are back in a lockdown situation :/ | 00:54 |
fungi | ianw: well, aside from the update i sent to service-discuss, there's this pad where we've tracked what we had to fix: https://etherpad.opendev.org/p/TWxo-aN1nOaA8bJnidkh | 00:54 |
fungi | we're caught up on those things for now, with the exception of the hand-patched supybot (we may be able to switch it from a deb to pip install, i haven't looked hard at that option yet) | 00:55 |
fungi | or we could just raise the priority on the limnoria rewrite | 00:55 |
ianw | ok, thanks for the pointers. i'll try to bring myself up to speed | 00:57 |
fungi | the supybot patch was really just a minor string tweak to get it to recognize a nickserv response | 00:58 |
fungi | but we're installing from the deb in ubuntu, which wasn't updated from xenial to bionic and was then dropped entirely in focal | 00:59 |
fungi | since we're installing our own fork of meetbot with pip, installing newer supybot with pip seems like it would likely be straightforward to implement | 01:00 |
fungi | longer term regressions we've accepted for now for the sake of expediency: identifying to nickserv without the identify-msg cap runs the risk of sending our passwords to an imposter nickserv (during a service outage/netsplit) but we could switch our bots to certfp auth or back to sasl once it's supported here, and the lack of identify-msg cap also means we currently don't confirm that nicks | 01:03 |
fungi | interacting with statusbot are registered and identified (we could add some extra routines to check with /whois or something) | 01:03 |
*** cloudnull has joined #opendev | 02:02 | |
*** boistordu has joined #opendev | 02:11 | |
*** boistordu_ex has quit IRC | 02:17 | |
*** elodilles has quit IRC | 05:25 | |
*** elodilles has joined #opendev | 05:25 | |
*** slaweq_ has joined #opendev | 06:20 | |
*** boistordu has quit IRC | 06:24 | |
*** boistordu_ex has joined #opendev | 06:26 | |
yoctozepto | morning | 07:04 |
yoctozepto | seemingly 0 spam after setting +s | 07:05 |
*** slaweq_ has quit IRC | 07:43 | |
paladox | ianw: exercise is mandated where you live? | 10:14 |
paladox | :wow: | 10:14 |
*** slaweq_ has joined #opendev | 10:25 | |
*** slaweq_ has quit IRC | 10:52 | |
*** slaweq has joined #opendev | 10:59 | |
*** opendevstatus has joined #opendev | 11:14 | |
frickler | #status log Restarted statusbot, it wasn't running and had stopped logging around 00:52 | 11:19 |
opendevstatus | frickler: finished logging | 11:19 |
frickler | fungi: ^^ maybe we need to keep statusbot running in a screen for some time in order to catch possible other issues, I didn't manage to find something helpful in any log | 11:21 |
*** slaweq has quit IRC | 11:22 | |
fungi | paladox: sounds about like what i'd expect from a former prison colony ;) | 11:34 |
fungi | frickler: i agree, i'll get it set up now | 11:34 |
*** opendevstatus has quit IRC | 11:36 | |
*** opendevstatus has joined #opendev | 11:37 | |
fungi | infra-root: i've got a root screen session going on eavesdrop.o.o where i did an su to the statusbot user and then started statusbot in the foreground, so if it dies again we should be able to check that to find any traceback it might have left | 11:38 |
paladox | Heh | 11:38 |
fungi | #status log Restarted statusbot in the foreground within a root screen session for better collection of possible crash data | 11:42 |
opendevstatus | fungi: finished logging | 11:42 |
fungi | i need to update my client configuration, so will be in and out for a bit if someone's looking for me | 14:29 |
*** fungi has quit IRC | 14:30 | |
*** fungi has joined #opendev | 14:41 | |
*** fungi has quit IRC | 14:44 | |
*** fungi has joined #opendev | 14:45 | |
fungi | okay, i think i'm done for now | 14:46 |
fungi | i'm in 45 channels here on oftc, stayed in 13 on freenode to help redirect stragglers for stuff i'm involved in | 14:49 |
corvus | i'm going to restart all of zuul | 15:29 |
corvus | we're going to get some more stuff in zk; mostly some raw configuration data | 15:30 |
corvus | #status log restarted all of zuul on commit bd1a669cc8e4eb143ecc96b67031574968d51d1e | 15:35 |
opendevstatus | corvus: finished logging | 15:35 |
corvus | though it looks like we're still one commit shy of really switching over to storing the config files in zk | 15:36 |
fungi | awesome | 15:37 |
corvus | so it may not be a huge zk change, but there's still quite a bit of stuff since our last restart | 15:37 |
corvus | re-enqueuing | 15:41 |
corvus | done | 15:45 |
fungi | thanks! | 16:39 |
*** slaweq has joined #opendev | 18:00 | |
*** slaweq has quit IRC | 19:34 | |
fungi | i'm hanging out in #rdo in hopes of getting up with the current owners this week to either allow opendevaccess to manage it or tell us they don't need our service bots in there... it's continuing to get spammed today while none of the numerous +s channels i'm in are getting hit | 21:22 |
fungi | more evidence that's been helping, i guess | 21:22 |
*** sshnaidm|off has quit IRC | 21:29 | |
*** sshnaidm|off has joined #opendev | 21:30 | |
*** sshnaidm|off has quit IRC | 21:38 | |
*** sshnaidm|off has joined #opendev | 21:40 | |
*** sshnaidm|off has quit IRC | 21:48 | |
*** sshnaidm|off has joined #opendev | 21:51 | |
*** sshnaidm|off has quit IRC | 22:00 | |
*** sshnaidm|off has joined #opendev | 22:01 | |
*** sshnaidm|off has quit IRC | 22:09 | |
*** sshnaidm|off has joined #opendev | 22:11 | |
*** sshnaidm|off has quit IRC | 22:20 | |
*** sshnaidm|off has joined #opendev | 22:21 | |
*** iurygregory_ is now known as iurygregory | 22:46 | |
*** tkajinam has joined #opendev | 22:59 | |
*** tkajinam has quit IRC | 23:01 | |
*** tkajinam has joined #opendev | 23:01 | |
opendevreview | Merged openstack/project-config master: setup.cfg: Replace dashes with underscores https://review.opendev.org/c/openstack/project-config/+/791343 | 23:11 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!