by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Frank Hamand
    @frankh
    cool
    Karthik Srivatsa
    @ksrivatsa
    But now the worker is giving an issue
    u'[[], {}, {"chord": null, "callbacks": null, "errbacks": null, "chain": null}]' (77b)
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/site-packages/celery/worker/consumer/consumer.py", line 559, in on_taskreceived
    strategy = strategies[type
    ]
    KeyError: 'cabot.cabotapp.tasks.run_all_checks'
    It keeps throwing this error
    Cant believe I have been on this for close to 5 hrs now!
    Any idea where that can be happening?
    The /status page tells me that the checks are running fine
    Frank Hamand
    @frankh
    thats really strange
    how are you running the worker? just with docker compose?
    Karthik Srivatsa
    @ksrivatsa
    Yup. Breaking my head over it. Just using docker-compose.
    Frank Hamand
    @frankh
    where do you see the error? Just in the compose logs?
    Karthik Srivatsa
    @ksrivatsa
    Yeah
    I install the plugin using pip install, make the migrations and start gunicorn workers
    This happens only after installing the plugin. Not otherwise
    Strange!
    The plugin is nowhere related to the worker
    Frank Hamand
    @frankh
    in docker compose are the web, worker and beat all set to the new image with the plugin installed?
    Karthik Srivatsa
    @ksrivatsa
    Hmm.. Why would the worker and the beat service need the plugin?
    Do they?
    Frank Hamand
    @frankh
    yes, because the worker is the thing that actually sends the alerts
    Karthik Srivatsa
    @ksrivatsa
    I am getting the alerts though.
    Frank Hamand
    @frankh
    beat might not, but it's best that they're all the same
    hmmm
    Karthik Srivatsa
    @ksrivatsa
    Using the plugin test
    Frank Hamand
    @frankh
    ah, the plugin test doesn't use workers, it does it through the web service
    Karthik Srivatsa
    @ksrivatsa
    I'll make that change then.
    Haha.. :D
    Frank Hamand
    @frankh
    i should change that so it works the same way
    Karthik Srivatsa
    @ksrivatsa
    Thanks!
    Frank Hamand
    @frankh
    np
    Karthik Srivatsa
    @ksrivatsa
    @frankh Hey
    The newly added acknowledge button in the slack messages doesnt seem to work
    Any suggestions?
    Error : Darn – that didn't work. Only Slack Apps can add interactive elements to messages
    Karthik Srivatsa
    @ksrivatsa
    I have tried everything. It just doesnt work.
    Please help me
    Karthik Srivatsa
    @ksrivatsa
    What do i configure the callback url to in the slack app?
    Frank Hamand
    @frankh
    yeah unfortunately it requires the slack app to be set up, so i actually removed it by default in the latest version
    you need to create an app and enable interactive messages and set the callback url to <domain>/plugins/cabot_alert_slack/messages
    I couldn't get @mentions and the button working at the same time so we stopped using the button
    Karthik Srivatsa
    @ksrivatsa
    After doing all that I get this that didn't work (error message: Failure when receiving data from the peer)
    Error : that didn't work (error message: Failure when receiving data from the peer)
    Or this that didn't work (error message: 502_service_error)
    Karthik Srivatsa
    @ksrivatsa
    Thank you. The Acknowledge button doesnt work on the plugin test. Though it shows a button there.
    It works fine on actual services.
    :)
    Thank you @frankh
    Ian L.
    @MrSaints
    ksrivatsa: @frank is going to be away until next month
    Just a heads up.
    Karthik Srivatsa
    @ksrivatsa
    Haha.. alright