Trying to add tags to this thread but I did not find a way to do it.
Posts made by devops1
-
RE: Error No2: Kubernetes (Kubespray) Issue.
-
Error No2: Kubernetes (Kubespray) Issue.
This is a different error I am facing in a row while Installing kubernetes with Kubespray. I have 2masters and 2 workers and this failed message only occurring on master number 2 but not on any other. In my inventory I have given only 3 nodes for etcd whichever node is mentioned under [etcd] is not showing any error except this node(Master2) which is not under [etcd] in the inventory file.
fatal: [kube-master02]: FAILED! => { "changed": false, "cmd": [ "openssl", "x509", "-in", "/etc/ssl/etcd/ssl/node-kube-master02.pem", "-noout", "-serial" ], "delta": "0:00:00.015051", "end": "2018-11-13 21:23:37.245266", "invocation": { "module_args": { "_raw_params": "openssl x509 -in /etc/ssl/etcd/ssl/node-kube-master02.pem -noout -serial", "_uses_shell": false, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "warn": true } }, "msg": "non-zero return code", "rc": 1, "start": "2018-11-13 21:23:37.230215", "stderr": "Error opening Certificate /etc/ssl/etcd/ssl/node-kube-master02.pem\n140249322252192:error:02001002:system library:fopen:No such file or directory:bss_file.c:402:fopen('/etc/ssl/etcd/ssl/node-kube-master02.pem','r')\n140249322252192:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404:\nunable to load certificate", "stderr_lines": [ "Error opening Certificate /etc/ssl/etcd/ssl/node-kube-master02.pem", "140249322252192:error:02001002:system library:fopen:No such file or directory:bss_file.c:402:fopen('/etc/ssl/etcd/ssl/node-kube-master02.pem','r')", "140249322252192:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404:", "unable to load certificate" ], "stdout": "", "stdout_lines": []
-
RE: Kubernetes (Kubespray) Issue.
@stacksofplates Thank you very much It works.
-
RE: Kubernetes (Kubespray) Issue.
@DustinB3403
Yes, I checked the path and /usr/bin/docker and it is there. /usr/bin/docker - where docker is not a directory but seems like a Binary file.I did not understood this part in your comment - (are you able to manually create the directory using /usr/bin/docker create --name etcdctl-binarycopy quay.io/coreos/etcd:v3.2.24) .
What do you want me to create exactly?
-
RE: Kubernetes (Kubespray) Issue.
@flaxking We are downloading all the images and putting up everything in the J frog artifactory and creating the repos in /etc/yum.repos which is pointing to the J frog artifactory where all our yum repos and etc will be located.
So, manually download the image and set it up to the J frog ?
-
RE: Kubernetes (Kubespray) Issue.
@flaxking So, If I am behind the proxy how to solve this error? Pulling the docker image directly will knock out this error?
-
RE: Kubernetes (Kubespray) Issue.
@flaxking
I am behind a proxy. I did not try to pull directly from docker but I will do it and update it. Thanks for the response. -
Kubernetes (Kubespray) Issue.
Hello,
I am trying to set up Kubernetes cluster using Kubespray but on the halfway installation the playbook exit out with this error. I appreciate If I get any valuable inputs. Thanksfatal: [minion01]: FAILED! => { "attempts": 2, "changed": false, "cmd": [ "sh", "-c", "/usr/bin/docker rm -f etcdctl-binarycopy; /usr/bin/docker create --name etcdctl-binarycopy quay.io/coreos/etcd:v3.2.24 && /usr/bin/docker cp etcdctl-binarycopy:/usr/local/bin/etcdctl /usr/local/bin/etcdctl && /usr/bin/docker rm -f etcdctl-binarycopy" ], "delta": "0:00:15.312319", "end": "2018-11-12 17:36:21.077510", "invocation": { "module_args": { "_raw_params": "sh -c \"/usr/bin/docker rm -f etcdctl-binarycopy; /usr/bin/docker create --name etcdctl-binarycopy quay.io/coreos/etcd:v3.2.24 && /usr/bin/docker cp etcdctl-binarycopy:/usr/local/bin/etcdctl /usr/local/bin/etcdctl && /usr/bin/docker rm -f etcdctl-binarycopy\"", "_uses_shell": false, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "warn": true } }, "msg": "non-zero return code", "rc": 1, "start": "2018-11-12 17:36:05.765191", ****"stderr": "Error: No such container: etcdctl-binarycopy\nUnable to find image 'quay.io/coreos/etcd:v3.2.24' locally\nError response from daemon: Get https://quay.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)",**** "stderr_lines": [ "Error: No such container: etcdctl-binarycopy", "Unable to find image 'quay.io/coreos/etcd:v3.2.24' locally", "Error response from daemon: Get https://quay.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" ], "stdout": "", "stdout_lines": []