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": []
-
Trying to add tags to this thread but I did not find a way to do it.
-
@devops1 said in Error No2: Kubernetes (Kubespray) Issue.:
Trying to add tags to this thread but I did not find a way to do it.
Edit the original post. Tags are located below the post entry form itself.
-
K18s doesn't find the pem certificate under the given Path. Log into the machine and check it!