kubefire: Failed to establish a connection with cluster after creation
It was working just fine but after my computer lost power while I had a cluster running I am unable to start subsequent clusters.
➜ ~ kubefire cluster create --bootstrapper=kubeadm demo
INFO[2020-08-03T14:29:06+02:00] initializing cluster configuration cluster=demo
INFO[2020-08-03T14:29:06+02:00] saving cluster configurations cluster=demo
INFO[2020-08-03T14:29:06+02:00] creating cluster (demo)
INFO[2020-08-03T14:29:06+02:00] creating master nodes of cluster (demo)
INFO[2020-08-03T14:29:06+02:00] creating node (demo-master-1)
[sudo] password for rugwiro:
INFO[0015] Created VM with ID "fcff98a0b99793bb" and name "demo-master-1"
INFO[0028] Networking is handled by "cni"
INFO[0028] Started Firecracker VM "fcff98a0b99793bb" in a container with ID "ignite-fcff98a0b99793bb"
INFO[2020-08-03T14:29:45+02:00] waiting nodes of cluster (demo) are running
INFO[2020-08-03T14:29:45+02:00] initializing cluster (demo)
INFO[2020-08-03T14:29:45+02:00] waiting all nodes initialization finished
INFO[2020-08-03T14:29:47+02:00] bootstrapping the first master node (demo-master-1)
Usage:
............
FATA[2020-08-03T14:29:47+02:00] failed to run kubefire error="failed to deploy cluster (demo): dial tcp :22: connect: connection refused"
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 27 (15 by maintainers)
I believe something messed up in the below directories managed by ignite when you encountered power off.
It will be better to find the steps to reproduce, then report the issue to ignite project.
Yes
I think it’s working, I’m it’s currently running kubeadm
Old ignite version?
System info
The logs
Thanks! But, (please help pull the latest code again
af3ebf1)kubefire cluster createwith--log-level=debug.sudo ignite psandsudo ignite inspect <vm name like hulk-master-1 in your case>to provide the output log as I mentioned before.The nil should be fine, it’s more about the field not filling. This is a bug but it’s not related to the issue you encountered.