eliu / openshift-vagrant

Bring up a real OKD cluster on your local machine using Vagrant and VirtualBox
Apache License 2.0
57 stars 54 forks source link

Could not find csr for nodes #12

Closed drriguz closed 5 years ago

drriguz commented 5 years ago
INSTALLER STATUS ***********************************************************************************
Initialization              : Complete (0:00:33)
Health Check                : Complete (0:00:06)
Node Bootstrap Preparation  : Complete (0:02:36)
etcd Install                : Complete (0:00:38)
Master Install              : Complete (0:03:42)
Master Additional Install   : Complete (0:00:41)
Node Join                   : In Progress (0:03:09)
    This phase can be restarted by running: playbooks/openshift-node/join.yml

Failure summary:

  1. Hosts:    master.example.com
     Play:     Approve any pending CSR requests from inventory nodes
     Task:     Approve node certificates when bootstrapping
     Message:  Could not find csr for nodes: node02.example.com, node01.example.com
Connection to 127.0.0.1 closed.

I got this error when installing, and I've tried serval times, each time got the same error. Any ideas?

Thanks.

eliu commented 5 years ago

It might be caused by removing node.vm.hostname from master node in Vagrantfile, which caused another issue tracked by #10

Seems that your referenced issue contains part of the workaround:

https://github.com/openshift/openshift-ansible/issues/10609#issuecomment-481748389

Will try it first to see if it resolves your issue, but I must reproduce it myself first. Will get back you soon.

drriguz commented 5 years ago

yes, I found that the hostname in master is not correct, then I updated hostname and tried to run playbooks/openshift-node/join.yml but still got the same error.

eliu commented 5 years ago

@soleverlee a patch has been applied to fix your issue, please verify if it works for you. thanks!

drriguz commented 5 years ago

Hi, thanks for your update, the issue has been resolved~

INSTALLER STATUS ***********************************************************************************
Initialization               : Complete (0:00:26)
Health Check                 : Complete (0:00:05)
Node Bootstrap Preparation   : Complete (0:43:04)
etcd Install                 : Complete (0:00:42)
Master Install               : Complete (0:16:28)
Master Additional Install    : Complete (0:00:48)
Node Join                    : Complete (0:15:24)
Hosted Install               : Complete (0:01:11)
Cluster Monitoring Operator  : Complete (0:10:34)
Web Console Install          : Complete (0:03:09)
Console Install              : Complete (0:03:53)
metrics-server Install       : Complete (0:00:03)