{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/4210","labels_url":"https://api.github.com/repos/openshift/origin/issues/4210/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/4210/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/4210/events","html_url":"https://github.com/openshift/origin/pull/4210","id":101423561,"number":4210,"title":"Make push retries more intelligent","user":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-17T13:45:23Z","updated_at":"2015-08-18T12:16:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/4210","html_url":"https://github.com/openshift/origin/pull/4210","diff_url":"https://github.com/openshift/origin/pull/4210.diff","patch_url":"https://github.com/openshift/origin/pull/4210.patch"},"body":"So currently there are three situation that the can detect upon the image push to Docker registry and react accordingly:\r\n- registry is down permanently\r\n- registry is down temporarily\r\n- multiple image are tried to be pushed into registry.\r\n\r\nFor the first two we will just do two retries. For the simultaneous image push, the number of retries will be 20. Not really sure if the 20 retries is the ideal number, but there is no way how to distinguish how long shall the build take, so its kinda hard to pick the amount of retries (or the delay between retries).\r\n\r\n@mfojtik I know that you have been working on the retry logic. PTAL  "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/132189285","html_url":"https://github.com/openshift/origin/pull/4210#issuecomment-132189285","issue_url":"https://api.github.com/repos/openshift/origin/issues/4210","id":132189285,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T12:16:57Z","updated_at":"2015-08-18T12:16:57Z","body":"Evaluated for origin test up to ed6e8f5e90d499fa151e845fa991e8fd3ca8b74d"}}