PagerDuty v1 REST API deprecated/decommissioned - Upgrade plan
As mentioned by @jurbanc, @andrewn, https://gitlab.slack.com/archives/C101F3796/p1539361897000100?thread_ts=1539358478.000100&cid=C101F3796
PagerDuty v1 REST API is being deprecated/decommissioned Oct. 19th (2018-10-19), https://v2.developer.pagerduty.com/docs/v1-rest-api-decommissioning-faq. I am going OOO from 2018-10-15 - 2018-10-26 so I only have today to fix this
Upgrade plan
Perhaps some of these use v1 Events API which is still active
Ansible
-
Update Ansible, https://github.com/ansible/ansible/pull/42618
AFAICT we aren't using the pagerduty
module/plugin in our Ansible code.
Docs for reference
- https://docs.ansible.com/ansible/2.6/modules/pagerduty_module.html
- https://www.pagerduty.com/docs/guides/ansible-integration-guide/
pagerduty
Python We are currently using pagerduty==0.2.1
which is the latest on pypi which uses v1 Events API which isn't going away samuel/python-pagerduty/pagerduty/__init__.py#L32
-
Update base imagepagerduty
package,ansible/roles/base/tasks/packages.yml
-
Ensure newpagerduty
package installed on existing machines (currently,pagerduty==0.2.1
), https://pypi.org/project/pagerduty/ -
Updatedeploy-tools
PagerDuty API access
From Configuration > API Access in PagerDuty, https://gitter.pagerduty.com/api_keys
Disabled all v1 API keys and updated our Datadog integration
3rd-party
-
Check if Amazon Cloudwatch (under PagerDuty services) is using new API, https://www.pagerduty.com/docs/guides/aws-cloudwatch-integration-guide/ - Not sure but I assume their own services are good to go
-
Check if Status Cake is using the new API, - Not sure but I assume their own services are good to gohttps://www.pagerduty.com/docs/guides/statuscake-integration-guide/
-
We have v1 webhooks in PagerDuty for some Gitter rooms but we can just remove them, https://gitter.pagerduty.com/extensions cloudwatch-critical
monit-prod-error
monit-prod
email-crash-reports
email-alerts
Datadog
Cloudwatch