diff --git a/cmd/integration/integration.go b/cmd/integration/integration.go index cfadc7292e4..6b7b31c8370 100644 --- a/cmd/integration/integration.go +++ b/cmd/integration/integration.go @@ -934,9 +934,9 @@ func runSchedulerNoPhantomPodsTest(client *client.Client) { } if err := wait.Poll(time.Second, time.Second*60, podRunning(client, baz.Namespace, baz.Name)); err != nil { if pod, perr := client.Pods(api.NamespaceDefault).Get("phantom.bar"); perr == nil { - glog.Fatalf("FAILED: 'phantom.bar' was never deleted: %#v", pod) + glog.Fatalf("FAILED: 'phantom.bar' was never deleted: %#v, err: %v", pod, err) } else { - glog.Fatalf("FAILED: (Scheduler probably didn't process deletion of 'phantom.bar') Pod never started running: %v", err) + glog.Fatalf("FAILED: (Scheduler probably didn't process deletion of 'phantom.bar') Pod never started running: err: %v, perr: %v", err, perr) } } diff --git a/cmd/kube-apiserver/app/server.go b/cmd/kube-apiserver/app/server.go index 454ec6837e5..a761267c58d 100644 --- a/cmd/kube-apiserver/app/server.go +++ b/cmd/kube-apiserver/app/server.go @@ -598,7 +598,7 @@ func (s *APIServer) getRuntimeConfigValue(apiKey string, defaultValue bool) bool } boolValue, err := strconv.ParseBool(flagValue) if err != nil { - glog.Fatalf("Invalid value of %s: %s", apiKey, flagValue) + glog.Fatalf("Invalid value of %s: %s, err: %v", apiKey, flagValue, err) } return boolValue } diff --git a/pkg/kubectl/sorting_printer.go b/pkg/kubectl/sorting_printer.go index 6b2cb7d687b..802e9a81432 100644 --- a/pkg/kubectl/sorting_printer.go +++ b/pkg/kubectl/sorting_printer.go @@ -130,7 +130,7 @@ func (r *RuntimeSort) Less(i, j int) bool { less, err := isLess(iField, jField) if err != nil { - glog.Fatalf("Field %s in %v is an unsortable type: %s", r.field, iObj, iField.Kind().String()) + glog.Fatalf("Field %s in %v is an unsortable type: %s, err: %v", r.field, iObj, iField.Kind().String(), err) } return less } diff --git a/plugin/pkg/scheduler/factory/plugins.go b/plugin/pkg/scheduler/factory/plugins.go index 2df1193b346..272272cb8b7 100644 --- a/plugin/pkg/scheduler/factory/plugins.go +++ b/plugin/pkg/scheduler/factory/plugins.go @@ -285,7 +285,7 @@ func validatePredicateOrDie(predicate schedulerapi.PredicatePolicy) { numArgs++ } if numArgs != 1 { - glog.Fatalf("Exactly 1 predicate argument is required") + glog.Fatalf("Exactly 1 predicate argument is required, numArgs: %v", numArgs) } } }