Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Daniel Wang
    @dwang159
    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
    I think was it
    it's looking for relay and api and api is removed

    Cloning into 'iris-api'...
    git@github.com: Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    make: * [serve] Error 128

    Daniel Wang
    @dwang159
    oh, try replacing that with linkedin/iris
    I think we renamed the repo at some point
    Sheepdog
    @CamHopkin_twitter
    tried to rename in the make file still not a go
    look like compose probably needs an update to remove stuff from iris-api and iris_api dependencies
    do we need to do any port forwarding from the container to the instance?
    Daniel Wang
    @dwang159
    ok, tinkered around with docker-compose and made some changes: jrgp/iris-docker-compose#5
    linking mysql properly in docker is a huge pain
    Sheepdog
    @CamHopkin_twitter
    Yes that is the issue I was having lol
    Sheepdog
    @CamHopkin_twitter
    @dwang159 this is looking a lot more promising - thank you for your help! First time in days I have an Iris Login Screen :)
    Sheepdog
    @CamHopkin_twitter
    Does there happen to be an oncall-docker-compose lurking around that is similar to the docker one?
    Qingping Hou
    @houqp
    i am not aware of any, but it should be a lot easier to setup since it just one service (unlike iris), you can find examples in https://github.com/linkedin/oncall/tree/master/ops/packer
    Sheepdog
    @CamHopkin_twitter
    It is easier however I am getting errors on will see if I can dig into the logs but oncall just throwing an internal error status
    Sheepdog
    @CamHopkin_twitter
    Something is wrong in the code for this container
    Sheepdog
    @CamHopkin_twitter
    http://localhost:8080/ goes to an error: Internal Server Error
    I think it has something to do with something in the container itself - I checked and can see nginx
    Sheepdog
    @CamHopkin_twitter
    I threw up issue #244 for my problems running this
    Sheepdog
    @CamHopkin_twitter
    Found logs showing there is an issue updated my issue with the log
    MagicBrownson
    @MagicBrownson
    Howdy Iris Team! Is there a plan about moving Iris and other repos around Iris to Python 3 soon?
    MagicBrownson
    @MagicBrownson
    Perhaps there is a fork in the repo I did not see yet...
    Ah,,, I see the branch now.
    Joseph Dissmeyer
    @joedissmeyer
    dwang159 had to revert the commit back because of some various issues with trying to upgrade to python3. At the moment only python2 (I think py2.7 to be precise) is supported.
    I just want to make sure I am correct about the Oncall Notifier (i.e. reminder when users are coming up for a scheduled oncall shift) - it requires Iris integration, correct?
    Joseph Dissmeyer
    @joedissmeyer
    Looks like documentation for how to enable prometheus metrics is missing too... I'll figure that out and get a PR for the Docs
    Daniel Wang
    @dwang159
    I reverted those commits since our example setup docs/docker images only worked on Python 2. We're currently running on the py3 branches in prod at Linkedin, but we need to make some changes to the docker images for it to run properly there.
    Oncall notifier can use non-Iris messengers, but I'm not sure that any are currently implemented.
    more docs are always appreciated :)
    Joseph Dissmeyer
    @joedissmeyer
    @dwang159 About the commits, thanks for clarifying :) I get the info wrong sometimes.
    About the notifier/messenger --- Yep I think you are correct. I don't see an email messenger implementation available in https://github.com/linkedin/oncall/tree/master/src/oncall/messengers. I do see an SMTP sender in Iris but nothing of note in Oncall.
    Expect to see a PR for documentation updates this evening (no rush) :)
    Joseph Dissmeyer
    @joedissmeyer
    Nevermind on the docs. Still figuring out how to enable prometheus metrics. I've edited the config to define metrics: prometheus but I can't figure out where to define the prom server port. I did review the metrics/prometheus.py module. How do I enable this?
    Evan M
    @etmitchell
    Hi there, We have iris and oncall deployed in our org and were looking into adding functionality to handle incidents in more of an incident management system like OpsGenie; where there are multiple states like open, in-progress, closed, etc. Is this something that you folks at LinkedIn see value in working into the core application? For context, our incident workflow requires a little more incident state granularity, more than active being True or False.
    TK
    @tkahnoski
    Hey our team found a problem on master with Dockerfile, I opened a pull request however looks like there's a lot to sort out with the CircleCI builds.
    main issue with Dockerfile was that it didn't copy the MANIFEST.in
    vibhavrbk
    @vibhavrbk_twitter
    Trying to setup iris, I am getting this error in terraform " Error: Error loading /home/user/Desktop/NOC/irisv2/iris-master/ops/terraform/iris.tf: Error reading config for aws_instance[iris-1]: parse error at 1:21: expected "}" but found float 0.0" has any one else faced this issue.
    vibhavrbk
    @vibhavrbk_twitter
    I was able to get the login screen, with mysql running as docker as well. How are users created?
    vibhavrbk
    @vibhavrbk_twitter
    Was able to add user as well thanks