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

Calico node failed to start #54220

Closed
khj809 opened this issue Oct 19, 2017 · 2 comments
Closed

Calico node failed to start #54220

khj809 opened this issue Oct 19, 2017 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.

Comments

@khj809
Copy link

khj809 commented Oct 19, 2017

Hi. I'm using kubernetes 1.8.1 and trying to make cluster with calico 2.6.2.
I configured everything same as doc says, but when I run kubeadm join on other machine, it keeps failing on running calico-node pod with CrashLoopBackOff status.
The first container (install-cni) of pod seems running well, and second container (calico-node) fails with following messages:

$ kubectl logs calico-node-zt9hd calico-node -n kube-system
Skipping datastore connection test
ERROR: Unable to access datastore to query node configuration
Terminating
Calico node failed to start

What am I doing wrong?

@k8s-github-robot k8s-github-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Oct 19, 2017
@cmluciano
Copy link

@kubernetes/sig-cluster-lifecycle-bugs

@k8s-ci-robot k8s-ci-robot added sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. kind/bug Categorizes issue or PR as related to a bug. labels Oct 19, 2017
@k8s-github-robot k8s-github-robot removed the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Oct 19, 2017
@luxas
Copy link
Member

luxas commented Oct 20, 2017

I think you need to pass --pod-network-cidr=192.168.0.0/16 as outlined in https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

If that doesn't work, reopen this issue in a Calico repository, this is not a Kubernetes issue.
Thanks!

@luxas luxas closed this as completed Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
Projects
None yet
Development

No branches or pull requests

5 participants