#metabrainz

/

      • Freso loves sitting in the Catalan sun ☀️😎
      • 2017-03-10 06911, 2017

      • zas
        ruaok: weird
      • 2017-03-10 06959, 2017

      • samj1912
        Freso: https://docs.google.com/document/d/1gYj55Maj6gW4W… in case you are interested :)
      • 2017-03-10 06911, 2017

      • samj1912
        Still adding stuff :)
      • 2017-03-10 06916, 2017

      • zas
        oh wait
      • 2017-03-10 06924, 2017

      • zas
        did you tag your service as beta
      • 2017-03-10 06925, 2017

      • zas
        ?
      • 2017-03-10 06919, 2017

      • ruaok
        no. how do I do that?
      • 2017-03-10 06925, 2017

      • zas
        because it looks for listenbrainz-web "beta", the service "listenbrainz-web" is up, and healthy, but no "beta" tag
      • 2017-03-10 06932, 2017

      • ruaok
        sacrafice a 🐔?
      • 2017-03-10 06956, 2017

      • ruaok
        well, we will not have another service running here, so can we ditch the beta tag?
      • 2017-03-10 06916, 2017

      • ruaok
        as far as our hetzner setup is concerned...
      • 2017-03-10 06918, 2017

      • zas
        --env SERVICE_<port>_TAGS=
      • 2017-03-10 06948, 2017

      • zas
        for services having prod & beta, we use a variable to set it
      • 2017-03-10 06912, 2017

      • zas
      • 2017-03-10 06923, 2017

      • ruaok
        this will only be prod for now. later when we have release candidate then we can add that with a beta tag.
      • 2017-03-10 06927, 2017

      • arbenina_ has quit
      • 2017-03-10 06943, 2017

      • zas
        so better to use prod & beta starting now
      • 2017-03-10 06957, 2017

      • ruaok
        ah
      • 2017-03-10 06951, 2017

      • zas
        DEPLOY_ENV is passed in node's script
      • 2017-03-10 06956, 2017

      • zas
        as a param
      • 2017-03-10 06918, 2017

      • ruaok
        oh and I am using "prod" right now.
      • 2017-03-10 06934, 2017

      • ruaok
        that explains why its still not working.
      • 2017-03-10 06947, 2017

      • ruaok wonders how many more incantations will be required.
      • 2017-03-10 06905, 2017

      • Leo_Verto[m]
        have you tried a blood sacrifice yet?
      • 2017-03-10 06932, 2017

      • Freso
        We have about 1879 incantations in the database.
      • 2017-03-10 06939, 2017

      • Freso
      • 2017-03-10 06900, 2017

      • Freso
        So hopefully not more than that? :)
      • 2017-03-10 06916, 2017

      • ruaok jumps out the window
      • 2017-03-10 06903, 2017

      • ruaok
        so then I need to add docker-server-configs/consul/LB/config.beta.json, right?
      • 2017-03-10 06937, 2017

      • zas
        yes
      • 2017-03-10 06918, 2017

      • zas
        (if your config changes between beta/prod), you need to adapt the template for that
      • 2017-03-10 06928, 2017

      • ruaok
        y
      • 2017-03-10 06941, 2017

      • ruaok
        502s persist.
      • 2017-03-10 06950, 2017

      • ruaok is getting kinda tired of this
      • 2017-03-10 06948, 2017

      • ruaok
        that look ok now?
      • 2017-03-10 06948, 2017

      • ruaok
      • 2017-03-10 06918, 2017

      • electron0zero joined the channel
      • 2017-03-10 06906, 2017

      • zas
      • 2017-03-10 06911, 2017

      • zas
        yes
      • 2017-03-10 06946, 2017

      • zas
        but your service still returns 502s
      • 2017-03-10 06956, 2017

      • ruaok
        yerp.
      • 2017-03-10 06911, 2017

      • zas
        though gateway config should be correct now
      • 2017-03-10 06934, 2017

      • samj1912
      • 2017-03-10 06908, 2017

      • ruaok
      • 2017-03-10 06923, 2017

      • ruaok
        I know I can't talk http to uwsgi...
      • 2017-03-10 06943, 2017

      • ruaok
        any ideas how to talk to my uwsgi service to check to make sure it is doing the right thing?
      • 2017-03-10 06904, 2017

      • zas
        No idea, i don't have much knowledge in uwsgi field. Gentlecat ^^ ?
      • 2017-03-10 06905, 2017

      • Gentlecat
        did you check the logs in your container?
      • 2017-03-10 06924, 2017

      • Gentlecat
        it should tell you if the script failed to start
      • 2017-03-10 06917, 2017

      • CatQuest has quit
      • 2017-03-10 06935, 2017

      • psolanki joined the channel
      • 2017-03-10 06939, 2017

      • CatQuest joined the channel
      • 2017-03-10 06949, 2017

      • CatQuest has quit
      • 2017-03-10 06949, 2017

      • CatQuest joined the channel
      • 2017-03-10 06958, 2017

      • arbenina_ joined the channel
      • 2017-03-10 06959, 2017

      • psolanki is now known as Guest523
      • 2017-03-10 06910, 2017

      • Guest523 has quit
      • 2017-03-10 06947, 2017

      • suhas2go joined the channel
      • 2017-03-10 06952, 2017

      • agentsim joined the channel
      • 2017-03-10 06953, 2017

      • CatQuest
        Freso: 7 grader og sol er ikke gælent for oslo i mars: http://www.yr.no/sted/Norge/Oslo/Oslo/Oslo/meteog…
      • 2017-03-10 06954, 2017

      • CatQuest
        ({btw the earth is still dying})
      • 2017-03-10 06932, 2017

      • CatQuest
        re "[14:01] * Freso loves sitting in the Catalan sun ☀️😎"
      • 2017-03-10 06922, 2017

      • CatQuest
        it is april weather.. in march!
      • 2017-03-10 06924, 2017

      • CatQuest
        well oj
      • 2017-03-10 06927, 2017

      • CatQuest
        ok*
      • 2017-03-10 06935, 2017

      • Leo_Verto[m]
        hmm, I wonder how brainzbot could realistically be containerized seeing as it consists of three seperate repositories
      • 2017-03-10 06922, 2017

      • CatQuest
        better than april weather in december atleast :⚡
      • 2017-03-10 06909, 2017

      • CatQuest
        o‿o
      • 2017-03-10 06900, 2017

      • CatQuest
        👎
      • 2017-03-10 06905, 2017

      • CatQuest
        psh
      • 2017-03-10 06926, 2017

      • Quesito
        zas: ping!
      • 2017-03-10 06939, 2017

      • ruaok
        Gentlecat: ah, I'm looking again and previously it loaded ok, but now it doesn't. and I see the requests arrive at my server, so yes, the gateway is configured properly.
      • 2017-03-10 06941, 2017

      • ruaok
        phew
      • 2017-03-10 06943, 2017

      • zas
        Quesito: pong
      • 2017-03-10 06906, 2017

      • samj1912
        zas: any decision on gh:P#642? Other wise can we feature freeze and move to 2.0dev?
      • 2017-03-10 06906, 2017

      • BrainzBot
        PICARD-1000: Show album/cluster cover art: https://github.com/metabrainz/picard/pull/642
      • 2017-03-10 06917, 2017

      • Quesito
        I attempted to help a possible french supporter...although my level of french and english is a no go....can I send to you to help?
      • 2017-03-10 06956, 2017

      • zas
        sure, if i can help
      • 2017-03-10 06930, 2017

      • Quesito
        what is your MeB email?
      • 2017-03-10 06948, 2017

      • Quesito
        nevermind
      • 2017-03-10 06952, 2017

      • zas
        samj1912: i was waiting for Mineo to approve, but his reviews are old already
      • 2017-03-10 06954, 2017

      • Quesito
        ;) got it!
      • 2017-03-10 06904, 2017

      • zas
        ;) pretty obvious
      • 2017-03-10 06910, 2017

      • zas
        samj1912: we can merge it imho, so it gets more exposure, and we feature-freeze
      • 2017-03-10 06940, 2017

      • zas
        if minor issues arise during the week, we'll fix those, if it gets too big, we revert
      • 2017-03-10 06907, 2017

      • zas
        but i don't want to delay 1.4.1 more than needed
      • 2017-03-10 06924, 2017

      • ruaok
        zas: so sorry that you need to endure other french people. sorry, I know that is not in your job description...
      • 2017-03-10 06940, 2017

      • Quesito am sorry too....
      • 2017-03-10 06946, 2017

      • samj1912
        zas: sounds good to me :D
      • 2017-03-10 06956, 2017

      • antlarr
        zas, samj1912: cool, thanks!
      • 2017-03-10 06919, 2017

      • zas
        ruaok: np
      • 2017-03-10 06932, 2017

      • samj1912
        and I want us to switch over to 2.0 too so we can continue with future and important stuff :D
      • 2017-03-10 06953, 2017

      • ruaok
        just give them a couple of example API queries and a link to the docs and that should be fine.
      • 2017-03-10 06911, 2017

      • samj1912
        luks the latest builds are still crashing :/
      • 2017-03-10 06940, 2017

      • ruaok
        503 -> 502 -> 500.
      • 2017-03-10 06945, 2017

      • ruaok
        improving, right?
      • 2017-03-10 06957, 2017

      • Leo_Verto[m]
        just continue until it reaches 200 :P
      • 2017-03-10 06922, 2017

      • samj1912
      • 2017-03-10 06929, 2017

      • samj1912
        luks ^ in the build
      • 2017-03-10 06953, 2017

      • samj1912
        zas: I am not sure if the foundation stuff is causing the errors, should I duplicate the code instead of making it a function?
      • 2017-03-10 06955, 2017

      • iliekcomputers
        get to 200 after 300 more changes :)
      • 2017-03-10 06905, 2017

      • ruaok
        nooooes. :(
      • 2017-03-10 06931, 2017

      • samj1912
        because I think the crashes started happening somwhere around that time
      • 2017-03-10 06936, 2017

      • ferbncode_ has quit
      • 2017-03-10 06917, 2017

      • Leo_Verto[m]
        samj1912: the more I look at this the more I feel like scrapping botbot https://github.com/metabrainz/botbot-web/blob/mas…
      • 2017-03-10 06941, 2017

      • samj1912
        what is it? :P
      • 2017-03-10 06944, 2017

      • samj1912
        let me take a look
      • 2017-03-10 06914, 2017

      • Leo_Verto[m]
        it's the file that pulls together and builds that mess
      • 2017-03-10 06910, 2017

      • Leo_Verto[m]
        including downloading node.js because fuck dependencies, and installing node and go packages in a python virtualenv
      • 2017-03-10 06926, 2017

      • samj1912
        lol XD
      • 2017-03-10 06901, 2017

      • samj1912
        its funny how that makefile does everything XD
      • 2017-03-10 06956, 2017

      • samj1912
        I can see python, less, npm, go XD
      • 2017-03-10 06909, 2017

      • Leo_Verto[m]
        and that's how you end up with paths like botbotme/botbot/src/botbot/botbot
      • 2017-03-10 06921, 2017

      • samj1912
        lol :P
      • 2017-03-10 06913, 2017

      • samj1912
        I dont think they even bother with botbot anymore
      • 2017-03-10 06930, 2017

      • samj1912
        I can see 33 issues and the last update was on june 2016
      • 2017-03-10 06917, 2017

      • Leo_Verto[m]
        nope, they took off all their branding leaving the website in a pretty ugly state and are now probably continuing botbotme in a private repo without contributing to upstream
      • 2017-03-10 06930, 2017

      • Leo_Verto[m]
        (not that we're contributing to upstream that much either…)
      • 2017-03-10 06902, 2017

      • travis-ci joined the channel
      • 2017-03-10 06903, 2017

      • travis-ci
        metabrainz/picard#2126 (test_builds - f9225f2 : Sambhav Kothari): The build passed.
      • 2017-03-10 06903, 2017

      • travis-ci
      • 2017-03-10 06903, 2017

      • travis-ci
      • 2017-03-10 06903, 2017

      • travis-ci has left the channel
      • 2017-03-10 06916, 2017

      • Leo_Verto[m]
        to summarize this, I don't think docker is a good fit for brainzbot in it's current state :P
      • 2017-03-10 06923, 2017

      • samj1912
        lol :P
      • 2017-03-10 06937, 2017

      • samj1912
        why I just kept to botbot-shell :P
      • 2017-03-10 06956, 2017

      • Leo_Verto[m]
        for production, possibly, just clone the repo and run make but for development?
      • 2017-03-10 06931, 2017

      • samj1912 should switch off travis notifications for the test branch ...
      • 2017-03-10 06932, 2017

      • pingupingu joined the channel
      • 2017-03-10 06932, 2017

      • pingupingu has quit
      • 2017-03-10 06932, 2017

      • pingupingu joined the channel
      • 2017-03-10 06939, 2017

      • amanmehta has quit
      • 2017-03-10 06907, 2017

      • Leo_Verto[m]
        I managed to hack it together by installing an botbot-plugins from the downloaded repository, I guess something similar could be done to make botbot a bit less "vertical"
      • 2017-03-10 06913, 2017

      • samj1912
        Leo_Verto[m]: if we are just developing plugins you dont need the whole botbot shebang
      • 2017-03-10 06932, 2017

      • samj1912
        I just have the plugins repo installed
      • 2017-03-10 06937, 2017

      • samj1912
        I can develop plugins just fine
      • 2017-03-10 06955, 2017

      • Leo_Verto[m]
        Eh, not very good for integration testing though :P
      • 2017-03-10 06909, 2017

      • Leo_Verto[m]
        And I don't think ignoring everything other than plugin development is really sustainable
      • 2017-03-10 06924, 2017

      • ruaok
        Gentlecat: for using the metabrainz/python base image, do I need to do something special for installing python modules or starting uwsgi?
      • 2017-03-10 06928, 2017

      • Leo_Verto[m]
        especially with upstream being dead
      • 2017-03-10 06940, 2017

      • ruaok
        the Dockerfile does a pip install -r requirements.txt
      • 2017-03-10 06944, 2017

      • ruaok
        everything seems fine.
      • 2017-03-10 06955, 2017

      • ruaok
        but when uwsgi starts, it can't find sqlalchemy.
      • 2017-03-10 06904, 2017

      • ruaok
        are there now two pythons installed?
      • 2017-03-10 06917, 2017

      • Gentlecat
        why would there be two pythons installed?
      • 2017-03-10 06930, 2017

      • Gentlecat
        how do you install uwsgi?
      • 2017-03-10 06933, 2017

      • ruaok
        previously I installed via apt-get, but now trying via pip as you do in your dockerfile.
      • 2017-03-10 06902, 2017

      • UmkaDK has quit
      • 2017-03-10 06907, 2017

      • UmkaDK_ joined the channel