{"action":"opened","number":7609,"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/7609","id":176650950,"html_url":"https://github.com/openshift/openshift-ansible/pull/7609","diff_url":"https://github.com/openshift/openshift-ansible/pull/7609.diff","patch_url":"https://github.com/openshift/openshift-ansible/pull/7609.patch","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/7609","number":7609,"state":"open","locked":false,"title":"[release-3.7] Add max-time option to curl to avoid long running ansible","user":{"login":"nak3","id":2138339,"avatar_url":"https://avatars2.githubusercontent.com/u/2138339?v=4","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"body":"When curl command is executed to check services health with `retries:\r\n120` and `delay: 1`, it looks like it takes `120 sec` at a\r\nmaximum until it gives up. However, in case that peer does not reply\r\nand makes timeout due to some issue, one curl takes around 1 min\r\n(=connection timeout) to fail, so `120(sec) * 1(min) = 2 hours` in\r\ntotal. It takes too long until users wait for the end of ansible.\r\n\r\nTo solve this ansible ends after long running issue, this patch adds\r\n`--max-time 2` to curl command to timeout.","created_at":"2018-03-22T01:14:38Z","updated_at":"2018-03-22T01:14:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/7609/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/7609/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/7609/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-ansible/statuses/f4445e02d6c3a20352e17259f05f70469937e79f","head":{"label":"nak3:max-time-3.7","ref":"max-time-3.7","sha":"f4445e02d6c3a20352e17259f05f70469937e79f","user":{"login":"nak3","id":2138339,"avatar_url":"https://avatars2.githubusercontent.com/u/2138339?v=4","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"repo":{"id":42592939,"name":"openshift-ansible","full_name":"nak3/openshift-ansible","owner":{"login":"nak3","id":2138339,"avatar_url":"https://avatars2.githubusercontent.com/u/2138339?v=4","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nak3/openshift-ansible","description":"OpenShift Ansible Code","fork":true,"url":"https://api.github.com/repos/nak3/openshift-ansible","forks_url":"https://api.github.com/repos/nak3/openshift-ansible/forks","keys_url":"https://api.github.com/repos/nak3/openshift-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nak3/openshift-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nak3/openshift-ansible/teams","hooks_url":"https://api.github.com/repos/nak3/openshift-ansible/hooks","issue_events_url":"https://api.github.com/repos/nak3/openshift-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/nak3/openshift-ansible/events","assignees_url":"https://api.github.com/repos/nak3/openshift-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/nak3/openshift-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/nak3/openshift-ansible/tags","blobs_url":"https://api.github.com/repos/nak3/openshift-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nak3/openshift-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nak3/openshift-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/nak3/openshift-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nak3/openshift-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/nak3/openshift-ansible/languages","stargazers_url":"https://api.github.com/repos/nak3/openshift-ansible/stargazers","contributors_url":"https://api.github.com/repos/nak3/openshift-ansible/contributors","subscribers_url":"https://api.github.com/repos/nak3/openshift-ansible/subscribers","subscription_url":"https://api.github.com/repos/nak3/openshift-ansible/subscription","commits_url":"https://api.github.com/repos/nak3/openshift-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/nak3/openshift-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/nak3/openshift-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/nak3/openshift-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/nak3/openshift-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/nak3/openshift-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nak3/openshift-ansible/merges","archive_url":"https://api.github.com/repos/nak3/openshift-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nak3/openshift-ansible/downloads","issues_url":"https://api.github.com/repos/nak3/openshift-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/nak3/openshift-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/nak3/openshift-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/nak3/openshift-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nak3/openshift-ansible/labels{/name}","releases_url":"https://api.github.com/repos/nak3/openshift-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/nak3/openshift-ansible/deployments","created_at":"2015-09-16T14:38:31Z","updated_at":"2018-03-22T00:33:04Z","pushed_at":"2018-03-22T01:13:21Z","git_url":"git://github.com/nak3/openshift-ansible.git","ssh_url":"git@github.com:nak3/openshift-ansible.git","clone_url":"https://github.com/nak3/openshift-ansible.git","svn_url":"https://github.com/nak3/openshift-ansible","homepage":"","size":21369,"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":1,"mirror_url":null,"archived":false,"open_issues_count":0,"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":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:release-3.7","ref":"release-3.7","sha":"4da04fdbc32378e9c78015ad1a5bab2f24061318","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":24109199,"name":"openshift-ansible","full_name":"openshift/openshift-ansible","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/openshift-ansible","description":"OpenShift Installation and Configuration Management","fork":false,"url":"https://api.github.com/repos/openshift/openshift-ansible","forks_url":"https://api.github.com/repos/openshift/openshift-ansible/forks","keys_url":"https://api.github.com/repos/openshift/openshift-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-ansible/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-ansible/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-ansible/events","assignees_url":"https://api.github.com/repos/openshift/openshift-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-ansible/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-ansible/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-ansible/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-ansible/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-ansible/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-ansible/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-ansible/merges","archive_url":"https://api.github.com/repos/openshift/openshift-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-ansible/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/openshift-ansible/deployments","created_at":"2014-09-16T17:07:51Z","updated_at":"2018-03-21T23:35:20Z","pushed_at":"2018-03-22T01:02:32Z","git_url":"git://github.com/openshift/openshift-ansible.git","ssh_url":"git@github.com:openshift/openshift-ansible.git","clone_url":"https://github.com/openshift/openshift-ansible.git","svn_url":"https://github.com/openshift/openshift-ansible","homepage":"https://install.openshift.com","size":26190,"stargazers_count":815,"watchers_count":815,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1239,"mirror_url":null,"archived":false,"open_issues_count":833,"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":1239,"open_issues":833,"watchers":815,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-ansible/pulls/7609"},"html":{"href":"https://github.com/openshift/openshift-ansible/pull/7609"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-ansible/issues/7609"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-ansible/issues/7609/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-ansible/pulls/7609/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-ansible/pulls/7609/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-ansible/statuses/f4445e02d6c3a20352e17259f05f70469937e79f"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":9,"deletions":8,"changed_files":8}}
{"actor":{"display_login":"nak3"}}