#metabrainz

/

      • darwin
        (I am transiting denmark, lol)
      • ruaok_ joined the channel
      • ruaok
        darwin: where ya headed to in the end?
      • ruaok has quit
      • ruaok_ is now known as ruaok
      • ruaok migrates one setup to irccloud
      • aeontech has quit
      • reosarevok_ joined the channel
      • reosarevok
        reosarevok_: hi!
      • reosarevok_
        hi reosarevok
      • reosarevok
        Ok, this IRCCloud thing seems to work fine :p
      • ruaok
        :)
      • I'm running a separate browser in order to not have it impact my use of chrome.
      • kepstin-laptop joined the channel
      • zas
        ruaok: which behavior do we expect after a service failure ? let me explain
      • reosarevok
        Cursing and grumbling!
      • ruaok
        heh
      • zas
        all is running on ernie, suddenly nginx crashed on ernie, so it failovers and move all services to bert
      • we can either: do nothing and wait admin noticed and eventually move all back to ernie
      • add a failover timeout, with a preferred location (ernie), so it will try to move all back to ernie after some time
      • should we have a "preferred location" ?
      • or we don't care at all, until all is running on one server (but then it can migrate from ernie to bert, and stay on bert, until next issue)
      • in case of failover we can clear failover history automatically or not
      • ie. ernie -> service failure -> migrate to bert -> 2 days passed, no admin reset the failover -> service failure -> all stopped (it can't migrate back to ernie, since it knows it has failed)
      • ruaok submits the invoice for the JSON-LD contract
      • ruaok
        \ΓΈ/
      • ruaok reads what zas wrote
      • preferred location: ideally not, methinks.
      • zas
        or ernie -> service failure -> migrate to bert -> 2 days passed, autoreset done after 6 hours -> service failure -> migrate to ernie -> if succeeded, ok, else all stopped
      • ruaok
        shall we start simple and then adjust as we go?
      • for me that means: do nothing, but notify admins.
      • admins can inspect and adjust as needed.
      • zas
        imho having a failover timeout of 24 hours ie. can help
      • ruaok
        and when that becomes painful, commit it to code to automate
      • zas
        it will try to migrate back if 24 hours have passed
      • Gentlecat has quit
      • so it is an intermediate solution
      • ruaok
        I'm ok with that if you prefer that.
      • zas
        i think it is good, still require admin to check the thing in case of failure, but is able to recover in case it was a temporary failure, followed by another failure
      • Gentlecat joined the channel
      • having a long delay prevents any flapping
      • ernie -> bert -> ernie -> bert ... loop wouldn't be nice ;)
      • ruaok nods
      • kepstin joined the channel
      • so i will set a preferred location on ernie, so it will start services on it, and only migrate to bert in case of failures, then services will stay on bert, i'll adjust stickiness so it will only try to migrate back in case of failure and 24 hours passed
      • kepstin-laptop has quit
      • Gentlecat
      • ruaok
        perfect!
      • on a slightly different topic, I'm noodling on the idea of re-working Huesound ( http://s.huesound.org ) to work with the CAA and the tomahawk applet.
      • then maybe put it on the homepage of the CAA as a showcase for the CA??
      • +A
      • johtso joined the channel
      • Gentlecat
        ok, merged
      • zas
        ruaok: i have a setup exhibiting the correct behavior ;) : ip-dns tinydns dnscache on ernie, i stop dnscache, pacemaker migrates ip-dns tinydns dnscache to bert, after 2 minutes (for test, it will be 24 hours), i stop dnscache on bert, services are migrated back to ernie, dnscache restarted
      • Gentlecat
        ruaok: do you want to deploy it?
      • zas
        if i stop dnscache before the 2 minutes delay, the whole thing is shutdown (since it cannot work on ernie nor bert)
      • and if i don't stop dnscache, it stays on bert
      • i will add the rest now and do more tests
      • ruaok
        Gentlecat: I can try.
      • hmm. unsure how that should be done. there are two dirs.
      • bitmap: do you know the procedure for upgrading the CAA?
      • Gentlecat
        ruaok: you mentioned something about in-site communication a couple of weeks ago
      • I think someone suggested you to use XMPP?
      • ruaok
        yes
      • that is the basic idea behind it.
      • I asked Arc Riley, an XMPP dude about this.
      • Gentlecat
        can you clarify a bit?
      • ruaok is doing just that
      • Gentlecat wants to start looking into that
      • ruaok
        the first question I asked was if this was suited for this task.
      • he said yes.
      • so, XMPP can store message for offline users
      • and using XMPP allows users to also connect their MB XMPP accounts to their favorite IM client.
      • which is really really cool, IMHo.
      • reosarevok_
        People still use IM clients? :p
      • (but yeah, for the ones who do that sounds nice)
      • ruaok
        he suggested that we use this server: https://prosody.im/
      • he personally hacks on an apache module called Modxmpp.org
      • he thought that within 2 weeks there would be a production ready release of this module.
      • he further suggested that we should use Stanza.io for JS bits to make all of this easier.
      • so, I haven't really looked into any of these pieces.
      • your first task should be to look at all of these elements and see if they fit and meet our needs.
      • then, adjust the jira tickets as apporpriate to reflect the new technology direction
      • Gentlecat
        right
      • ruaok
        mail intro to arc done.
      • zas
        ruaok: can you explain me how the rate-limiter is working ? it is listening on UDP 10.1.1.245:2000, but does it need to run on the same machine of any other service ?
      • ruaok
        no, it runs on the gateways only
      • Mogmi
        ___<;3
      • ruaok
        when a request that comes in, the app that handles the request makes a call to the ratelimiter to see if the request is allowed.
      • if so, it proceeds, if not a 503 is returned.
      • zas
        it modifies iptables chains so it needs to run on the same machine as nginx, is there more constraints ?
      • s/is/are/
      • UmkaDK_ joined the channel
      • ie. dnscache/tinydns could run on ernie while the rest is on bert
      • ruaok
        it modifies iptables??
      • zas
        it doesn't ?
      • hmmm, ok i really have to look at the code ;)
      • UmkaDK has quit
      • ruaok
        not that I am familiar with.
      • it runs in the application space, not the network space.
      • Freso
      • zas
        ruaok: yes, i was thinking of blockpw ... my bad
      • Freso
        Should I add project logos for stuff such as libmusicbrainz and libcoverart too?
      • ruaok
        phew. :)
      • Freso: I'd say yes.
      • Freso
        ruaok | and using XMPP allows users to also connect their MB XMPP accounts to their favorite IM client.
      • ^ was one of my arguments when I suggested it. :)
      • ruaok nods
      • (As well as generally having tons and tons of software and libraries and what not that is XMPP compatible, meaning it would "easily" be possible to do some neat things with it.)
      • (So I'm glad Arc Riley managed to win you over, is what I'm trying to say. ;))
      • ruaok
        he merely confirmed that the things we wanted to do are actually designed into the XMPP and work well.
      • which was not easy to ascertain.
      • samphippen has quit
      • samphippen joined the channel
      • reosarevok
        Freso: can you merge MetaBrainz and MetaBrainz Foundation there?
      • zas
        ruaok: so ratelimit-server could possibly run on any machine, since apps are querying it through network, and i see no dependency in the code, it only depends on 10.1.1.245 IP address, it doesn't store starts on disk, am i wrong thinking it it has no stat (and therefore do not rate limit anything) when restarted ?
      • Freso
        reosarevok: I sent a request about that ~2 hours ago. ;)
      • reosarevok
        Ok :)
      • ruaok
        zas: that sounds right
      • Freso
        reosarevok: If you're talking about the two organisations. If you're talking about the MetaBrainz Website project and the MetaBrainz Foundation organisation, then no, those can't be merged.
      • reosarevok
        Two orgs yep
      • Freso
        Okay. Good. :)
      • Anyway, lib{coverart,musicbrainz} have had logos added too.
      • All dem shiny logos. *-*
      • reosarevok
        Now looking at how to claim my stuff :p
      • zas
        i'll set pacemaker accordingly, colocating this IP address and this service, it will make things easier to not create useless dependencies between IPs and services, failing over will run smoother (it will migrate this IP/ratelimiter independently of ie. external IP addresses or nginx)
      • samphippen has quit
      • and it allows to run ratelmiter on bert, while we run nginx on ernie ;)
      • samphippen joined the channel
      • reosarevok has quit
      • reosarevok_ is now known as reosarevok
      • samphippen has quit
      • samphippen joined the channel
      • ruaok
        woah.
      • zas
        ok, coffee time
      • ruaok
        might make my trip in SLO much much more work, but this is for a good cause.
      • Gentlecat
      • alastairp
        what?
      • I just use incr-4
      • which is the smallest incremental dump ;)
      • ruaok
        alastairp: did you bring the package in or should I grab it from your house?
      • alastairp
        you should grab it from my house
      • ruaok
        ok, lets coordinate that over the weekend.
      • Gentlecat
        I guess the problem is that incremental dumps still aren't published :)
      • alastairp
        Gentlecat: sure they are. we just don't list their names. they're still there :)
      • but yeah
      • this is something else I want to do after the data migration
      • there's a huge list of things waiting for that. in fact, I /just/ finalised some data formatting stuff with dmitry, and once I've implemented that the migration will be done
      • Gentlecat
        cool
      • UmkaDK_ has quit