Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to provision a node capi-kubeadm-control-plane-controller #2613

Closed
Xenwar opened this issue Mar 10, 2020 · 6 comments · Fixed by #2616
Closed

unable to provision a node capi-kubeadm-control-plane-controller #2613

Xenwar opened this issue Mar 10, 2020 · 6 comments · Fixed by #2616
Assignees
Labels
area/control-plane Issues or PRs related to control-plane lifecycle management kind/bug Categorizes issue or PR as related to a bug. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor.

Comments

@Xenwar
Copy link

Xenwar commented Mar 10, 2020

What steps did you take and what happened:
Deploy a control plane node

What did you expect to happen:
A control plane node be deployed successfully.

Anything else you would like to add:
[Edit]
Only the following issue is to be fixed.

Provisioning fails due to runtime error: invalid memory address or nil pointer dereference

Environment:

  • Cluster-api version: v1alpha3

/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Mar 10, 2020
@Xenwar
Copy link
Author

Xenwar commented Mar 10, 2020

 kubectl logs -n capi-webhook-system capi-kubeadm-control-plane-controller-manager-777fc96489-gqknw -c manager 


airshipci@airship-ci-ubuntu-metal3-img-e47ccd5d3e:~/metal3-dev-env$  kubectl logs -n capi-webhook-system capi-kubeadm-control-plane-controller-manager-777fc96489-gqknw -c manager 
I0310 08:43:47.443444       1 listener.go:40] controller-runtime/metrics "msg"="metrics server is starting to listen"  "addr"="127.0.0.1:8080"
I0310 08:43:47.444068       1 webhook.go:102] controller-runtime/builder "msg"="Registering a mutating webhook"  "GVK"={"Group":"controlplane.cluster.x-k8s.io","Version":"v1alpha3","Kind":"KubeadmControlPlane"} "path"="/mutate-controlplane-cluster-x-k8s-io-v1alpha3-kubeadmcontrolplane"
I0310 08:43:47.444109       1 server.go:115] controller-runtime/webhook "msg"="registering webhook"  "path"="/mutate-controlplane-cluster-x-k8s-io-v1alpha3-kubeadmcontrolplane"
I0310 08:43:47.444304       1 webhook.go:123] controller-runtime/builder "msg"="Registering a validating webhook"  "GVK"={"Group":"controlplane.cluster.x-k8s.io","Version":"v1alpha3","Kind":"KubeadmControlPlane"} "path"="/validate-controlplane-cluster-x-k8s-io-v1alpha3-kubeadmcontrolplane"
I0310 08:43:47.444600       1 server.go:115] controller-runtime/webhook "msg"="registering webhook"  "path"="/validate-controlplane-cluster-x-k8s-io-v1alpha3-kubeadmcontrolplane"
I0310 08:43:47.444692       1 main.go:119] setup "msg"="starting manager"  
I0310 08:43:47.446148       1 server.go:135] controller-runtime/webhook/webhooks "msg"="starting webhook server"  
I0310 08:43:47.447421       1 certwatcher.go:127] controller-runtime/certwatcher "msg"="Updated current TLS certificate"  
I0310 08:43:47.448196       1 server.go:176] controller-runtime/webhook "msg"="serving webhook server"  "host"="" "port"=9443
I0310 08:43:47.449035       1 internal.go:356] controller-runtime/manager "msg"="starting metrics server"  "path"="/metrics"
I0310 08:43:47.449466       1 certwatcher.go:83] controller-runtime/certwatcher "msg"="Starting certificate watcher"  
2020-03-10 09:04:19.668437 I | http: panic serving 192.168.111.44:51542: runtime error: invalid memory address or nil pointer dereference
goroutine 194 [running]:
net/http.(*conn).serve.func1(0xc00052a000)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234000, 0xc000234280, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234000, 0x1aa1880, 0xc000234280, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000417c40, 0xc00052e480, 0x24, 0xc0004b5760, 0x1d, 0xc0003cb090, 0x8, 0xc0004b5780, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000417c40, 0xc00052e480, 0x24, 0xc0004b5760, 0x1d, 0xc0003cb090, 0x8, 0xc0004b5780, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca460, 0xc0001eb100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca460, 0xc0001eb100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca460, 0xc0001eb100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca460, 0xc0001eb100)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca460, 0xc0001eb100)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a000, 0x1ad0180, 0xc00021e000)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.688276 I | http: panic serving 192.168.123.45:46360: runtime error: invalid memory address or nil pointer dereference
goroutine 192 [running]:
net/http.(*conn).serve.func1(0xc00011f0e0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0000c4c80, 0xc0000c5b80, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0000c4c80, 0x1aa1880, 0xc0000c5b80, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004163c0, 0xc0000a80c0, 0x24, 0xc0004144e0, 0x1d, 0xc0000560b8, 0x8, 0xc000414580, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004163c0, 0xc0000a80c0, 0x24, 0xc0004144e0, 0x1d, 0xc0000560b8, 0x8, 0xc000414580, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8000, 0xc0000f0300)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8000, 0xc0000f0300)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8000, 0xc0000f0300)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8000, 0xc0000f0300)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8000, 0xc0000f0300)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011f0e0, 0x1ad0180, 0xc000417dc0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.713387 I | http: panic serving 192.168.111.44:51616: runtime error: invalid memory address or nil pointer dereference
goroutine 210 [running]:
net/http.(*conn).serve.func1(0xc00011e1e0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011a780, 0xc00011aa00, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011a780, 0x1aa1880, 0xc00011aa00, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004174c0, 0xc0003b8900, 0x24, 0xc0000444a0, 0x1d, 0xc000570280, 0x8, 0xc000044520, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004174c0, 0xc0003b8900, 0x24, 0xc0000444a0, 0x1d, 0xc000570280, 0x8, 0xc000044520, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a82a0, 0xc0000f0e00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a82a0, 0xc0000f0e00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a82a0, 0xc0000f0e00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a82a0, 0xc0000f0e00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a82a0, 0xc0000f0e00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011e1e0, 0x1ad0180, 0xc000416dc0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.727960 I | http: panic serving 192.168.123.45:46364: runtime error: invalid memory address or nil pointer dereference
goroutine 199 [running]:
net/http.(*conn).serve.func1(0xc00052ac80)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011af00, 0xc00011b180, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011af00, 0x1aa1880, 0xc00011b180, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000417b80, 0xc0003b9bc0, 0x24, 0xc0004b4b20, 0x1d, 0xc0003cb240, 0x8, 0xc0004b4b40, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000417b80, 0xc0003b9bc0, 0x24, 0xc0004b4b20, 0x1d, 0xc0003cb240, 0x8, 0xc0004b4b40, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8620, 0xc0000f1500)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8620, 0xc0000f1500)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8620, 0xc0000f1500)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8620, 0xc0000f1500)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8620, 0xc0000f1500)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052ac80, 0x1ad0180, 0xc0004176c0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.757767 I | http: panic serving 192.168.111.44:51620: runtime error: invalid memory address or nil pointer dereference
goroutine 211 [running]:
net/http.(*conn).serve.func1(0xc00011e8c0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234000, 0xc000234280, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234000, 0x1aa1880, 0xc000234280, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc00021e080, 0xc0003ff7a0, 0x24, 0xc000568dc0, 0x1d, 0xc000343380, 0x8, 0xc000568de0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc00021e080, 0xc0003ff7a0, 0x24, 0xc000568dc0, 0x1d, 0xc000343380, 0x8, 0xc000568de0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca0e0, 0xc0001ea700)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca0e0, 0xc0001ea700)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca0e0, 0xc0001ea700)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca0e0, 0xc0001ea700)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca0e0, 0xc0001ea700)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011e8c0, 0x1ad0180, 0xc000417d00)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.771151 I | http: panic serving 192.168.123.45:46368: runtime error: invalid memory address or nil pointer dereference
goroutine 203 [running]:
net/http.(*conn).serve.func1(0xc00052b720)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234c80, 0xc000235680, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234c80, 0x1aa1880, 0xc000235680, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc00021eb80, 0xc0003ffce0, 0x24, 0xc000569ac0, 0x1d, 0xc0005d6450, 0x8, 0xc000569ae0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc00021eb80, 0xc0003ffce0, 0x24, 0xc000569ac0, 0x1d, 0xc0005d6450, 0x8, 0xc000569ae0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca1c0, 0xc0001ead00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca1c0, 0xc0001ead00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca1c0, 0xc0001ead00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca1c0, 0xc0001ead00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca1c0, 0xc0001ead00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052b720, 0x1ad0180, 0xc0000878c0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.852903 I | http: panic serving 192.168.111.44:51624: runtime error: invalid memory address or nil pointer dereference
goroutine 214 [running]:
net/http.(*conn).serve.func1(0xc00011f400)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011b900, 0xc00011bb80, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011b900, 0x1aa1880, 0xc00011bb80, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004d0300, 0xc0004699b0, 0x24, 0xc000633740, 0x1d, 0xc00068aff0, 0x8, 0xc000633760, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004d0300, 0xc0004699b0, 0x24, 0xc000633740, 0x1d, 0xc00068aff0, 0x8, 0xc000633760, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a88c0, 0xc00070e100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a88c0, 0xc00070e100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a88c0, 0xc00070e100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a88c0, 0xc00070e100)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a88c0, 0xc00070e100)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011f400, 0x1ad0180, 0xc00021f4c0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.868678 I | http: panic serving 192.168.123.45:46372: runtime error: invalid memory address or nil pointer dereference
goroutine 216 [running]:
net/http.(*conn).serve.func1(0xc00052a000)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0000c5b80, 0xc00011a500, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0000c5b80, 0x1aa1880, 0xc00011a500, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000087380, 0xc0003b8cf0, 0x24, 0xc0004b5bc0, 0x1d, 0xc0005d7520, 0x8, 0xc0004b5be0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000087380, 0xc0003b8cf0, 0x24, 0xc0004b5bc0, 0x1d, 0xc0005d7520, 0x8, 0xc0004b5be0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a80e0, 0xc0001ea600)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a80e0, 0xc0001ea600)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a80e0, 0xc0001ea600)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a80e0, 0xc0001ea600)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a80e0, 0xc0001ea600)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a000, 0x1ad0180, 0xc00021e000)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.941887 I | http: panic serving 192.168.111.44:51630: runtime error: invalid memory address or nil pointer dereference
goroutine 219 [running]:
net/http.(*conn).serve.func1(0xc00052a8c0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011aa00, 0xc00011ac80, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011aa00, 0x1aa1880, 0xc00011ac80, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000416dc0, 0xc0003b9f50, 0x24, 0xc0002dacc0, 0x1d, 0xc000403d38, 0x8, 0xc0002dad20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000416dc0, 0xc0003b9f50, 0x24, 0xc0002dacc0, 0x1d, 0xc000403d38, 0x8, 0xc0002dad20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8460, 0xc0001ead00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8460, 0xc0001ead00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8460, 0xc0001ead00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8460, 0xc0001ead00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8460, 0xc0001ead00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a8c0, 0x1ad0180, 0xc000087700)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:19.954456 I | http: panic serving 192.168.123.45:46378: runtime error: invalid memory address or nil pointer dereference
goroutine 222 [running]:
net/http.(*conn).serve.func1(0xc00052b360)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011b180, 0xc00011b400, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011b180, 0x1aa1880, 0xc00011b400, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004176c0, 0xc000468000, 0x24, 0xc000414a00, 0x1d, 0xc0003cbcf0, 0x8, 0xc000414a20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004176c0, 0xc000468000, 0x24, 0xc000414a00, 0x1d, 0xc0003cbcf0, 0x8, 0xc000414a20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8700, 0xc0001eb600)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8700, 0xc0001eb600)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8700, 0xc0001eb600)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8700, 0xc0001eb600)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8700, 0xc0001eb600)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052b360, 0x1ad0180, 0xc000417080)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:20.051061 I | http: panic serving 192.168.111.44:51634: runtime error: invalid memory address or nil pointer dereference
goroutine 206 [running]:
net/http.(*conn).serve.func1(0xc00011e1e0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234280, 0xc000234500, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234280, 0x1aa1880, 0xc000234500, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004d0600, 0xc000041a40, 0x24, 0xc000724600, 0x1d, 0xc000343770, 0x8, 0xc000724620, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004d0600, 0xc000041a40, 0x24, 0xc000724600, 0x1d, 0xc000343770, 0x8, 0xc000724620, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca1c0, 0xc0000f0a00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca1c0, 0xc0000f0a00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca1c0, 0xc0000f0a00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca1c0, 0xc0000f0a00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca1c0, 0xc0000f0a00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011e1e0, 0x1ad0180, 0xc0004d0000)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:20.068078 I | http: panic serving 192.168.123.45:46382: runtime error: invalid memory address or nil pointer dereference
goroutine 225 [running]:
net/http.(*conn).serve.func1(0xc00052b860)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234c80, 0xc000235680, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234c80, 0x1aa1880, 0xc000235680, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004d07c0, 0xc000041f50, 0x24, 0xc000725240, 0x1d, 0xc000056c20, 0x8, 0xc000725260, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004d07c0, 0xc000041f50, 0x24, 0xc000725240, 0x1d, 0xc000056c20, 0x8, 0xc000725260, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca540, 0xc0000f0d00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca540, 0xc0000f0d00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca540, 0xc0000f0d00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca540, 0xc0000f0d00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca540, 0xc0000f0d00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052b860, 0x1ad0180, 0xc0004178c0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:20.279564 I | http: panic serving 192.168.111.44:51642: runtime error: invalid memory address or nil pointer dereference
goroutine 227 [running]:
net/http.(*conn).serve.func1(0xc00052bd60)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0000c4c80, 0xc0000c5b80, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0000c4c80, 0x1aa1880, 0xc0000c5b80, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000087340, 0xc000040300, 0x24, 0xc0004144e0, 0x1d, 0xc0000560b8, 0x8, 0xc000414580, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000087340, 0xc000040300, 0x24, 0xc0004144e0, 0x1d, 0xc0000560b8, 0x8, 0xc000414580, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8000, 0xc0001ea200)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8000, 0xc0001ea200)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8000, 0xc0001ea200)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8000, 0xc0001ea200)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8000, 0xc0001ea200)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052bd60, 0x1ad0180, 0xc0004d0980)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:20.295391 I | http: panic serving 192.168.123.45:46390: runtime error: invalid memory address or nil pointer dereference
goroutine 229 [running]:
net/http.(*conn).serve.func1(0xc00052a3c0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011a780, 0xc00011aa00, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011a780, 0x1aa1880, 0xc00011aa00, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc00021e180, 0xc000041950, 0x24, 0xc000569aa0, 0x1d, 0xc0004542a0, 0x8, 0xc000569ac0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc00021e180, 0xc000041950, 0x24, 0xc000569aa0, 0x1d, 0xc0004542a0, 0x8, 0xc000569ac0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a82a0, 0xc0001eac00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a82a0, 0xc0001eac00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a82a0, 0xc0001eac00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a82a0, 0xc0001eac00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a82a0, 0xc0001eac00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a3c0, 0x1ad0180, 0xc0000876c0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:20.644028 I | http: panic serving 192.168.111.44:51648: runtime error: invalid memory address or nil pointer dereference
goroutine 232 [running]:
net/http.(*conn).serve.func1(0xc00052b040)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011af00, 0xc00011b180, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011af00, 0x1aa1880, 0xc00011b180, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000416dc0, 0xc0003ff9b0, 0x24, 0xc000442aa0, 0x1d, 0xc0003cac10, 0x8, 0xc000442ac0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000416dc0, 0xc0003ff9b0, 0x24, 0xc000442aa0, 0x1d, 0xc0003cac10, 0x8, 0xc000442ac0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8620, 0xc0001eb300)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8620, 0xc0001eb300)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8620, 0xc0001eb300)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8620, 0xc0001eb300)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8620, 0xc0001eb300)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052b040, 0x1ad0180, 0xc00021f0c0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:20.660140 I | http: panic serving 192.168.123.45:46396: runtime error: invalid memory address or nil pointer dereference
goroutine 235 [running]:
net/http.(*conn).serve.func1(0xc00052b5e0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234000, 0xc000234280, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234000, 0x1aa1880, 0xc000234280, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004d0040, 0xc000468000, 0x24, 0xc0006a80a0, 0x1d, 0xc00068a058, 0x8, 0xc0006a80c0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004d0040, 0xc000468000, 0x24, 0xc0006a80a0, 0x1d, 0xc00068a058, 0x8, 0xc0006a80c0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca0e0, 0xc00070e100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca0e0, 0xc00070e100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca0e0, 0xc00070e100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca0e0, 0xc00070e100)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca0e0, 0xc00070e100)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052b5e0, 0x1ad0180, 0xc000417080)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:21.338961 I | http: panic serving 192.168.111.44:51656: runtime error: invalid memory address or nil pointer dereference
goroutine 244 [running]:
net/http.(*conn).serve.func1(0xc00011ed20)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234500, 0xc000234c80, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234500, 0x1aa1880, 0xc000234c80, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004d0240, 0xc000468510, 0x24, 0xc0006a8d00, 0x1d, 0xc00068aa98, 0x8, 0xc0006a8d20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004d0240, 0xc000468510, 0x24, 0xc0006a8d00, 0x1d, 0xc00068aa98, 0x8, 0xc0006a8d20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca1c0, 0xc00070e700)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca1c0, 0xc00070e700)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca1c0, 0xc00070e700)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca1c0, 0xc00070e700)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca1c0, 0xc00070e700)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011ed20, 0x1ad0180, 0xc000417680)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:21.356339 I | http: panic serving 192.168.123.45:46404: runtime error: invalid memory address or nil pointer dereference
goroutine 246 [running]:
net/http.(*conn).serve.func1(0xc00011f040)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0002b2280, 0xc0002b2500, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0002b2280, 0x1aa1880, 0xc0002b2500, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004d0840, 0xc0004696e0, 0x24, 0xc0006852a0, 0x1d, 0xc0006b89c0, 0x8, 0xc0006852c0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004d0840, 0xc0004696e0, 0x24, 0xc0006852a0, 0x1d, 0xc0006b89c0, 0x8, 0xc0006852c0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca540, 0xc00070f100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca540, 0xc00070f100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca540, 0xc00070f100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca540, 0xc00070f100)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca540, 0xc00070f100)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011f040, 0x1ad0180, 0xc0004d0400)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:22.691036 I | http: panic serving 192.168.111.44:51666: runtime error: invalid memory address or nil pointer dereference
goroutine 249 [running]:
net/http.(*conn).serve.func1(0xc00011e1e0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0000c4c80, 0xc0000c5b80, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0000c4c80, 0x1aa1880, 0xc0000c5b80, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000087340, 0xc000040300, 0x24, 0xc0006a80c0, 0x1d, 0xc000402180, 0x8, 0xc0006a80e0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000087340, 0xc000040300, 0x24, 0xc0006a80c0, 0x1d, 0xc000402180, 0x8, 0xc0006a80e0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8000, 0xc0001ea000)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8000, 0xc0001ea000)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8000, 0xc0001ea000)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8000, 0xc0001ea000)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8000, 0xc0001ea000)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011e1e0, 0x1ad0180, 0xc00021e080)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:22.710974 I | http: panic serving 192.168.123.45:46414: runtime error: invalid memory address or nil pointer dereference
goroutine 239 [running]:
net/http.(*conn).serve.func1(0xc00052a320)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0002b2a00, 0xc0002b2f00, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0002b2a00, 0x1aa1880, 0xc0002b2f00, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0000877c0, 0xc000040cc0, 0x24, 0xc0006a8d00, 0x1d, 0xc000402f20, 0x8, 0xc0006a8d20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0000877c0, 0xc000040cc0, 0x24, 0xc0006a8d00, 0x1d, 0xc000402f20, 0x8, 0xc0006a8d20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a80e0, 0xc0001ea400)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a80e0, 0xc0001ea400)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a80e0, 0xc0001ea400)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a80e0, 0xc0001ea400)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a80e0, 0xc0001ea400)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a320, 0x1ad0180, 0xc00021f640)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:25.317862 I | http: panic serving 192.168.111.44:51694: runtime error: invalid memory address or nil pointer dereference
goroutine 257 [running]:
net/http.(*conn).serve.func1(0xc00052a640)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234c80, 0xc000235680, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234c80, 0x1aa1880, 0xc000235680, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004d0740, 0xc000469440, 0x24, 0xc0005688e0, 0x1d, 0xc000342f00, 0x8, 0xc000568900, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004d0740, 0xc000469440, 0x24, 0xc0005688e0, 0x1d, 0xc000342f00, 0x8, 0xc000568900, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca620, 0xc00070fc00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca620, 0xc00070fc00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca620, 0xc00070fc00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca620, 0xc00070fc00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca620, 0xc00070fc00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a640, 0x1ad0180, 0xc0004d0280)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:25.336976 I | http: panic serving 192.168.123.45:46442: runtime error: invalid memory address or nil pointer dereference
goroutine 252 [running]:
net/http.(*conn).serve.func1(0xc00011f0e0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0002b3400, 0xc00011a500, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0002b3400, 0x1aa1880, 0xc00011a500, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004171c0, 0xc000041e60, 0x24, 0xc000684100, 0x1d, 0xc0006b9758, 0x8, 0xc000684120, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004171c0, 0xc000041e60, 0x24, 0xc000684100, 0x1d, 0xc0006b9758, 0x8, 0xc000684120, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8460, 0xc0001eae00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8460, 0xc0001eae00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8460, 0xc0001eae00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8460, 0xc0001eae00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8460, 0xc0001eae00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011f0e0, 0x1ad0180, 0xc000087d80)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:30.482597 I | http: panic serving 192.168.111.44:51738: runtime error: invalid memory address or nil pointer dereference
goroutine 260 [running]:
net/http.(*conn).serve.func1(0xc00052b2c0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011a780, 0xc00011aa00, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011a780, 0x1aa1880, 0xc00011aa00, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000417480, 0xc0003b83c0, 0x24, 0xc000684d40, 0x1d, 0xc0006ee180, 0x8, 0xc000684d60, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000417480, 0xc0003b83c0, 0x24, 0xc000684d40, 0x1d, 0xc0006ee180, 0x8, 0xc000684d60, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8620, 0xc0001eb100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8620, 0xc0001eb100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8620, 0xc0001eb100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8620, 0xc0001eb100)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8620, 0xc0001eb100)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052b2c0, 0x1ad0180, 0xc0004d0a40)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:30.517789 I | http: panic serving 192.168.123.45:46486: runtime error: invalid memory address or nil pointer dereference
goroutine 262 [running]:
net/http.(*conn).serve.func1(0xc00052b540)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0002b2500, 0xc0002b2a00, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0002b2500, 0x1aa1880, 0xc0002b2a00, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000417240, 0xc0004681e0, 0x24, 0xc0006a9260, 0x1d, 0xc0006911a0, 0x8, 0xc0006a9280, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000417240, 0xc0004681e0, 0x24, 0xc0006a9260, 0x1d, 0xc0006911a0, 0x8, 0xc0006a9280, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a80e0, 0xc0000f1100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a80e0, 0xc0000f1100)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a80e0, 0xc0000f1100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a80e0, 0xc0000f1100)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a80e0, 0xc0000f1100)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052b540, 0x1ad0180, 0xc000416380)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:40.791917 I | http: panic serving 192.168.111.44:51828: runtime error: invalid memory address or nil pointer dereference
goroutine 265 [running]:
net/http.(*conn).serve.func1(0xc00011ef00)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0002b3180, 0xc0002b3400, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0002b3180, 0x1aa1880, 0xc0002b3400, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0004179c0, 0xc000469380, 0x24, 0xc000568b40, 0x1d, 0xc000343528, 0x8, 0xc000568b60, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0004179c0, 0xc000469380, 0x24, 0xc000568b40, 0x1d, 0xc000343528, 0x8, 0xc000568b60, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8460, 0xc0000f1800)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8460, 0xc0000f1800)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8460, 0xc0000f1800)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8460, 0xc0000f1800)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8460, 0xc0000f1800)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011ef00, 0x1ad0180, 0xc000417480)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:04:40.808635 I | http: panic serving 192.168.123.45:46576: runtime error: invalid memory address or nil pointer dereference
goroutine 256 [running]:
net/http.(*conn).serve.func1(0xc00052a000)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0000c5b80, 0xc00011a500, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0000c5b80, 0x1aa1880, 0xc00011a500, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000417f80, 0xc000040c90, 0x24, 0xc000045040, 0x1d, 0xc000571830, 0x8, 0xc0000450c0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000417f80, 0xc000040c90, 0x24, 0xc000045040, 0x1d, 0xc000571830, 0x8, 0xc0000450c0, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8700, 0xc0000f1f00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8700, 0xc0000f1f00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8700, 0xc0000f1f00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8700, 0xc0000f1f00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8700, 0xc0000f1f00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a000, 0x1ad0180, 0xc000417b40)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:05:01.328183 I | http: panic serving 192.168.111.44:51996: runtime error: invalid memory address or nil pointer dereference
goroutine 273 [running]:
net/http.(*conn).serve.func1(0xc00052a140)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234280, 0xc000234500, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234280, 0x1aa1880, 0xc000234500, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc00021f680, 0xc0003b8d50, 0x24, 0xc00066de60, 0x1d, 0xc0006ef678, 0x8, 0xc00066de80, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc00021f680, 0xc0003b8d50, 0x24, 0xc00066de60, 0x1d, 0xc0006ef678, 0x8, 0xc00066de80, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca1c0, 0xc0005ee400)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca1c0, 0xc0005ee400)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca1c0, 0xc0005ee400)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca1c0, 0xc0005ee400)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca1c0, 0xc0005ee400)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a140, 0x1ad0180, 0xc00021e000)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:05:01.344180 I | http: panic serving 192.168.123.45:46744: runtime error: invalid memory address or nil pointer dereference
goroutine 270 [running]:
net/http.(*conn).serve.func1(0xc00011f900)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc00011aa00, 0xc00011ac80, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc00011aa00, 0x1aa1880, 0xc00011ac80, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc0006880c0, 0xc000041e30, 0x24, 0xc000678e60, 0x1d, 0xc0003cbc50, 0x8, 0xc000678e80, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc0006880c0, 0xc000041e30, 0x24, 0xc000678e60, 0x1d, 0xc0003cbc50, 0x8, 0xc000678e80, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a88c0, 0xc00070ec00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a88c0, 0xc00070ec00)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a88c0, 0xc00070ec00)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a88c0, 0xc00070ec00)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a88c0, 0xc00070ec00)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00011f900, 0x1ad0180, 0xc000087540)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:05:05.235186 I | http: panic serving 192.168.111.44:52030: runtime error: invalid memory address or nil pointer dereference
goroutine 289 [running]:
net/http.(*conn).serve.func1(0xc00052a000)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc0000c5b80, 0xc0002b2280, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc0000c5b80, 0x1aa1880, 0xc0002b2280, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc000417280, 0xc0000409f0, 0x24, 0xc000045b00, 0x1d, 0xc0003cb540, 0x8, 0xc000045b20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc000417280, 0xc0000409f0, 0x24, 0xc000045b00, 0x1d, 0xc0003cb540, 0x8, 0xc000045b20, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001ca1c0, 0xc0000f1800)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001ca1c0, 0xc0000f1800)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001ca1c0, 0xc0000f1800)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001ca1c0, 0xc0000f1800)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001ca1c0, 0xc0000f1800)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a000, 0x1ad0180, 0xc000416380)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
2020-03-10 09:05:05.247718 I | http: panic serving 192.168.123.45:46778: runtime error: invalid memory address or nil pointer dereference
goroutine 292 [running]:
net/http.(*conn).serve.func1(0xc00052a8c0)
	/usr/local/go/src/net/http/server.go:1767 +0x139
