{"action":"closed","number":108,"pull_request":{"url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls/108","id":168945645,"html_url":"https://github.com/chef-partners/omnibus-marketplace/pull/108","diff_url":"https://github.com/chef-partners/omnibus-marketplace/pull/108.diff","patch_url":"https://github.com/chef-partners/omnibus-marketplace/pull/108.patch","issue_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/issues/108","number":108,"state":"closed","locked":false,"title":"Workaround race condition in creating an enterprise","user":{"login":"rhass","id":1200379,"avatar_url":"https://avatars2.githubusercontent.com/u/1200379?v=4","gravatar_id":"","url":"https://api.github.com/users/rhass","html_url":"https://github.com/rhass","followers_url":"https://api.github.com/users/rhass/followers","following_url":"https://api.github.com/users/rhass/following{/other_user}","gists_url":"https://api.github.com/users/rhass/gists{/gist_id}","starred_url":"https://api.github.com/users/rhass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhass/subscriptions","organizations_url":"https://api.github.com/users/rhass/orgs","repos_url":"https://api.github.com/users/rhass/repos","events_url":"https://api.github.com/users/rhass/events{/privacy}","received_events_url":"https://api.github.com/users/rhass/received_events","type":"User","site_admin":false},"body":"There seems to be a race condition in which automate is restarting between actions and we are unable to create an enterprise. For now, we want to just retry again and add a longer delay than the default two\r\nseconds between each retry.\r\n\r\nSigned-off-by: Ryan Hass <rhass@users.noreply.github.com>","created_at":"2018-02-13T20:18:26Z","updated_at":"2018-02-13T20:23:22Z","closed_at":"2018-02-13T20:23:22Z","merged_at":"2018-02-13T20:23:22Z","merge_commit_sha":"237076d828952c9ff98d40c7a24ea5211b675657","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls/108/commits","review_comments_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls/108/comments","review_comment_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/issues/108/comments","statuses_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/statuses/96c979a3df37159478bf9be9937e7ebc38130e69","head":{"label":"rhass:rhass/moaar-retry","ref":"rhass/moaar-retry","sha":"96c979a3df37159478bf9be9937e7ebc38130e69","user":{"login":"rhass","id":1200379,"avatar_url":"https://avatars2.githubusercontent.com/u/1200379?v=4","gravatar_id":"","url":"https://api.github.com/users/rhass","html_url":"https://github.com/rhass","followers_url":"https://api.github.com/users/rhass/followers","following_url":"https://api.github.com/users/rhass/following{/other_user}","gists_url":"https://api.github.com/users/rhass/gists{/gist_id}","starred_url":"https://api.github.com/users/rhass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhass/subscriptions","organizations_url":"https://api.github.com/users/rhass/orgs","repos_url":"https://api.github.com/users/rhass/repos","events_url":"https://api.github.com/users/rhass/events{/privacy}","received_events_url":"https://api.github.com/users/rhass/received_events","type":"User","site_admin":false},"repo":{"id":121431640,"name":"omnibus-marketplace","full_name":"rhass/omnibus-marketplace","owner":{"login":"rhass","id":1200379,"avatar_url":"https://avatars2.githubusercontent.com/u/1200379?v=4","gravatar_id":"","url":"https://api.github.com/users/rhass","html_url":"https://github.com/rhass","followers_url":"https://api.github.com/users/rhass/followers","following_url":"https://api.github.com/users/rhass/following{/other_user}","gists_url":"https://api.github.com/users/rhass/gists{/gist_id}","starred_url":"https://api.github.com/users/rhass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhass/subscriptions","organizations_url":"https://api.github.com/users/rhass/orgs","repos_url":"https://api.github.com/users/rhass/repos","events_url":"https://api.github.com/users/rhass/events{/privacy}","received_events_url":"https://api.github.com/users/rhass/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhass/omnibus-marketplace","description":"Omnibus project for the marketplace Chef server plugins","fork":true,"url":"https://api.github.com/repos/rhass/omnibus-marketplace","forks_url":"https://api.github.com/repos/rhass/omnibus-marketplace/forks","keys_url":"https://api.github.com/repos/rhass/omnibus-marketplace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhass/omnibus-marketplace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhass/omnibus-marketplace/teams","hooks_url":"https://api.github.com/repos/rhass/omnibus-marketplace/hooks","issue_events_url":"https://api.github.com/repos/rhass/omnibus-marketplace/issues/events{/number}","events_url":"https://api.github.com/repos/rhass/omnibus-marketplace/events","assignees_url":"https://api.github.com/repos/rhass/omnibus-marketplace/assignees{/user}","branches_url":"https://api.github.com/repos/rhass/omnibus-marketplace/branches{/branch}","tags_url":"https://api.github.com/repos/rhass/omnibus-marketplace/tags","blobs_url":"https://api.github.com/repos/rhass/omnibus-marketplace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhass/omnibus-marketplace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhass/omnibus-marketplace/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhass/omnibus-marketplace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhass/omnibus-marketplace/statuses/{sha}","languages_url":"https://api.github.com/repos/rhass/omnibus-marketplace/languages","stargazers_url":"https://api.github.com/repos/rhass/omnibus-marketplace/stargazers","contributors_url":"https://api.github.com/repos/rhass/omnibus-marketplace/contributors","subscribers_url":"https://api.github.com/repos/rhass/omnibus-marketplace/subscribers","subscription_url":"https://api.github.com/repos/rhass/omnibus-marketplace/subscription","commits_url":"https://api.github.com/repos/rhass/omnibus-marketplace/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhass/omnibus-marketplace/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhass/omnibus-marketplace/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhass/omnibus-marketplace/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhass/omnibus-marketplace/contents/{+path}","compare_url":"https://api.github.com/repos/rhass/omnibus-marketplace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhass/omnibus-marketplace/merges","archive_url":"https://api.github.com/repos/rhass/omnibus-marketplace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhass/omnibus-marketplace/downloads","issues_url":"https://api.github.com/repos/rhass/omnibus-marketplace/issues{/number}","pulls_url":"https://api.github.com/repos/rhass/omnibus-marketplace/pulls{/number}","milestones_url":"https://api.github.com/repos/rhass/omnibus-marketplace/milestones{/number}","notifications_url":"https://api.github.com/repos/rhass/omnibus-marketplace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhass/omnibus-marketplace/labels{/name}","releases_url":"https://api.github.com/repos/rhass/omnibus-marketplace/releases{/id}","deployments_url":"https://api.github.com/repos/rhass/omnibus-marketplace/deployments","created_at":"2018-02-13T20:17:21Z","updated_at":"2018-02-13T20:17:23Z","pushed_at":"2018-02-13T20:17:58Z","git_url":"git://github.com/rhass/omnibus-marketplace.git","ssh_url":"git@github.com:rhass/omnibus-marketplace.git","clone_url":"https://github.com/rhass/omnibus-marketplace.git","svn_url":"https://github.com/rhass/omnibus-marketplace","homepage":null,"size":971,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"master"}},"base":{"label":"chef-partners:master","ref":"master","sha":"9f44082525b7150d07852e941d008d4487b03b62","user":{"login":"chef-partners","id":6988876,"avatar_url":"https://avatars0.githubusercontent.com/u/6988876?v=4","gravatar_id":"","url":"https://api.github.com/users/chef-partners","html_url":"https://github.com/chef-partners","followers_url":"https://api.github.com/users/chef-partners/followers","following_url":"https://api.github.com/users/chef-partners/following{/other_user}","gists_url":"https://api.github.com/users/chef-partners/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-partners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-partners/subscriptions","organizations_url":"https://api.github.com/users/chef-partners/orgs","repos_url":"https://api.github.com/users/chef-partners/repos","events_url":"https://api.github.com/users/chef-partners/events{/privacy}","received_events_url":"https://api.github.com/users/chef-partners/received_events","type":"Organization","site_admin":false},"repo":{"id":39531440,"name":"omnibus-marketplace","full_name":"chef-partners/omnibus-marketplace","owner":{"login":"chef-partners","id":6988876,"avatar_url":"https://avatars0.githubusercontent.com/u/6988876?v=4","gravatar_id":"","url":"https://api.github.com/users/chef-partners","html_url":"https://github.com/chef-partners","followers_url":"https://api.github.com/users/chef-partners/followers","following_url":"https://api.github.com/users/chef-partners/following{/other_user}","gists_url":"https://api.github.com/users/chef-partners/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-partners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-partners/subscriptions","organizations_url":"https://api.github.com/users/chef-partners/orgs","repos_url":"https://api.github.com/users/chef-partners/repos","events_url":"https://api.github.com/users/chef-partners/events{/privacy}","received_events_url":"https://api.github.com/users/chef-partners/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef-partners/omnibus-marketplace","description":"Omnibus project for the marketplace Chef server plugins","fork":false,"url":"https://api.github.com/repos/chef-partners/omnibus-marketplace","forks_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/forks","keys_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/teams","hooks_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/hooks","issue_events_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/issues/events{/number}","events_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/events","assignees_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/assignees{/user}","branches_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/branches{/branch}","tags_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/tags","blobs_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/statuses/{sha}","languages_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/languages","stargazers_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/stargazers","contributors_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/contributors","subscribers_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/subscribers","subscription_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/subscription","commits_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/contents/{+path}","compare_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/merges","archive_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/downloads","issues_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/issues{/number}","pulls_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls{/number}","milestones_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/milestones{/number}","notifications_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/labels{/name}","releases_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/releases{/id}","deployments_url":"https://api.github.com/repos/chef-partners/omnibus-marketplace/deployments","created_at":"2015-07-22T21:33:26Z","updated_at":"2017-11-10T02:20:36Z","pushed_at":"2018-02-13T20:23:22Z","git_url":"git://github.com/chef-partners/omnibus-marketplace.git","ssh_url":"git@github.com:chef-partners/omnibus-marketplace.git","clone_url":"https://github.com/chef-partners/omnibus-marketplace.git","svn_url":"https://github.com/chef-partners/omnibus-marketplace","homepage":null,"size":971,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":9,"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":4,"open_issues":9,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls/108"},"html":{"href":"https://github.com/chef-partners/omnibus-marketplace/pull/108"},"issue":{"href":"https://api.github.com/repos/chef-partners/omnibus-marketplace/issues/108"},"comments":{"href":"https://api.github.com/repos/chef-partners/omnibus-marketplace/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef-partners/omnibus-marketplace/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/chef-partners/omnibus-marketplace/statuses/96c979a3df37159478bf9be9937e7ebc38130e69"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ryancragun","id":65058,"avatar_url":"https://avatars2.githubusercontent.com/u/65058?v=4","gravatar_id":"","url":"https://api.github.com/users/ryancragun","html_url":"https://github.com/ryancragun","followers_url":"https://api.github.com/users/ryancragun/followers","following_url":"https://api.github.com/users/ryancragun/following{/other_user}","gists_url":"https://api.github.com/users/ryancragun/gists{/gist_id}","starred_url":"https://api.github.com/users/ryancragun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryancragun/subscriptions","organizations_url":"https://api.github.com/users/ryancragun/orgs","repos_url":"https://api.github.com/users/ryancragun/repos","events_url":"https://api.github.com/users/ryancragun/events{/privacy}","received_events_url":"https://api.github.com/users/ryancragun/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ryancragun"}}