{"action":"created","comment":{"url":"https://api.github.com/repos/edx/configuration/pulls/comments/244753681","pull_request_review_id":188700335,"id":244753681,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDc1MzY4MQ==","diff_hunk":"@@ -326,7 +324,12 @@ def check_queues(host, port, environment, deploy, default_threshold, queue_thres\n         first_occurance_time = new_state[queue_name]['first_occurance_time']\n         body = extract_body(queue_first_items[queue_name])\n         active_tasks = get_current_tasks(host, port, queue_name)\n-        redacted_body = {'task': body['task'], 'args': 'REDACTED', 'kwargs': 'REDACTED'}\n+        # placed redacted_body code in try/except block to avoid failing since\n+        # the task was failing for prod-edx E-D\n+        try:\n+            redacted_body = {'task': body['task'], 'args': 'REDACTED', 'kwargs': 'REDACTED'}\n+        except Exception as e:\n+            print(\"Exception: Could not find {} in body\".format(e))","path":"util/jenkins/check_celery_progress/check_celery_progress.py","position":35,"original_position":35,"commit_id":"9955b7e550b71b9540609e4a827535bbde897bef","original_commit_id":"9955b7e550b71b9540609e4a827535bbde897bef","user":{"login":"feanil","id":781561,"node_id":"MDQ6VXNlcjc4MTU2MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/781561?v=4","gravatar_id":"","url":"https://api.github.com/users/feanil","html_url":"https://github.com/feanil","followers_url":"https://api.github.com/users/feanil/followers","following_url":"https://api.github.com/users/feanil/following{/other_user}","gists_url":"https://api.github.com/users/feanil/gists{/gist_id}","starred_url":"https://api.github.com/users/feanil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feanil/subscriptions","organizations_url":"https://api.github.com/users/feanil/orgs","repos_url":"https://api.github.com/users/feanil/repos","events_url":"https://api.github.com/users/feanil/events{/privacy}","received_events_url":"https://api.github.com/users/feanil/received_events","type":"User","site_admin":false},"body":"This would only happen when a body has no 'task' key in it right?  What does that mean?  Why would that occur?","created_at":"2019-01-02T14:46:44Z","updated_at":"2019-01-02T14:46:48Z","html_url":"https://github.com/edx/configuration/pull/4916#discussion_r244753681","pull_request_url":"https://api.github.com/repos/edx/configuration/pulls/4916","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/edx/configuration/pulls/comments/244753681"},"html":{"href":"https://github.com/edx/configuration/pull/4916#discussion_r244753681"},"pull_request":{"href":"https://api.github.com/repos/edx/configuration/pulls/4916"}}},"pull_request":{"url":"https://api.github.com/repos/edx/configuration/pulls/4916","id":241726441,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNzI2NDQx","html_url":"https://github.com/edx/configuration/pull/4916","diff_url":"https://github.com/edx/configuration/pull/4916.diff","patch_url":"https://github.com/edx/configuration/pull/4916.patch","issue_url":"https://api.github.com/repos/edx/configuration/issues/4916","number":4916,"state":"open","locked":false,"title":"fix celery script","user":{"login":"syed-awais-ali","id":13710941,"node_id":"MDQ6VXNlcjEzNzEwOTQx","avatar_url":"https://avatars1.githubusercontent.com/u/13710941?v=4","gravatar_id":"","url":"https://api.github.com/users/syed-awais-ali","html_url":"https://github.com/syed-awais-ali","followers_url":"https://api.github.com/users/syed-awais-ali/followers","following_url":"https://api.github.com/users/syed-awais-ali/following{/other_user}","gists_url":"https://api.github.com/users/syed-awais-ali/gists{/gist_id}","starred_url":"https://api.github.com/users/syed-awais-ali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syed-awais-ali/subscriptions","organizations_url":"https://api.github.com/users/syed-awais-ali/orgs","repos_url":"https://api.github.com/users/syed-awais-ali/repos","events_url":"https://api.github.com/users/syed-awais-ali/events{/privacy}","received_events_url":"https://api.github.com/users/syed-awais-ali/received_events","type":"User","site_admin":false},"body":"Configuration Pull Request\r\n---\r\n\r\nMake sure that the following steps are done before merging:\r\n\r\n  - [ ] A DevOps team member has approved the PR if it is code shared across multiple services and you don't own all of the services.\r\n  - [ ] Are you adding any new default values that need to be overridden when this change goes live? If so:\r\n    - [ ] Update the appropriate internal repo (be sure to update for all our environments)\r\n    - [ ] If you are updating a secure value rather than an internal one, file a DEVOPS ticket with details.\r\n    - [ ] Add an entry to the CHANGELOG.\r\n  - [ ] If you are making a complicated change, have you performed the proper testing specified on the [Ops Ansible Testing Checklist](https://openedx.atlassian.net/wiki/display/EdxOps/Ops+Ansible+Testing+Checklist)?  Adding a new variable does not require the full list (although testing on a sandbox is a great idea to ensure it links with your downstream code changes).\r\n","created_at":"2019-01-02T11:36:51Z","updated_at":"2019-01-02T14:46:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0426874239854508628137e80a45204cfc615898","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/configuration/pulls/4916/commits","review_comments_url":"https://api.github.com/repos/edx/configuration/pulls/4916/comments","review_comment_url":"https://api.github.com/repos/edx/configuration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/configuration/issues/4916/comments","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/9955b7e550b71b9540609e4a827535bbde897bef","head":{"label":"edx:aali/fix_celery_script","ref":"aali/fix_celery_script","sha":"9955b7e550b71b9540609e4a827535bbde897bef","user":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":9478219,"node_id":"MDEwOlJlcG9zaXRvcnk5NDc4MjE5","name":"configuration","full_name":"edx/configuration","private":false,"owner":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/edx/configuration","description":"A simple, but flexible, way for anyone to stand up an instance of the Open edX platform that is fully configured and ready-to-go","fork":false,"url":"https://api.github.com/repos/edx/configuration","forks_url":"https://api.github.com/repos/edx/configuration/forks","keys_url":"https://api.github.com/repos/edx/configuration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/configuration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/configuration/teams","hooks_url":"https://api.github.com/repos/edx/configuration/hooks","issue_events_url":"https://api.github.com/repos/edx/configuration/issues/events{/number}","events_url":"https://api.github.com/repos/edx/configuration/events","assignees_url":"https://api.github.com/repos/edx/configuration/assignees{/user}","branches_url":"https://api.github.com/repos/edx/configuration/branches{/branch}","tags_url":"https://api.github.com/repos/edx/configuration/tags","blobs_url":"https://api.github.com/repos/edx/configuration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/configuration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/configuration/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/configuration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/configuration/languages","stargazers_url":"https://api.github.com/repos/edx/configuration/stargazers","contributors_url":"https://api.github.com/repos/edx/configuration/contributors","subscribers_url":"https://api.github.com/repos/edx/configuration/subscribers","subscription_url":"https://api.github.com/repos/edx/configuration/subscription","commits_url":"https://api.github.com/repos/edx/configuration/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/configuration/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/configuration/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/configuration/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/configuration/contents/{+path}","compare_url":"https://api.github.com/repos/edx/configuration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/configuration/merges","archive_url":"https://api.github.com/repos/edx/configuration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/configuration/downloads","issues_url":"https://api.github.com/repos/edx/configuration/issues{/number}","pulls_url":"https://api.github.com/repos/edx/configuration/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/configuration/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/configuration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/configuration/labels{/name}","releases_url":"https://api.github.com/repos/edx/configuration/releases{/id}","deployments_url":"https://api.github.com/repos/edx/configuration/deployments","created_at":"2013-04-16T17:23:42Z","updated_at":"2018-12-31T13:23:55Z","pushed_at":"2019-01-02T11:36:52Z","git_url":"git://github.com/edx/configuration.git","ssh_url":"git@github.com:edx/configuration.git","clone_url":"https://github.com/edx/configuration.git","svn_url":"https://github.com/edx/configuration","homepage":"","size":15292,"stargazers_count":699,"watchers_count":699,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":774,"mirror_url":null,"archived":false,"open_issues_count":97,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":774,"open_issues":97,"watchers":699,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"667da0f3f829cc89df6c88da84e31af08329df4d","user":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":9478219,"node_id":"MDEwOlJlcG9zaXRvcnk5NDc4MjE5","name":"configuration","full_name":"edx/configuration","private":false,"owner":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/edx/configuration","description":"A simple, but flexible, way for anyone to stand up an instance of the Open edX platform that is fully configured and ready-to-go","fork":false,"url":"https://api.github.com/repos/edx/configuration","forks_url":"https://api.github.com/repos/edx/configuration/forks","keys_url":"https://api.github.com/repos/edx/configuration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/configuration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/configuration/teams","hooks_url":"https://api.github.com/repos/edx/configuration/hooks","issue_events_url":"https://api.github.com/repos/edx/configuration/issues/events{/number}","events_url":"https://api.github.com/repos/edx/configuration/events","assignees_url":"https://api.github.com/repos/edx/configuration/assignees{/user}","branches_url":"https://api.github.com/repos/edx/configuration/branches{/branch}","tags_url":"https://api.github.com/repos/edx/configuration/tags","blobs_url":"https://api.github.com/repos/edx/configuration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/configuration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/configuration/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/configuration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/configuration/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/configuration/languages","stargazers_url":"https://api.github.com/repos/edx/configuration/stargazers","contributors_url":"https://api.github.com/repos/edx/configuration/contributors","subscribers_url":"https://api.github.com/repos/edx/configuration/subscribers","subscription_url":"https://api.github.com/repos/edx/configuration/subscription","commits_url":"https://api.github.com/repos/edx/configuration/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/configuration/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/configuration/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/configuration/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/configuration/contents/{+path}","compare_url":"https://api.github.com/repos/edx/configuration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/configuration/merges","archive_url":"https://api.github.com/repos/edx/configuration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/configuration/downloads","issues_url":"https://api.github.com/repos/edx/configuration/issues{/number}","pulls_url":"https://api.github.com/repos/edx/configuration/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/configuration/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/configuration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/configuration/labels{/name}","releases_url":"https://api.github.com/repos/edx/configuration/releases{/id}","deployments_url":"https://api.github.com/repos/edx/configuration/deployments","created_at":"2013-04-16T17:23:42Z","updated_at":"2018-12-31T13:23:55Z","pushed_at":"2019-01-02T11:36:52Z","git_url":"git://github.com/edx/configuration.git","ssh_url":"git@github.com:edx/configuration.git","clone_url":"https://github.com/edx/configuration.git","svn_url":"https://github.com/edx/configuration","homepage":"","size":15292,"stargazers_count":699,"watchers_count":699,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":774,"mirror_url":null,"archived":false,"open_issues_count":97,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":774,"open_issues":97,"watchers":699,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/configuration/pulls/4916"},"html":{"href":"https://github.com/edx/configuration/pull/4916"},"issue":{"href":"https://api.github.com/repos/edx/configuration/issues/4916"},"comments":{"href":"https://api.github.com/repos/edx/configuration/issues/4916/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/configuration/pulls/4916/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/configuration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/configuration/pulls/4916/commits"},"statuses":{"href":"https://api.github.com/repos/edx/configuration/statuses/9955b7e550b71b9540609e4a827535bbde897bef"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"feanil"}}