Skip to content

node --boostrap fails  #13500

@debianmaster

Description

@debianmaster

i'm trying to use the new node bootstrap feature to bootstrap a new node.

Step 1: started all in one server on node1
Step 2: copied admin.kubeconfig to node2
Step 3: tried to bootstrap using --bootstrap=true --kubeconfig=admin.kubeconfig

Bootstrap faile with timeout, more details in the last section

Version

oc v3.6.0-alpha.0+0343989
8d-0eda-11e7-b63a-42010a800003").
kubernetes v1.5.2+43a9be4

Steps To Reproduce

node1: 146.148.85.109 (internal ip 10.128.0.3)
node2: 146.148.38.249

on node1:

./openshift start --public-master='https://146.148.85.109:443' --listen='https://0.0.0.0:443' --master='https://10.128.0.3:443'

copy admin.kubeconfig to node2

on node2

./openshift start node --bootstrap --kubeconfig=admin.kubecofnig  --loglevel=6
Current Result
I0322 08:39:36.752063    2374 round_trippers.go:318] GET https://10.128.0.3:443/apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/node-bootstrapper-client-ocp-cluster-p0vr 200 OK in 2 milliseconds
I0322 08:39:37.752309    2374 round_trippers.go:318] GET https://10.128.0.3:443/apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/node-bootstrapper-client-ocp-cluster-p0vr 200 OK in 2 milliseconds
I0322 08:39:37.754002    2374 round_trippers.go:318] GET https://10.128.0.3:443/apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/node-bootstrapper-client-ocp-cluster-p0vr 200 OK in 1 milliseconds
F0322 08:39:37.754139    2374 start_node.go:139] timed out waiting for the condition
Expected Result

node 2 should join openshift cluster as new node

Additional Information

[Note] Summary of diagnostics execution (version v3.6.0-alpha.0+0343989):
[Note] Warnings seen: 4

Metadata

Metadata

Labels

component/kuberneteskind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.priority/P2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions