#metabrainz

/

      • lucifer
        read as unless the community is fine with being exploited to generate unsustainable returns for investors
      • aerozol
        bitmap: ping me for a downtime post next time, I’ll put it on our socials 👍
      • lusciouslover has quit
      • reosarevok
        zas, atj: is CB meant to be 500ing now? https://critiquebrainz.org/
      • Apparently it was 502 earlier
      • atj
        reosarevok: it's trying to connect to floyd for some reason
      • even though the config contains no references to floyd
      • human joined the channel
      • human has quit
      • reosarevok: i think this is related to the postgres changes bitmap made yesterday. there is no pgbouncer container running on floyd, but critiquebranz is trying to connect to one
      • reosarevok
        Can we bounce them elsewhere? :P
      • human joined the channel
      • aaditya joined the channel
      • aaditya has quit
      • human has quit
      • human joined the channel
      • mayhem
        safe travels home akshaaatt -- you're the last person to return from the summit. next time you're in barcelona we'll unravel the dark mysteries of how shower curtains work. another exciting trip, for sure!
      • mayhem finishes mopping up his bathroom again
      • akshaaatt
        Hahahahah XD
      • Thanks btw!!
      • mayhem
        np
      • zas
        :D
      • mayhem
        yeah, we should depricate that piece, and just tell people to use LB API, but I'll got restart it.
      • atj
        reosarevok: I could probably hard code some IPs, but I don't really want to mess with stuff I don't fully understand, especially when it's database related
      • reosarevok
        Seems ok to wait for bitmap
      • bitmap
        mayhem fixed it already but basically you just need to restart the container if that happens
      • mayhem
        critiquebrainz-web-prod is what I restarted
      • bitmap
        if we have any other projcets using uwsgi it'd be nice to compare their setup and find out why cb's is borked
      • atj
        bitmap: ffs :P
      • i restarted uwsgi and it was still broken, so i thought a container restart was pointless
      • bitmap
        yeah! I tried restarting the runit service at first too but it wouldn't take
      • atj
        I guess I should trust in the old three-finger salute method more
      • bitmap
        aerozol: thanks for the posts, was gonna ping you today but should've done it sooner :)
      • yvanzo: zas: hi, so in order to move sir-prod off of floyd and onto hendrix, I understand we have to whitelist hendrix's IP somewhere. could you help with that?
      • human has quit
      • human joined the channel
      • human has quit
      • petitminion joined the channel
      • zas
        bitmap: yes, I'll have a look right now, I guess it's https://github.com/metabrainz/mb-solr-cloud/blo...
      • bitmap: done, check if it works
      • bitmap
        zas: yes, it seems to start without errors now...thank you!
      • petitminion has quit
      • processing messages too
      • here's the switchover doc I'm working with - https://docs.google.com/document/d/e/2PACX-1vSq...
      • human joined the channel
      • human has quit
      • guess I'll have to rewrite a good chunk of syswiki/DatabaseServer.md today 😑
      • mayhem
        this looks interesting: https://protomaps.com/
      • bitmap
        looks like a good alternative to mapbox which MB still depends on
      • mayhem
        I was wondering about that.
      • bitmap
        lucifer: mayhem: monkey: if there are any LB/BB cron jobs that access the main DB you'll want to stop them soon
      • mayhem
        lucifer: you around? is your brain? my brain is still super slow from the cold.
      • lucifer
        Hi! Yes, I can do that in ~5 mins.
      • bitmap
        if they start at :00 and definitely take less than an hour you can let the next one finish, but :)
      • monkey checks
      • monkey
        Should be good for BB
      • Pratha-Fish
        reosarevok / bitmap Is this all area related info that we have on musicbrainz? https://usercontent.irccloud-cdn.com/file/CBUzU...
      • Also, Guam should be a territory right? IDK why it's area type is marked as 1 (country) in MusicBrainz
      • lucifer
        bitmap, mayhem: stopped both cron containers.
      • mayhem
        thx
      • bitmap
        ++
      • Pratha-Fish
        also, looks like Turkey isn't even classified as a country in MusicBrainz for some reason https://usercontent.irccloud-cdn.com/file/kzQf1...
      • bitmap
        Pratha-Fish: neither of those appear to be Türkiye :)
      • I'm not sure about your first question, is there info you see on the website that is missing there?
      • Pratha-Fish
        Not really. But I am not sure if I am missing anything in particular. Just verifying :)
      • Just struggling with getting the area data in right shape out of the musicbrainz database
      • ig I'll rewrite it a bit
      • bitmap
        whoops, just fixed some ssh issues in the pg containers that would've caused the switchover to fail
      • bitmap simplified some steps in the google doc
      • I'll bring services down on the gateway in a few minutes
      • proceeding with the switchover
      • zas
        bitmap: tell me if you need any help
      • bitmap
        looks good, I think we can bring services back now
      • rozlav has quit
      • we're back
      • rozlav joined the channel
      • zas
        that was fast
      • bitmap
        yeah!
      • monkey 👏
      • reosarevok
        Pratha-Fish: our country list is basically "stuff ISO marks with an ISO 1 code"
      • Easier than making too many political decisions
      • bitmap
        zas: welp, floyd can be retired from service now 🫡
      • zas
        guys, if you have anything left on floyd/pink you want to back up, please do asap
      • I just noticed hendrix isn't listed as pg server in ansible hosts config, I'll add it right now. telegraf doesn't report pg stats for it
      • bitmap
        oh, right
      • bitmap restarts CB containers
      • zas
        what's the issue with CB containers?
      • bitmap
        its consul-template config is broken or something, it can't restart uwsgi properly
      • zas
        atj, bitmap: https://github.com/metabrainz/metabrainz-ansibl... does this still make sense?
      • bitmap
        well, for pgbouncer, the ports changed for one, and there are now 6 pgbouncers (3 on jimmy, 3 on hendrix)
      • zas
        also we have few obsolete container's names in https://github.com/metabrainz/metabrainz-ansibl... (-floyd / -pink)
      • reosarevok
        bitmap: have you checked https://github.com/metabrainz/musicbrainz-serve... at all btw?
      • bitmap
        one is for master/primary connections, one for slave/standby connections, and another for "any" (unused, but useful if we want to distribute read only queries to either the master or standby in the future)
      • atj
        would be good to work out what this uwsgi issue is
      • zas
        bitmap: then we should adapt so we can get stats for all pgbouncer instances
      • reosarevok
        It says "One limitation of the approach used here is that it doesn't detect relationship changes." - maybe you have any suggestions for that :)
      • bitmap
        reosarevok: not yet, but I can check it later today
      • reosarevok
        Perfect
      • Would be good to put a beta out tonight or tomorrow
      • But I see you're quite busy today :D
      • bitmap
        zas: the relevant containers now are postgres-jimmy, postgres-hendrix, pgbouncer-master, pgbouncer-slave, pgbouncer-any, and haproxy-postgres
      • zas
        bitmap: ok, thanks, I'll add them
      • bitmap
        if there is an easy way to add haproxy stats to telegraf, it might be useful too
      • pgbouncer connects to haproxy, haproxy to pg
      • zas
        bitmap: yes, I was thinking about it, we may need to make few changes to haproxy configs so telegraf can gather stats from them, I'll have a look at this this week
      • bitmap: we need to have /stats endpoint accessible on haproxy containers on hendrix/jimmy, it runs on port 8182 according to config, but this port isn't exposed by containers it seems
      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #1027 (03master…bb-data-ts-migration): TypeScript migration of the ORM https://github.com/metabrainz/bookbrainz-site/p...
      • bitmap
        zas: ok, I'll look into it
      • should be able to restart these without downtime, let's see
      • reosarevok
        bitmap: is MBS-13325 intentional do you remember? (because of grouping or whatnot)
      • BrainzBot
        MBS-13325: Open performer removal edits are not shown in credits at bottom https://tickets.metabrainz.org/browse/MBS-13325
      • bitmap
        zas: alright, it should be exposed on port 65439 now
      • here's how I restarted the containers, will have to simplify this and incorporate it into syswiki https://gist.github.com/mwiencek/c3ae84396425d1...
      • reosarevok
        <BANG>
      • Monday rolling back again, like a tackling Wooloo
      • Today I have four mailed in reviews (well, two were IRCd in, but we'll count it):
      • ansh said:
      • '''
      • Hi everyone!
      • Last week, I worked on adding the new design changes aerozol made. I opened the PR for Fresh Release page LB#2603.
      • BrainzBot
        LB-1172: Fresh releases improvements: https://github.com/metabrainz/listenbrainz-serv...
      • reosarevok
        I had a great meeting with monkey where we discussed some of the blockers for this PR.
      • Other than that I spent time working on getting spark to work with the new filters, and fixing some frontend tests.
      • Thats it for me
      • '''
      • yvanzo said:
      • '''
      • Last week I worked mostly on actionable tasks following the summit: writing notes, prepping weblate, fixing small issues, triaging tickets, and a bit of support…
      • '''
      • aerozol said:
      • '''
      • It’s a holiday/long weekend here, and Lucy-Belle’s birthday, so I almost forgot it was Monday! I didn’t though. Lucky lucky you.
      • mayhem
        stitches? what did I miss?
      • sounds like an unusal merge conflict
      • reosarevok
        aerozol said:
      • '''
      • It’s a holiday/long weekend here, and Lucy-Belle’s birthday, so I almost forgot it was Monday! I didn’t though. Lucky lucky you.
      • mayhem
        oy, not too bad I hope!
      • reosarevok
        Last week I mainly worked on other client work, but I did a bit more work on the summit 23 blog post. I will post it Wednesday.
      • Anyone who wants to proof it, do it now: https://wordpress.com/post/blog.metabrainz.org/...
      • yvanzo and reosarevok there are no notes for your topics of: Service alerts, Spam, Security audits
      • Add them to the word doc before Wednesday if they’re important. If they’re not important it’s fine to leave them out. The doc: https://docs.google.com/document/d/1bz32duq95jS...
      • Other than that I made some changes to the Fresh Releases redesign mockup, that Ansh has made great progress on, and noodled about with some design considerations with monkey
      • I also added YouTube videos/walkthroughs to a bunch of wiki pages
      • The person who is second (after me) most likely to forget it’s Monday can go next
      • '''
      • monkey
        Mon-what?
      • reosarevok
        I'm not sure how likely FishFish is to forget it's Monday but here's his review:
      • '''