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 not getting installed #109

Closed
livespotty opened this issue Dec 10, 2019 · 3 comments
Closed

calico not getting installed #109

livespotty opened this issue Dec 10, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@livespotty
Copy link

I get the following error after enabling calico

calico_version = "3.9"

install_calico = true

==========Error=============
module.oke.null_resource.install_calico[0] (remote-exec): unable to recognize "calico-policy-only.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused
==========Error=============

I do not see calico; Here is the get pods output.

NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system kube-dns-autoscaler-7c97bb6dfb-w9tpd 1/1 Running 0 24m
kube-system kube-dns-bdb5cb4bd-9rfdk 3/3 Running 0 17m
kube-system kube-dns-bdb5cb4bd-gjg75 3/3 Running 0 17m
kube-system kube-dns-bdb5cb4bd-t9nml 3/3 Running 0 24m
kube-system kube-flannel-ds-2hzcr 1/1 Running 1 17m
kube-system kube-flannel-ds-bscwq 1/1 Running 1 17m
kube-system kube-flannel-ds-tntk4 1/1 Running 1 17m
kube-system kube-proxy-58s86 1/1 Running 0 17m
kube-system kube-proxy-cx86z 1/1 Running 0 17m
kube-system kube-proxy-dblh4 1/1 Running 0 17m
kube-system kubernetes-dashboard-768d48d6c9-xfjjr 1/1 Running 0 24m
kube-system proxymux-client-10.0.64.2 1/1 Running 0 17m
kube-system proxymux-client-10.0.64.3 1/1 Running 0 17m
kube-system proxymux-client-10.0.64.4 1/1 Running 0 17m

@livespotty
Copy link
Author

Found out the root cause of this issue.
Admin node did not have copy of kubeconfig in $HOME/.kube that was causing this problem.

@hyder
Copy link
Contributor

hyder commented Dec 18, 2019

That's odd, let me check the dependencies. It is possible that because of the switch to run this on the admin node, the explicit dependencies got messed up.

@livespotty
Copy link
Author

This problem was caused by #110, hence closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants