{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls/7","id":66709002,"html_url":"https://github.com/SPSCommerce/ansible-role-supervisor/pull/7","diff_url":"https://github.com/SPSCommerce/ansible-role-supervisor/pull/7.diff","patch_url":"https://github.com/SPSCommerce/ansible-role-supervisor/pull/7.patch","issue_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/issues/7","number":7,"state":"open","locked":false,"title":"Add retry to restart handler to fix race condition","user":{"login":"danrue","id":409011,"avatar_url":"https://avatars.githubusercontent.com/u/409011?v=3","gravatar_id":"","url":"https://api.github.com/users/danrue","html_url":"https://github.com/danrue","followers_url":"https://api.github.com/users/danrue/followers","following_url":"https://api.github.com/users/danrue/following{/other_user}","gists_url":"https://api.github.com/users/danrue/gists{/gist_id}","starred_url":"https://api.github.com/users/danrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrue/subscriptions","organizations_url":"https://api.github.com/users/danrue/orgs","repos_url":"https://api.github.com/users/danrue/repos","events_url":"https://api.github.com/users/danrue/events{/privacy}","received_events_url":"https://api.github.com/users/danrue/received_events","type":"User","site_admin":false},"body":"It seems in the new AMIs there is an occasional race condition that may\r\ncause the supervisor restart to fail. Maybe a retry will help.","created_at":"2016-04-15T21:41:10Z","updated_at":"2016-04-15T21:41:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls/7/commits","review_comments_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls/7/comments","review_comment_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/issues/7/comments","statuses_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/statuses/6ea3bf0e2eaae148b41b53023ea95f1101e466dc","head":{"label":"danrue:retry_restart","ref":"retry_restart","sha":"6ea3bf0e2eaae148b41b53023ea95f1101e466dc","user":{"login":"danrue","id":409011,"avatar_url":"https://avatars.githubusercontent.com/u/409011?v=3","gravatar_id":"","url":"https://api.github.com/users/danrue","html_url":"https://github.com/danrue","followers_url":"https://api.github.com/users/danrue/followers","following_url":"https://api.github.com/users/danrue/following{/other_user}","gists_url":"https://api.github.com/users/danrue/gists{/gist_id}","starred_url":"https://api.github.com/users/danrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrue/subscriptions","organizations_url":"https://api.github.com/users/danrue/orgs","repos_url":"https://api.github.com/users/danrue/repos","events_url":"https://api.github.com/users/danrue/events{/privacy}","received_events_url":"https://api.github.com/users/danrue/received_events","type":"User","site_admin":false},"repo":{"id":40263766,"name":"ansible-role-supervisor","full_name":"danrue/ansible-role-supervisor","owner":{"login":"danrue","id":409011,"avatar_url":"https://avatars.githubusercontent.com/u/409011?v=3","gravatar_id":"","url":"https://api.github.com/users/danrue","html_url":"https://github.com/danrue","followers_url":"https://api.github.com/users/danrue/followers","following_url":"https://api.github.com/users/danrue/following{/other_user}","gists_url":"https://api.github.com/users/danrue/gists{/gist_id}","starred_url":"https://api.github.com/users/danrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrue/subscriptions","organizations_url":"https://api.github.com/users/danrue/orgs","repos_url":"https://api.github.com/users/danrue/repos","events_url":"https://api.github.com/users/danrue/events{/privacy}","received_events_url":"https://api.github.com/users/danrue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danrue/ansible-role-supervisor","description":"Supervisor installation and supervisor script role.  ","fork":true,"url":"https://api.github.com/repos/danrue/ansible-role-supervisor","forks_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/forks","keys_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/teams","hooks_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/hooks","issue_events_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/issues/events{/number}","events_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/events","assignees_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/assignees{/user}","branches_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/branches{/branch}","tags_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/tags","blobs_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/statuses/{sha}","languages_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/languages","stargazers_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/stargazers","contributors_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/contributors","subscribers_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/subscribers","subscription_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/subscription","commits_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/contents/{+path}","compare_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/merges","archive_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/downloads","issues_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/issues{/number}","pulls_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/pulls{/number}","milestones_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/milestones{/number}","notifications_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/labels{/name}","releases_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/releases{/id}","deployments_url":"https://api.github.com/repos/danrue/ansible-role-supervisor/deployments","created_at":"2015-08-05T19:04:36Z","updated_at":"2015-08-05T19:04:36Z","pushed_at":"2016-04-15T21:41:05Z","git_url":"git://github.com/danrue/ansible-role-supervisor.git","ssh_url":"git@github.com:danrue/ansible-role-supervisor.git","clone_url":"https://github.com/danrue/ansible-role-supervisor.git","svn_url":"https://github.com/danrue/ansible-role-supervisor","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SPSCommerce:master","ref":"master","sha":"b0233085604d1531346b8094d49788b6b2fd9af6","user":{"login":"SPSCommerce","id":5660691,"avatar_url":"https://avatars.githubusercontent.com/u/5660691?v=3","gravatar_id":"","url":"https://api.github.com/users/SPSCommerce","html_url":"https://github.com/SPSCommerce","followers_url":"https://api.github.com/users/SPSCommerce/followers","following_url":"https://api.github.com/users/SPSCommerce/following{/other_user}","gists_url":"https://api.github.com/users/SPSCommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/SPSCommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SPSCommerce/subscriptions","organizations_url":"https://api.github.com/users/SPSCommerce/orgs","repos_url":"https://api.github.com/users/SPSCommerce/repos","events_url":"https://api.github.com/users/SPSCommerce/events{/privacy}","received_events_url":"https://api.github.com/users/SPSCommerce/received_events","type":"Organization","site_admin":false},"repo":{"id":29207985,"name":"ansible-role-supervisor","full_name":"SPSCommerce/ansible-role-supervisor","owner":{"login":"SPSCommerce","id":5660691,"avatar_url":"https://avatars.githubusercontent.com/u/5660691?v=3","gravatar_id":"","url":"https://api.github.com/users/SPSCommerce","html_url":"https://github.com/SPSCommerce","followers_url":"https://api.github.com/users/SPSCommerce/followers","following_url":"https://api.github.com/users/SPSCommerce/following{/other_user}","gists_url":"https://api.github.com/users/SPSCommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/SPSCommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SPSCommerce/subscriptions","organizations_url":"https://api.github.com/users/SPSCommerce/orgs","repos_url":"https://api.github.com/users/SPSCommerce/repos","events_url":"https://api.github.com/users/SPSCommerce/events{/privacy}","received_events_url":"https://api.github.com/users/SPSCommerce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SPSCommerce/ansible-role-supervisor","description":"Supervisor installation and supervisor script role.  ","fork":false,"url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor","forks_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/forks","keys_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/teams","hooks_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/hooks","issue_events_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/issues/events{/number}","events_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/events","assignees_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/assignees{/user}","branches_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/branches{/branch}","tags_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/tags","blobs_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/statuses/{sha}","languages_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/languages","stargazers_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/stargazers","contributors_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/contributors","subscribers_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/subscribers","subscription_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/subscription","commits_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/contents/{+path}","compare_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/merges","archive_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/downloads","issues_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/issues{/number}","pulls_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls{/number}","milestones_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/milestones{/number}","notifications_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/labels{/name}","releases_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/releases{/id}","deployments_url":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/deployments","created_at":"2015-01-13T19:53:22Z","updated_at":"2016-01-14T12:55:52Z","pushed_at":"2016-04-15T21:41:10Z","git_url":"git://github.com/SPSCommerce/ansible-role-supervisor.git","ssh_url":"git@github.com:SPSCommerce/ansible-role-supervisor.git","clone_url":"https://github.com/SPSCommerce/ansible-role-supervisor.git","svn_url":"https://github.com/SPSCommerce/ansible-role-supervisor","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls/7"},"html":{"href":"https://github.com/SPSCommerce/ansible-role-supervisor/pull/7"},"issue":{"href":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/issues/7"},"comments":{"href":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/SPSCommerce/ansible-role-supervisor/statuses/6ea3bf0e2eaae148b41b53023ea95f1101e466dc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}