{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5586","labels_url":"https://api.github.com/repos/openshift/origin/issues/5586/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5586/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5586/events","html_url":"https://github.com/openshift/origin/issues/5586","id":114650262,"number":5586,"title":"When running in a container, replica count is not updated and deployments fail","user":{"login":"sdodson","id":48161,"avatar_url":"https://avatars.githubusercontent.com/u/48161?v=3","gravatar_id":"","url":"https://api.github.com/users/sdodson","html_url":"https://github.com/sdodson","followers_url":"https://api.github.com/users/sdodson/followers","following_url":"https://api.github.com/users/sdodson/following{/other_user}","gists_url":"https://api.github.com/users/sdodson/gists{/gist_id}","starred_url":"https://api.github.com/users/sdodson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdodson/subscriptions","organizations_url":"https://api.github.com/users/sdodson/orgs","repos_url":"https://api.github.com/users/sdodson/repos","events_url":"https://api.github.com/users/sdodson/events{/privacy}","received_events_url":"https://api.github.com/users/sdodson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P1","name":"priority/P1","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"pmorie","id":366488,"avatar_url":"https://avatars.githubusercontent.com/u/366488?v=3","gravatar_id":"","url":"https://api.github.com/users/pmorie","html_url":"https://github.com/pmorie","followers_url":"https://api.github.com/users/pmorie/followers","following_url":"https://api.github.com/users/pmorie/following{/other_user}","gists_url":"https://api.github.com/users/pmorie/gists{/gist_id}","starred_url":"https://api.github.com/users/pmorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmorie/subscriptions","organizations_url":"https://api.github.com/users/pmorie/orgs","repos_url":"https://api.github.com/users/pmorie/repos","events_url":"https://api.github.com/users/pmorie/events{/privacy}","received_events_url":"https://api.github.com/users/pmorie/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-11-02T18:04:34Z","updated_at":"2015-11-03T20:42:00Z","closed_at":null,"body":"I'm trying to run the node run in a container. When I create a router or anything that uses the deployer the replica count never goes to the desired count even though pods are marked as ready and liveness probes are successful. After two minutes the is terminated and the deployment is marked as a failure. If, after the deployment is marked a failure, I manually scale the RC to 1 it scales fine and everything works.\r\n\r\nFrom the logs we see that the router pod is Ready and Liveness probes are successful.\r\n```\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2755]: I1102 11:45:31.991576    2839 prober.go:112] Liveness probe for \"router-1-vehpr_default:router\" succeeded\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2755]: I1102 11:45:31.991586    2839 manager.go:1790] probe success: \"router\"\r\n...\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2755]: I1102 11:45:32.030071    2839 manager.go:171] Ignoring same status for pod \"router-1-vehpr_default\", status: {Phase:Running Conditions:[{Type:Ready Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2015-11-02 11:43:54.078486439 -0500 EST Reason: Message:}] Message: Reason: HostIP:192.168.122.72 PodIP:192.168.122.72 StartTime:2015-11-02 11:43:51.732485517 -0500 EST ContainerStatuses:[{Name:router State:{Waiting:<nil> Running:0xc20b7e4880 Terminated:<nil>} LastTerminationState:{Waiting:<nil> Running:<nil> Terminated:<nil>} Ready:true RestartCount:0 Image:openshift/origin-haproxy-router:latest ImageID:docker://049924db907588da81149ab2f0036ce1bceb87a43989a4f925123550a9fa0151 ContainerID:docker://7985118f9e0dbc2e6201d91c723fc967ddabb9a6c6113dcfc6cfc79e3b95857e}]}\r\n```\r\nHowever it's failing to update the replica count\r\n```\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2633]: time=\"2015-11-02T11:45:32.132322316-05:00\" level=info msg=\"GET /containers/json\"\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2755]: I1102 11:45:32.134233    2839 docker.go:368] Docker Container: /atomic-openshift-node is not managed by kubelet.\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2755]: I1102 11:45:32.134259    2839 docker.go:368] Docker Container: /atomic-openshift-master is not managed by kubelet.\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.140705       1 replication_controller_utils.go:43] Updating replica count for rc: router-1, 1->1 (need 1), sequence No: 2->2\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.143881       1 replication_controller.go:453] Failed to update replica count for controller router-1, requeuing\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.143908       1 replication_controller.go:404] Finished syncing controller \"default/router-1\" (111.387901ms)\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.143962       1 replication_controller_utils.go:43] Updating replica count for rc: router-1, 0->1 (need 1), sequence No: 0->2\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.151534       1 replication_controller_utils.go:43] Updating replica count for rc: router-1, 1->1 (need 1), sequence No: 2->2\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.154490       1 replication_controller.go:453] Failed to update replica count for controller router-1, requeuing\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.154512       1 replication_controller.go:404] Finished syncing controller \"default/router-1\" (10.592936ms)\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.154566       1 replication_controller_utils.go:43] Updating replica count for rc: router-1, 0->1 (need 1), sequence No: 0->2\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.174807       1 replication_controller_utils.go:43] Updating replica count for rc: router-1, 1->1 (need 1), sequence No: 2->2\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.178404       1 replication_controller.go:453] Failed to update replica count for controller router-1, requeuing\r\nNov 02 11:45:32 ose3-atomic.example.com docker[2686]: I1102 16:45:32.178431       1 replication_controller.go:404] Finished syncing controller \"default/router-1\" (23.907495ms)\r\n```\r\n\r\nComplete logs from cluster creation to failure http://sdodson.fedorapeople.org/containerized-install.log.gz"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/153481692","html_url":"https://github.com/openshift/origin/issues/5586#issuecomment-153481692","issue_url":"https://api.github.com/repos/openshift/origin/issues/5586","id":153481692,"user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T20:42:00Z","updated_at":"2015-11-03T20:42:00Z","body":"If this is an upgrade (I assume it is), have you run `oadm policy reconcile-cluster-roles --confirm`? `update replicationcontrollers/status` is new in 3.1"}}