From 09701b4fa85f3ddb2f835e0b04c0482fd5bcfea9 Mon Sep 17 00:00:00 2001 From: Paul Morie Date: Tue, 3 Nov 2015 14:12:28 -0500 Subject: [PATCH] Surface replica count update errors in log --- pkg/controller/replication/replication_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/replication/replication_controller.go b/pkg/controller/replication/replication_controller.go index 1cbf4d705b4..f6c8ee5c224 100644 --- a/pkg/controller/replication/replication_controller.go +++ b/pkg/controller/replication/replication_controller.go @@ -451,7 +451,7 @@ func (rm *ReplicationManager) syncReplicationController(key string) error { if err := updateReplicaCount(rm.kubeClient.ReplicationControllers(rc.Namespace), rc, len(filteredPods)); err != nil { // Multiple things could lead to this update failing. Requeuing the controller ensures // we retry with some fairness. - glog.V(2).Infof("Failed to update replica count for controller %v, requeuing", rc.Name) + glog.V(2).Infof("Failed to update replica count for controller %v/%v; requeuing; error: %v", rc.Namespace, rc.Name, err) rm.enqueueController(&rc) } return nil