Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Elijah Rippeth
    @erip
    Nice!
    Logan Jones
    @loganasherjones
    Ultimately, we would need someone to write the kafka adapter though
    think you could do that part?
    Elijah Rippeth
    @erip
    starting in ~June, probably
    do you have an interface already?
    or do you need to abstract some stuff out?
    Logan Jones
    @loganasherjones
    We definitely still need to abstract out some stuff
    I'll ping you once we have the interface?
    Elijah Rippeth
    @erip
    for sure!
    I’m still waiting for the bg in a bg meetup. :P
    Logan Jones
    @loganasherjones
    Yeah, we actually need to make that a thing
    @hazmat345 thoughts?
    Elijah Rippeth
    @erip
    @loganasherjones you have to cross the bridge to get to VA, yeah?
    if so: yikes
    Logan Jones
    @loganasherjones
    Yeah
    Elijah Rippeth
    @erip
    trying to think about what’s most central
    are you in the DC part of MD or closer to the water?
    Logan Jones
    @loganasherjones
    I'm further north. I could make it to DC though
    Elijah Rippeth
    @erip
    I know some folks who run meetups and somehow find venues. I can try to reach out to them
    otherwise, there are literal beergardens in DC
    heh
    Logan Jones
    @loganasherjones
    I'm down with that
    Artem Zhukov
    @zhukovgreen_gitlab
    Hello guys. We have one plugging which assumes to submit tasks to celery and retrieve their outputs. I have a feedback from one of our developers, that beer garden is dealing only with sync tasks and this makes a problem to integrate this solution with the beer garden. Do we understand the limitation properly? How to solve this?
    Artem Zhukov
    @zhukovgreen_gitlab

    Hello guys. We have one plugging which assumes to submit tasks to celery and retrieve their outputs. I have a feedback from one of our developers, that beer garden is dealing only with sync tasks and this makes a problem to integrate this solution with the beer garden. Do we understand the limitation properly? How to solve this?

    Anyway, some update from my side. We think to use result.get(timeout=300)in celery. This turns the call into sync one (http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html#keeping-results)

    Logan Jones
    @loganasherjones
    Yeah, based on my understanding you should be able to call a celery task from a beer-garden plugn without too much of a problem
    mshirb
    @mshirb_gitlab
    hi all, really liking the tool so far :) Just two quick questions, will there be authorisation for which Systems can be used by a user? and using the docker-compose.yml file is there a way to mount pre-defined users without running brew-view first?
    Ben Yoshino
    @byosh_gitlab

    It's been a real long time since I came back to gitter. I updated my installation of beer garden with the latest version, (this time in a virtual environment) but it seems the old systems I wrote no longer works. The error I am receiving is "Backend request timed out" when the system starts up.

    This is on a CentOS 7.5, on Python 3.7. Thanks!

    Logan Jones
    @loganasherjones
    Hi @byosh_gitlab welcome back! :) The error you're receiving seems to indicate that bartender is down. Are you sure bartender is running?
    Logan Jones
    @loganasherjones
    Hi @mshirb_gitlab glad you like the tool! The documentation for authentication/authorization is a work in progress, but yes, you can do AA in Beer Garden up to a point
    burzikw
    @burzikw
    Hello @loganasherjones,
    I attended the Open Space talk at Pycon and was inspired to give Beer Garden a go, especially with the intention of spinning up quick plugins with Docker to help get some of our plugins accessibility across our organization. We've had luck with the docker-compose you've provided on the site, along with the example plugins compose. The issue I'm having is creating a plugin from scratch. I've attempted to follow the docs provided, but I think I'm a little lost. I have the generic Hello World plugin in the my_plugin-1.0.0.0.tar.gz saved into the folder referenced in the compose. I've composed up and when I go into the container, I see it there and untar/compress it.... That's about as far as I can get. I try to rescan the system directory... but it's not going so well. So at the risk of looking foolish in this chat, I thought I would pose the question and see what I get.
    Logan Jones
    @loganasherjones
    Hey @burzikw! Good to hear from you again. No need to worry about sounding foolish. We are here to help :)
    Let me make sure I have your problem correct. You've stood up BG using our docker-compose file from our GitHub repo. After you've stood that up, you have a plugin that you've created and put into a .tar.gz. You've transferred the .tar.gz to the correct folder in the compose, exploded the file, and then tried to rescan but to no avail
    I would be interested in seeing what the bartender logs had to say when you rescanned
    you can find that out with: docker-compose logs -f bartender
    Matt Patrick
    @hazmat345
    Hi @burzikw, just a quick check, did you change the BG_PUBLISH_HOSTNAME in the docker-compose.yml file?
    burzikw
    @burzikw

    I found the issue. Seems I didn't read enough :)

    TLDR: I was missing some required fields in the beer.conf

    After I ran the docker-compose logs (thanks @loganasherjones ) and saw the error messages, I went back and read the entry for the required fields below in the tutorial. Might want to consider updating the "Configure your plugin" portion on the plugin local guide. For a noob like myself, it can be misleading. I was under the impression all I needed was the PLUGIN_ENTRY.
    That all said, I have my first plugin running. Now the real fun begins.
    Thanks again!

    Logan Jones
    @loganasherjones
    Great! Glad you got it figured out. We are looking at the docs now anyway.
    Thanks so much
    Matt Patrick
    @hazmat345
    Yeah that’s great, thanks for the feedback. Glad you got it working 😁
    burzikw
    @burzikw
    Thanks again for the help. I've been busy working for a while and I think what I have is stable enough, I would like to move my containers from one of our testing environments to a more stable one. The issue is that now that I'm moving forward, I need to consider more about the administrative setting for beer-garden itself. I was looking for a bit of documentation on this but was coming up short. I apologize that I don't have real specific questions just yet, mainly because I was hoping there would be something for me to reference that could lead me to ask meaningful questions. and if I'm oblivious to where it could be found, I apologize, but this time I tried to do my homework. :)
    Logan Jones
    @loganasherjones
    Hi @burzikw we are still working on some of the documentation.
    would you mind checking this out: https://beer-garden.io/docs/user_manual/ and telling us what you think?
    burzikw
    @burzikw
    I think I really appreciate the speedy response. You'll have to give me a minute to digest what you posted, but at a cursory glace it looks good. If I could ask, do you have examples of the syntax for calling the REST API as a specific user? I'm also curious if the request page would have any identification as to who ran each request?
    Logan Jones
    @loganasherjones
    Hmm, I don't think we have any examples of that posted anywhere, but the simplest thing you can do to get that behavior is use the SystemClient and pass in the username/password you want to use. It will automatically take care of making the correct auth requests for you.
    The process goes something like this:
    1. Get a token by using your username/password
    2. Use the token in the POST on /requests
    But if you don't mind using the SystemClient I highly recommend that instead. That way you can just avoid all the headache other than just passing username/password.
    @loganasherjones let me know if you want to pull it in with the other repos in the beer-garden space
    Logan Jones
    @loganasherjones
    Thanks I will take a look
    Peter Crampton
    @cramppet
    Hello, this is perhaps an obvious question; but is it possible for me to configure Beer Garden such that the cleartext credentials shown in the screenshot don't get included in API responses? Are they needed in any way? https://imgur.com/a/1MOqUDI