New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Slack salt engine stopped working February 24th due to deprecation of API #59612
Comments
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
Fixed my local version: |
@cristian-popa Would you like to make a PR for those changes? There's other changes that need to happen to the slack module due to the changes from Feb. 24th that we are also aware of. |
The above PR did not fix the engine itself. It still has issues.
|
Per the issue/comment here: saltstack#59612 (comment) The PR associated to that issue from xeacott did not have the reference updated in the comment.
The error persists after upgrading to Salt 3005.1:
|
Description
Salt slack engine stopped working today February 24th 2021. Based on my research I think is due to this: https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api
"The final date for existing apps and custom integrations is now February 24th, 2021."
Setup
Slack engine that worked perfectly fine till today, no config changes. Debug log starting today. I've added a Diagnostic line in slack.py to check the data returned from slack api see lines between ========== lines in the debug output
Steps to Reproduce the behavior
Try to use the slack engine, I used to have forced slack client=1.0.0 due to other issues but no slack client version is working now.
Expected behavior
Slack engine should work.
Screenshots
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
I guess the only fix would be to migrate to slack SDK: https://slack.dev/python-slack-sdk/v3-migration/ . Am I missing any workaround?
Looks like Slack published these deprecations more than one year ago, curious if there is a process to stay ahead of these moving forward.
The text was updated successfully, but these errors were encountered: