ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Error No2: Kubernetes (Kubespray) Issue.

    IT Discussion
    3
    4
    519
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      devops1
      last edited by devops1

      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": []
      
      
      1 Reply Last reply Reply Quote 0
      • D
        devops1
        last edited by

        Trying to add tags to this thread but I did not find a way to do it.

        J 1 Reply Last reply Reply Quote 0
        • J
          JaredBusch @devops1
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • matteo nunziatiM
            matteo nunziati
            last edited by

            K18s doesn't find the pem certificate under the given Path. Log into the machine and check it!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post