geerlingguy/raspberry-pi-dramble

Unable to successfully install Pi Dramble.

kleewyck opened this issue · 2 comments

I have been trying for several days to successfully install the pi Dramble on my cluster. After successfully configuring the network, and installing the ssh keys. I'm able to TCP ping all nodes by name kube[1-4] i can also Ansible Ping all nodes.

As my network is only a 192.168.1.0 network I had to update the network/templates/hosts.j2 file to read:

# Add an entry for each host in the cluster, using the loop index to map IPs #}
{% for host in groups['dramble'] %}
192.168.1.{{ 129 + loop.index }} kube{{ loop.index }} kube{{ loop.index }}.pidramble.com
{% endfor %}

That correctly generates the /etc/hosts file for my network.

However when I go to install the cluster it gets to the point where it tries to start the Kubernetes Master and it fails every time.

    [control-plane] Creating static Pod manifest for "kube-apiserver"
    [control-plane] Creating static Pod manifest for "kube-controller-manager"
    [control-plane] Creating static Pod manifest for "kube-scheduler"
    [etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
    [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
    [kubelet-check] Initial timeout of 40s passed.
  
            Unfortunately, an error has occurred:
                    timed out waiting for the condition
 

 When I watch the system I see a number processes starting up many containerd when I look the syslog however there's this message: 
Feb  9 13:09:48 kube1 kubelet[6358]: I0209 13:09:48.477650    6358 container_manager_linux.go:316] Creating device plugin manager: true
Feb  9 13:09:48 kube1 kubelet[6358]: I0209 13:09:48.478166    6358 client.go:77] Connecting to docker on unix:///var/run/docker.sock
Feb  9 13:09:48 kube1 kubelet[6358]: I0209 13:09:48.478211    6358 client.go:94] Start docker client with request timeout=2m0s
Feb  9 13:09:48 kube1 kubelet[6358]: F0209 13:09:48.479322    6358 server.go:265] failed to run Kubelet: failed to get docker version: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Fe

There's numerous failures in the syslog after that point. I've attached the syslog however it's massive.

If anyone has a clue I would be greatly appreciative.

syslog.log

stale commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale commented

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.