{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/11768","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/11768/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/11768/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/11768/events","html_url":"https://github.com/openshift/origin/pull/11768","id":187257500,"number":11768,"title":"router: Add option to bind ports only when ready","user":{"login":"marun","id":451477,"avatar_url":"https://avatars.githubusercontent.com/u/451477?v=3","gravatar_id":"","url":"https://api.github.com/users/marun","html_url":"https://github.com/marun","followers_url":"https://api.github.com/users/marun/followers","following_url":"https://api.github.com/users/marun/following{/other_user}","gists_url":"https://api.github.com/users/marun/gists{/gist_id}","starred_url":"https://api.github.com/users/marun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marun/subscriptions","organizations_url":"https://api.github.com/users/marun/orgs","repos_url":"https://api.github.com/users/marun/repos","events_url":"https://api.github.com/users/marun/events{/privacy}","received_events_url":"https://api.github.com/users/marun/received_events","type":"User","site_admin":false},"labels":[{"id":210156114,"url":"https://api.github.com/repos/openshift/origin/labels/component/networking","name":"component/networking","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-04T05:35:19Z","updated_at":"2016-11-09T21:37:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/11768","html_url":"https://github.com/openshift/origin/pull/11768","diff_url":"https://github.com/openshift/origin/pull/11768.diff","patch_url":"https://github.com/openshift/origin/pull/11768.patch"},"body":"By default the router binds ports 80 and 443 even if no routing configuration is available.  This may be desirable when haproxy is serving traffic directly to clients.  However, the f5 loadbalancer will treat bound ports as indicating that a backend is ready to receive traffic.  This means that router pods that are starting or restarting may be put into rotation before they are ready to serve the current route state and clients may see 503s for perfectly healthy endpoints.  To avoid this possibility, this change adds an option (~BIND_ONLY_WHEN_READY/--bind-only-when-ready~ ROUTER_BIND_PORTS_AFTER_SYNC/--bind-ports-after-sync) to the router that ensures that ports are bound only when a router instance has route and endpoint state available.\r\n\r\nReference: bug 1383663 [link](https://bugzilla.redhat.com/show_bug.cgi?id=1383663)\r\n\r\ncc: @openshift/networking "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/259533738","html_url":"https://github.com/openshift/origin/pull/11768#issuecomment-259533738","issue_url":"https://api.github.com/repos/openshift/origin/issues/11768","id":259533738,"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":"2016-11-09T21:37:49Z","updated_at":"2016-11-09T21:37:49Z","body":"continuous-integration/openshift-jenkins/test Running (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/11333/) (Base Commit: f6072e5b65b9f6da7685665754a3079ef255766c)"}}
{"actor":{"display_login":"openshift-bot"}}