by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    hamel
    @jordo1138
    side note, i also experienced the same issue when trying to let Iris docker use my mysql docker in evaluation that was linked to the oncall container, again issue probly only exists for evaluating these tools running the docker image. side note: I'll be setting up in a prod env in aws,, any reason I couldn't use mysql rds for both iris and oncall? haven't tried, just want to avoid if not recommended
    @houqp
    Joseph Dissmeyer
    @joedissmeyer
    Question --- Where do I define the SMTP settings for the notifier?
    I don't see it in the Oncall config.yaml anywhere
    Perhaps Oncall requires Iris in order to send out SMTP email notifications?
    I ask because right now we are looking at just using Oncall as a standalone tool for the moment. I see Iris coming into play over time...
    Joseph Dissmeyer
    @joedissmeyer
    But if Iris is required in order to send out email notifications... then so be it.
    hamel
    @jordo1138
    As far as I understand you should run Iris, in the oncall yaml config, even reminders for who is on call is sent via Iris.. pls correct me if I’m wrong tho
    Altho, if you have your own msg service seems can be declared in oncall.

    Reminders sent using these messengers

    messengers:

    - type: rocketchat_messenger

    user: username

    password: abc123

    refresh: 60000

    api_host: https://example.rocket.chat

    #

    - type: iris_messenger

    application: oncall

    iris_api_key: magic

    api_host: http://localhost:166

    I’ll try to Test with aws sns or ses later
    hamel
    @jordo1138

    The main thing is probly new messenger needs to be added
    https://github.com/linkedin/oncall/blob/db6cfaa8fb7b787489dfab4bc5775e63756bbfc0/src/oncall/messengers/iris_messenger.py

    Iris messenger supports email sms slack etc, so if you made a new messenger type that did the smtp mail service it would need to be added

    For users only using it for scheduling oncall it would make sense to have a simple mail messenger
    Joseph Dissmeyer
    @joedissmeyer
    Excellent thank you @jordo1138 ! I appreciate it.
    I'll get Iris set up then and go from there.
    Joseph Dissmeyer
    @joedissmeyer
    FYI - I went ahead and submitted linkedin/oncall#209. Just a note on LDAP/AD Authentication.
    What is the best way to contribute to the official documentation for Oncall and Iris?
    hamel
    @jordo1138
    @joedissmeyer nice example, i left a comment, my PR is also for docs - since the source for the docs is in the repo
    Joseph Dissmeyer
    @joedissmeyer
    Ah ... so the source for docs is in the repo gotcha. Thanks @jordo1138 !
    charles salloum
    @charlesdegaullesalloum_gitlab
    hello, anyone here have tried Iris Relay and got it working ?
    Joseph Dissmeyer
    @joedissmeyer
    Anyone know how the REST API authentication works after disabling debug mode in Oncall? I have Active Directory/LDAP auth working perfectly for the web UI. But when I try to use basic auth for the REST API endpoint I keep getting the following output...
    {
    "title": "Authentication failure",
    "description": "Invalid digest format"
    }
    I'm trying to map a service to a team, and trying to remove a service from a team. But all attempts ends up with the invalid digest format error
    QP Hou
    @houqp
    @charlesdegaullesalloum_gitlab Iris relay is running in production at Linkedin. What error were you running into?
    @joedissmeyer It's a custom hmac based auth protocol, so you can't use standard http auth. Here is a sample client that uses the custom auth method with requests: https://github.com/houqp/iris-python-client/blob/master/src/irisclient/__init__.py#L18.
    Yuvaraj L
    @skyrocknroll
    Hello Team , I have raised an pull request linkedin/iris#470 for smtp auth support. Can somebody review and merge ?
    @houqp Can you help here ?
    Daniel Wang
    @dwang159
    LGTM
    Sheepdog
    @CamHopkin_twitter
    Hi all I have been working on trying to get IRIS up and running using virtual env and https://medium.com/@angellom/deploying-linkedins-iris-to-aws-as-a-docker-image-cba6b1cf14cf on aws but I keep hitting walls
    is there just like a docker container that I can throw up and be done with it?
    Sheepdog
    @CamHopkin_twitter
    well that second one looks really really easy
    Sheepdog
    @CamHopkin_twitter
    that iris-docker-compose would be great but I think iris-api is not there anymore
    Sheepdog
    @CamHopkin_twitter
    Ok tried both of those the first one puts me in the same spot I am now where its looking for the mysql db
    docker run quay.io/iris/iris Checking MySQL liveness on 127.0.0.1... DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. DB not up yet. Waiting a few seconds.. Waited too long for DB to come up. Bailing.
    Sorry not sure hot to format that nicer
    Sheepdog
    @CamHopkin_twitter
    so Trying https://quay.io/repository/iris/iris?tab=info nets me the same error about waiting for the db as above. Same with the medium link for deploying in AWS. in aws I can confirm that mysql is up and running - do I have to throw open a port?
    Daniel Wang
    @dwang159
    iirc Iris expects to be able t o talk to mysql on localhost:3306
    check the config to make sure DB credentials are correct?
    Sheepdog
    @CamHopkin_twitter
    So where do I change that because we have tried a few spots
    when I setup the db it's a default one and I can log in using root and generic pw that I made
    we have tried all forms of variation on
    'sudo docker run -e DOCKER_DB_BOOTSTRAP=1 \
    -e IRIS_CFG_DB_USER=root -e IRIS_CFG_DB_PASSWORD=1234 -e IRIS_CFG_DB_HOST=localhost \
    quay.io/iris/iris:latest'
    and I have verified that mysql is running
    Daniel Wang
    @dwang159
    and the DB is running on the same host as Iris?
    Sheepdog
    @CamHopkin_twitter
    yes
    all 1 instance
    Daniel Wang
    @dwang159
    hmm, let me take a look at the docker-compose
    what was the issue with that one?
    Sheepdog
    @CamHopkin_twitter
    iris api doesn't exist as a repo