{"action":"closed","number":1159,"pull_request":{"url":"https://api.github.com/repos/ansible/awx/pulls/1159","id":167976764,"html_url":"https://github.com/ansible/awx/pull/1159","diff_url":"https://github.com/ansible/awx/pull/1159.diff","patch_url":"https://github.com/ansible/awx/pull/1159.patch","issue_url":"https://api.github.com/repos/ansible/awx/issues/1159","number":1159,"state":"closed","locked":false,"title":"Verbose error messages for failure to re-schedule","user":{"login":"AlanCoding","id":1385596,"avatar_url":"https://avatars3.githubusercontent.com/u/1385596?v=4","gravatar_id":"","url":"https://api.github.com/users/AlanCoding","html_url":"https://github.com/AlanCoding","followers_url":"https://api.github.com/users/AlanCoding/followers","following_url":"https://api.github.com/users/AlanCoding/following{/other_user}","gists_url":"https://api.github.com/users/AlanCoding/gists{/gist_id}","starred_url":"https://api.github.com/users/AlanCoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlanCoding/subscriptions","organizations_url":"https://api.github.com/users/AlanCoding/orgs","repos_url":"https://api.github.com/users/AlanCoding/repos","events_url":"https://api.github.com/users/AlanCoding/events{/privacy}","received_events_url":"https://api.github.com/users/AlanCoding/received_events","type":"User","site_admin":false},"body":"This simply breaks up the existing vague error message into 3 more specific scenarios. Lightly manually tested for scenario\r\n\r\n```json\r\n{\r\n    \"error\": \"Cannot create schedule because job requires credential passwords.\"\r\n}\r\n```\r\n\r\nThe block is redundant with the code block\r\n\r\nhttps://github.com/ansible/awx/blob/b38aa3dfb6b7b9986d5302f5f5f966b7a4ef1be7/awx/main/models/unified_jobs.py#L1118-L1131\r\n\r\nBut I feel that is justified because this is a communication issue and stays isolated here.","created_at":"2018-02-08T13:50:05Z","updated_at":"2018-02-08T15:28:12Z","closed_at":"2018-02-08T15:28:12Z","merged_at":"2018-02-08T15:28:12Z","merge_commit_sha":"181399df7aed89a45d8ef0e5d58f6d23ab6355df","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/awx/pulls/1159/commits","review_comments_url":"https://api.github.com/repos/ansible/awx/pulls/1159/comments","review_comment_url":"https://api.github.com/repos/ansible/awx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/awx/issues/1159/comments","statuses_url":"https://api.github.com/repos/ansible/awx/statuses/87b59903a5b41e23c2b455a9bdb8129216405c55","head":{"label":"AlanCoding:reschedule_msg","ref":"reschedule_msg","sha":"87b59903a5b41e23c2b455a9bdb8129216405c55","user":{"login":"AlanCoding","id":1385596,"avatar_url":"https://avatars3.githubusercontent.com/u/1385596?v=4","gravatar_id":"","url":"https://api.github.com/users/AlanCoding","html_url":"https://github.com/AlanCoding","followers_url":"https://api.github.com/users/AlanCoding/followers","following_url":"https://api.github.com/users/AlanCoding/following{/other_user}","gists_url":"https://api.github.com/users/AlanCoding/gists{/gist_id}","starred_url":"https://api.github.com/users/AlanCoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlanCoding/subscriptions","organizations_url":"https://api.github.com/users/AlanCoding/orgs","repos_url":"https://api.github.com/users/AlanCoding/repos","events_url":"https://api.github.com/users/AlanCoding/events{/privacy}","received_events_url":"https://api.github.com/users/AlanCoding/received_events","type":"User","site_admin":false},"repo":{"id":102798838,"name":"awx-1","full_name":"AlanCoding/awx-1","owner":{"login":"AlanCoding","id":1385596,"avatar_url":"https://avatars3.githubusercontent.com/u/1385596?v=4","gravatar_id":"","url":"https://api.github.com/users/AlanCoding","html_url":"https://github.com/AlanCoding","followers_url":"https://api.github.com/users/AlanCoding/followers","following_url":"https://api.github.com/users/AlanCoding/following{/other_user}","gists_url":"https://api.github.com/users/AlanCoding/gists{/gist_id}","starred_url":"https://api.github.com/users/AlanCoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlanCoding/subscriptions","organizations_url":"https://api.github.com/users/AlanCoding/orgs","repos_url":"https://api.github.com/users/AlanCoding/repos","events_url":"https://api.github.com/users/AlanCoding/events{/privacy}","received_events_url":"https://api.github.com/users/AlanCoding/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlanCoding/awx-1","description":"AWX Project","fork":true,"url":"https://api.github.com/repos/AlanCoding/awx-1","forks_url":"https://api.github.com/repos/AlanCoding/awx-1/forks","keys_url":"https://api.github.com/repos/AlanCoding/awx-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlanCoding/awx-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlanCoding/awx-1/teams","hooks_url":"https://api.github.com/repos/AlanCoding/awx-1/hooks","issue_events_url":"https://api.github.com/repos/AlanCoding/awx-1/issues/events{/number}","events_url":"https://api.github.com/repos/AlanCoding/awx-1/events","assignees_url":"https://api.github.com/repos/AlanCoding/awx-1/assignees{/user}","branches_url":"https://api.github.com/repos/AlanCoding/awx-1/branches{/branch}","tags_url":"https://api.github.com/repos/AlanCoding/awx-1/tags","blobs_url":"https://api.github.com/repos/AlanCoding/awx-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlanCoding/awx-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlanCoding/awx-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlanCoding/awx-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlanCoding/awx-1/statuses/{sha}","languages_url":"https://api.github.com/repos/AlanCoding/awx-1/languages","stargazers_url":"https://api.github.com/repos/AlanCoding/awx-1/stargazers","contributors_url":"https://api.github.com/repos/AlanCoding/awx-1/contributors","subscribers_url":"https://api.github.com/repos/AlanCoding/awx-1/subscribers","subscription_url":"https://api.github.com/repos/AlanCoding/awx-1/subscription","commits_url":"https://api.github.com/repos/AlanCoding/awx-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlanCoding/awx-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlanCoding/awx-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlanCoding/awx-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlanCoding/awx-1/contents/{+path}","compare_url":"https://api.github.com/repos/AlanCoding/awx-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlanCoding/awx-1/merges","archive_url":"https://api.github.com/repos/AlanCoding/awx-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlanCoding/awx-1/downloads","issues_url":"https://api.github.com/repos/AlanCoding/awx-1/issues{/number}","pulls_url":"https://api.github.com/repos/AlanCoding/awx-1/pulls{/number}","milestones_url":"https://api.github.com/repos/AlanCoding/awx-1/milestones{/number}","notifications_url":"https://api.github.com/repos/AlanCoding/awx-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlanCoding/awx-1/labels{/name}","releases_url":"https://api.github.com/repos/AlanCoding/awx-1/releases{/id}","deployments_url":"https://api.github.com/repos/AlanCoding/awx-1/deployments","created_at":"2017-09-08T00:27:27Z","updated_at":"2017-09-08T00:27:32Z","pushed_at":"2018-02-08T14:23:08Z","git_url":"git://github.com/AlanCoding/awx-1.git","ssh_url":"git@github.com:AlanCoding/awx-1.git","clone_url":"https://github.com/AlanCoding/awx-1.git","svn_url":"https://github.com/AlanCoding/awx-1","homepage":"","size":193531,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"e982f6ed06c9738b9fa584978c95f28f1016c238","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars2.githubusercontent.com/u/1507452?v=4","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":91594105,"name":"awx","full_name":"ansible/awx","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars2.githubusercontent.com/u/1507452?v=4","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/awx","description":"AWX Project","fork":false,"url":"https://api.github.com/repos/ansible/awx","forks_url":"https://api.github.com/repos/ansible/awx/forks","keys_url":"https://api.github.com/repos/ansible/awx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/awx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/awx/teams","hooks_url":"https://api.github.com/repos/ansible/awx/hooks","issue_events_url":"https://api.github.com/repos/ansible/awx/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/awx/events","assignees_url":"https://api.github.com/repos/ansible/awx/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/awx/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/awx/tags","blobs_url":"https://api.github.com/repos/ansible/awx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/awx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/awx/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/awx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/awx/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/awx/languages","stargazers_url":"https://api.github.com/repos/ansible/awx/stargazers","contributors_url":"https://api.github.com/repos/ansible/awx/contributors","subscribers_url":"https://api.github.com/repos/ansible/awx/subscribers","subscription_url":"https://api.github.com/repos/ansible/awx/subscription","commits_url":"https://api.github.com/repos/ansible/awx/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/awx/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/awx/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/awx/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/awx/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/awx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/awx/merges","archive_url":"https://api.github.com/repos/ansible/awx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/awx/downloads","issues_url":"https://api.github.com/repos/ansible/awx/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/awx/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/awx/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/awx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/awx/labels{/name}","releases_url":"https://api.github.com/repos/ansible/awx/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/awx/deployments","created_at":"2017-05-17T15:50:14Z","updated_at":"2018-02-08T14:03:33Z","pushed_at":"2018-02-08T15:28:12Z","git_url":"git://github.com/ansible/awx.git","ssh_url":"git@github.com:ansible/awx.git","clone_url":"https://github.com/ansible/awx.git","svn_url":"https://github.com/ansible/awx","homepage":"","size":196097,"stargazers_count":3316,"watchers_count":3316,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":479,"mirror_url":null,"archived":false,"open_issues_count":291,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":479,"open_issues":291,"watchers":3316,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/awx/pulls/1159"},"html":{"href":"https://github.com/ansible/awx/pull/1159"},"issue":{"href":"https://api.github.com/repos/ansible/awx/issues/1159"},"comments":{"href":"https://api.github.com/repos/ansible/awx/issues/1159/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/awx/pulls/1159/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/awx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/awx/pulls/1159/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/awx/statuses/87b59903a5b41e23c2b455a9bdb8129216405c55"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"AlanCoding","id":1385596,"avatar_url":"https://avatars3.githubusercontent.com/u/1385596?v=4","gravatar_id":"","url":"https://api.github.com/users/AlanCoding","html_url":"https://github.com/AlanCoding","followers_url":"https://api.github.com/users/AlanCoding/followers","following_url":"https://api.github.com/users/AlanCoding/following{/other_user}","gists_url":"https://api.github.com/users/AlanCoding/gists{/gist_id}","starred_url":"https://api.github.com/users/AlanCoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlanCoding/subscriptions","organizations_url":"https://api.github.com/users/AlanCoding/orgs","repos_url":"https://api.github.com/users/AlanCoding/repos","events_url":"https://api.github.com/users/AlanCoding/events{/privacy}","received_events_url":"https://api.github.com/users/AlanCoding/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":10,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"AlanCoding"}}