nil pointer dereference in pkg/client/transport/round_trippers.go:92 on oauth failure #30790
Labels
area/apiserver
priority/backlog
Higher priority than priority/awaiting-more-evidence.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
Milestone
On Wed, Aug 17, 2016 at 6:27 AM, Nacho Coloma icoloma@google.com wrote:
Right now I am working with the tutorial from Kelsey, which deploys fine, but after creating the Federation Control Plane (controller-manager and apiserver deployed) I cannot create the clusters in the Federation Server. The Controller Manager shows an error in the logs.
kubectl --namespace=federation create secret generic icoloma-eu --from-file=kubeconfigs/icoloma-eu/kubeconfig
kubectl --context=federation-cluster create -f clusters/icoloma-eu.yaml
The cluster is created but never shows ready. The controller logs shows a NPE:
Recovered from panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:58
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:51
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:41
/usr/local/go/src/runtime/asm_amd64.s:472
/usr/local/go/src/runtime/panic.go:443
/usr/local/go/src/runtime/panic.go:62
/usr/local/go/src/runtime/sigpanic_unix.go:24
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/unversioned/clientcmd/config.go:342
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/plugin/pkg/client/auth/gcp/gcp.go:101
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/golang.org/x/oauth2/transport.go:40
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/transport/round_trippers.go:92
I was reviewing config.go, but could not find what the error message is about. I have tried with different versions of the Federation API server (from v1.3.4 to v1.3.6-beta.0), and tried recreating the cluster several times now, in case I did something wrong.
I have been battling with this for two days. Any help would be super welcome.
The text was updated successfully, but these errors were encountered: