Comments (3)
More details (thanks @felipejfc):
0705 15:30:49.555514 90244 executor.go:70] Tasks: 0 done / 47 total; 22 can run
I0705 15:30:50.515797 90244 vfs_castore.go:314] Issuing new certificate: "kubelet"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x125cff]
goroutine 81 [running]:
panic(0x11a9400, 0xc8200141b0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
k8s.io/kops/upup/pkg/fi.(*ResourceHolder).Open(0x0, 0x0, 0x0, 0x0, 0x0)
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/resources.go:165 +0x7f
k8s.io/kops/upup/pkg/fi.CopyResource(0x26047f8, 0xc8207fef50, 0x3a01b10, 0x0, 0x0, 0x0, 0x0)
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/resources.go:67 +0x57
k8s.io/kops/upup/pkg/fi.ResourceAsString(0x3a01b10, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/resources.go:85 +0xab
k8s.io/kops/upup/pkg/fi.DebugPrint(0x12f2ca0, 0x0, 0x0, 0x0)
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/values.go:44 +0xdc
k8s.io/kops/upup/pkg/fi.BuildChanges(0x13f3f80, 0xc820377320, 0x13f3f80, 0xc8203de640, 0x13f3f80, 0xc820377380, 0x0)
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/changes.go:64 +0x5ba
k8s.io/kops/upup/pkg/fi.DefaultDeltaRunMethod(0x22c2a98, 0xc8203de640, 0xc820548120, 0x0, 0x0)
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/default_methods.go:32 +0x5e2
k8s.io/kops/upup/pkg/fi/cloudup/awstasks.(*SSHKey).Run(0xc8203de640, 0xc820548120, 0x0, 0x0)
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/cloudup/awstasks/sshkey.go:162 +0x35b
k8s.io/kops/upup/pkg/fi.(*executor).forkJoin.func1(0xc820510b00, 0x16, 0x16, 0xc8203ee5d0, 0xc820080048, 0xc820454a00, 0xa)
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/executor.go:141 +0x26c
created by k8s.io/kops/upup/pkg/fi.(*executor).forkJoin
/Users/felipecavalcanti/dev/go/src/k8s.io/kops/upup/pkg/fi/executor.go:142 +0x160
both keys are 2048bit RSA keys
one works and the other do not
from kops.
@justinsb I figured it out, the problem was, I first created a cluster with key A, then I deleted it and then I tried to create a cluster with the same name using custom key B, and then it failed with this error:
I0705 15:52:16.181515 93374 sshkey.go:77] Computed SSH key fingerprint mismatch: "xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" "yy:yy:y:yy:yy:yy:yy:yy:yy:yy:yy:yy:yy:yy:yy:yy"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x125cff]
This error then occurs if one key already exists on AWS and then you try to create a cluster with the same name with another key...
from kops.
Thanks for the info @felipejfc . No matter what we should never panic, and these details do help track down the less common cases!
from kops.
Related Issues (20)
- dns-controller fails to update Route 53 zones after upgrading kOps from 1.29.0 to 1.30.0-beta.1 HOT 4
- cluster-autoscaler: priority-expander sort order always changing
- need help on getting my node join my cluster using kops HOT 3
- Add custom permission on cert-manager addon HOT 1
- Kops 1.29 with AWS CNI Networking not working in restricted AWS accounts
- Core DNS is not Zone Aware
- no bug found so far, perfect HOT 2
- Installation fails on GCE + RHEL or Rocky Linux HOT 1
- ebs-csi-node-sa missing permissions
- ebs-csi crashing HOT 1
- Kops not creating any instances when creating a cluster on AWS HOT 1
- Kops cluster upgrade from 1.27 to 1.29 create new NLB, Targetgroup and AutoscalingGroup in AWS and also updated new information in old targetgroup
- Provisioing m7i.large instances in us-east-1 reverting to old instance type HOT 1
- Having an issue with my test cluster , my cluster was delete by mistake and iam trying to recreate my cluster back
- Update to new etcd-manager image HOT 1
- AmazonVPC CNI broken in Kops
- Allow to define resources for miscellaneous addons
- kOps leave connections open in OpenStack when rebooting instance HOT 1
- Restricting kms permissions
- Dependency loop between cert-manager-webhook and AWS load balancer controller
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kops.