Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

multi-node/generic/: Unexpected error configuring flannel pod network on VPS #897

Open
Outstep opened this issue Jul 15, 2017 · 0 comments

Comments

@Outstep
Copy link

Outstep commented Jul 15, 2017

Greetings All,

I have just set up a 3-node CoreOS cluster and wanted to install using:

coreos-kubernetes/multi-node/generic/

for the controller-install.sh


core@US-NY-01 ~ $ sudo ./controller-install.sh
TEMPLATE: /etc/systemd/system/kubelet.service
TEMPLATE: /opt/bin/host-rkt
TEMPLATE: /etc/kubernetes/manifests/kube-proxy.yaml
TEMPLATE: /etc/kubernetes/manifests/kube-apiserver.yaml
TEMPLATE: /etc/kubernetes/manifests/kube-controller-manager.yaml
TEMPLATE: /etc/kubernetes/manifests/kube-scheduler.yaml
TEMPLATE: /srv/kubernetes/manifests/kube-dns-de.yaml
TEMPLATE: /srv/kubernetes/manifests/kube-dns-autoscaler-de.yaml
TEMPLATE: /srv/kubernetes/manifests/kube-dns-svc.yaml
TEMPLATE: /srv/kubernetes/manifests/heapster-de.yaml
TEMPLATE: /srv/kubernetes/manifests/heapster-svc.yaml
TEMPLATE: /srv/kubernetes/manifests/kube-dashboard-de.yaml
TEMPLATE: /srv/kubernetes/manifests/kube-dashboard-svc.yaml
TEMPLATE: /etc/flannel/options.env
TEMPLATE: /etc/systemd/system/flanneld.service.d/40-ExecStartPre-symlink.conf.conf
TEMPLATE: /etc/systemd/system/docker.service.d/40-flannel.conf
TEMPLATE: /etc/kubernetes/cni/docker_opts_cni.env
TEMPLATE: /etc/kubernetes/cni/net.d/10-flannel.conf
Waiting for etcd...
Trying: 216.x.x.x (hidden)
Trying: 185.x.x.x (hidden)
**Unexpected error configuring flannel pod network:

<title>405 Method Not Allowed</title>

Method Not Allowed

The requested method PUT is not allowed for the URL /v2/keys/coreos.com/network/config.

** Created symlink /etc/systemd/system/update-engine.service → /dev/null. Created symlink /etc/systemd/system/multi-user.target.wants/flanneld.service → /usr/lib/systemd/system/flanneld.service. ------------------------------------------------

I can see from above that there is an error with flannel pod but I do not know how to resolve it so that the script will run.

I have also already set up the /etc/kubernetes/ssl *.pem files which needed to be done first on the controller node and have not yet done anything but the basic CoreOS install on the worker nodes.

Has someone run across this and how might I fix it?

Thanks,
Lonnie

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants