{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/8772","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/8772/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/8772/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/8772/events","html_url":"https://github.com/openshift/origin/issues/8772","id":153455312,"number":8772,"title":"configurable git clone timeout","user":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/build","name":"component/build","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P3","name":"priority/P3","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"csrwng","id":5834976,"avatar_url":"https://avatars.githubusercontent.com/u/5834976?v=3","gravatar_id":"","url":"https://api.github.com/users/csrwng","html_url":"https://github.com/csrwng","followers_url":"https://api.github.com/users/csrwng/followers","following_url":"https://api.github.com/users/csrwng/following{/other_user}","gists_url":"https://api.github.com/users/csrwng/gists{/gist_id}","starred_url":"https://api.github.com/users/csrwng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csrwng/subscriptions","organizations_url":"https://api.github.com/users/csrwng/orgs","repos_url":"https://api.github.com/users/csrwng/repos","events_url":"https://api.github.com/users/csrwng/events{/privacy}","received_events_url":"https://api.github.com/users/csrwng/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-05-06T13:51:01Z","updated_at":"2016-05-10T18:07:54Z","closed_at":null,"body":"the build process does a git ls-remote to check if a repo is accessible.  the timeout is hardcoded at 16s.  Slow dns or other network issues can cause that call to fail.\r\n\r\n1) the timeout should be configurable\r\n2) we should print a clearer message when it happens\r\n\r\n@knobunc fyi.  I don't think we want to warn but still wait 1-2 minutes because the point of the test is to fail fast if the repo is inaccessible, such as might happen if you put a bad hostname or IP in.\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/218241619","html_url":"https://github.com/openshift/origin/issues/8772#issuecomment-218241619","issue_url":"https://api.github.com/repos/openshift/origin/issues/8772","id":218241619,"user":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T18:07:54Z","updated_at":"2016-05-10T18:07:54Z","body":"so this logic resides in the openshift/origin-sti-builder and openshift/origin-docker-builder images.  by default, openshift attempts to pull those images using a tag that matches the commit level of the openshift master.  if you specify --latest-images then instead it will use whatever version of those images exists locally.  So you'd have to:\r\n\r\n1) build new versions of those images with the changed timeout (it's in code, so just layering a change wouldn't really work)\r\n2) make sure the new image existed on all your openshift nodes\r\n3) launch your master with --latest-images\r\n\r\nso...doable, but not trivial.\r\n"}}