panic(0x167cac0, 0x26bae00)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).validateEtcd(0xc000234000, 0xc000234280, 0x0, 0x0, 0x8)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:233 +0x3e
sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1alpha3.(*KubeadmControlPlane).ValidateUpdate(0xc000234000, 0x1aa1880, 0xc000234280, 0x1000, 0x0)
	/workspace/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go:88 +0x2cf
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*validatingHandler).Handle(0xc0002d83c0, 0x1ad0180, 0xc00021e080, 0xc000468000, 0x24, 0xc0004144e0, 0x1d, 0xc000342a88, 0x8, 0xc000414580, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/validator.go:87 +0x71d
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).Handle(0xc0003bdbf0, 0x1ad0180, 0xc00021e080, 0xc000468000, 0x24, 0xc0004144e0, 0x1d, 0xc000342a88, 0x8, 0xc000414580, ...)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/webhook.go:135 +0xa7
sigs.k8s.io/controller-runtime/pkg/webhook/admission.(*Webhook).ServeHTTP(0xc0003bdbf0, 0x1acb2c0, 0xc0001a8000, 0xc00070e000)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/admission/http.go:87 +0xada
sigs.k8s.io/controller-runtime/pkg/webhook.instrumentedHook.func1(0x1acb2c0, 0xc0001a8000, 0xc00070e000)
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/webhook/server.go:123 +0xfc
net/http.HandlerFunc.ServeHTTP(0xc0003bdcb0, 0x1acb2c0, 0xc0001a8000, 0xc00070e000)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.(*ServeMux).ServeHTTP(0xc000087cc0, 0x1acb2c0, 0xc0001a8000, 0xc00070e000)
	/usr/local/go/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc0001a81c0, 0x1acb2c0, 0xc0001a8000, 0xc00070e000)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00052a8c0, 0x1ad0180, 0xc0004174c0)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2928 +0x384
airshipci@airship-ci-ubuntu-metal3-img-e47ccd5d3e:~/metal3-dev-env$ clear

@maelk
Copy link
Contributor

maelk commented Mar 10, 2020

We hit this problem also in the Metal3 CI. We have exactly the same trace in the CACPK webhook server.

@kashifest
Copy link
Contributor

I guess the problem is coming from here:

cd602ce#diff-d7a4119f467ae89beed82e2784fe2939R233

@maelk
Copy link
Contributor

maelk commented Mar 10, 2020

The actual issue is probably that we do not have a ClusterConfiguration in the CR

@detiber
Copy link
Member

detiber commented Mar 10, 2020

We probably should handle the nil pointer better, though

@ncdc
Copy link
Contributor

ncdc commented Mar 10, 2020

/assign
/lifecycle active

@k8s-ci-robot k8s-ci-robot added the lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. label Mar 10, 2020
@vincepri vincepri added area/control-plane Issues or PRs related to control-plane lifecycle management area/clusterctl Issues or PRs related to clusterctl and removed area/clusterctl Issues or PRs related to clusterctl labels Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Issues or PRs related to control-plane lifecycle management kind/bug Categorizes issue or PR as related to a bug. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants