Open hharnisc opened 8 years ago
Hey @hharnisc, try to stop localkube and remove all containers with spread cluster stop -r
and then restart with spread cluster start
- let me know if that fixes it.
@mfburnett still no luck
$ spread cluster stop -r
Stopping container '5a1e299c3124b361b895f1279f612f1174f7c5e2e9b5287a8ae077b12708f803'
Removing container '5a1e299c3124b361b895f1279f612f1174f7c5e2e9b5287a8ae077b12708f803'
then starting it
$ spread cluster start
Creating localkube container...
Starting localkube container...
then checking the cluster
$ kubectl cluster-info
The connection to the server 192.168.99.100:8080 was refused - did you specify the right host or port?
Looking at that log it looks like etcd is having a bad time. Potentially blowing up here: https://github.com/coreos/etcd/blob/master/wal/wal.go#L271
@mfburnett @ethernetdan does localkube cache anything on the host filesystem?
rm -rf ~/.localkube
seems to have got me unstuck. I wish I would have thought to keep of copy of data in there so you could use it to debug. If it happens again I'll be sure to include it.
@hharnisc hm glad you got unstuck, thanks for documenting it!
It also happened to me under Turnkey Linux 14.1 but fortunately below worked. Thanks @mfburnett
spread cluster stop -r
spread cluster start
It's unclear how I got in this state, but I'm not able to start up a localkube cluster.
I've tried stoping/starting the cluster, removing all images and containers, re-creating a docker machine, and even going as far as re-installing docker.
The container seems to continuously restart
When I grab the container logs (
docker log 5a1e299c3124
) I get the following: