cancel
Showing results for 
Search instead for 
Did you mean: 
Mostafa4
Cadet
Cadet
  • 32 Views

install openshift baremetal on vsphere using upi issues

when I try install openshift on vsphere I face this issue on bootstrapping stage:

[root@localhost installation_directory]# ./openshift-install wait-for bootstrap-complete --log-level=debug
DEBUG OpenShift Installer 4.17.7
DEBUG Built from commit 433937af28ce3755671643ad73999544ab4e2a61
INFO Waiting up to 20m0s (until 2:10PM EET) for the Kubernetes API at https://api.ocp4.test.com:6443...
DEBUG Loading Agent Config...
DEBUG Still waiting for the Kubernetes API: Get "https://api.ocp4.test.com:6443/version": dial tcp 192.168.82.10:6443: connect: no route to host

I configure haproxy like this:
[root@localhost installation_directory]# cat /etc/haproxy/haproxy.cfg
global
log 127.0.0.1 local2
pidfile /var/run/haproxy.pid
maxconn 4000
daemon
defaults
mode http
log global
option dontlognull
option http-server-close
option redispatch
retries 3
timeout http-request 10s
timeout queue 1m
timeout connect 10s
timeout client 1m
timeout server 1m
timeout http-keep-alive 10s
timeout check 10s
maxconn 3000
listen api-server-6443
bind *:6443
mode tcp
option httpchk GET /readyz HTTP/1.0
option log-health-checks
balance roundrobin
server bootstrap bootstrap.ocp4.test.com:6443 verify none check check-ssl inter 10s fall 2 rise 3 backup
server master0 master0.ocp4.test.com:6443 weight 1 verify none check check-ssl inter 10s fall 2 rise 3
server master1 master1.ocp4.test.com:6443 weight 1 verify none check check-ssl inter 10s fall 2 rise 3
server master2 master2.ocp4.test.com:6443 weight 1 verify none check check-ssl inter 10s fall 2 rise 3
listen machine-config-server-22623
bind *:22623
mode tcp
server bootstrap bootstrap.ocp4.test.com:22623 check inter 1s backup
server master0 master0.ocp4.test.com:22623 check inter 1s
server master1 master1.ocp4.test.com:22623 check inter 1s
server master2 master2.ocp4.test.com:22623 check inter 1s
listen ingress-router-443
bind *:443
mode tcp
balance source
server worker0 worker0.ocp4.test.com:443 check inter 1s
server worker1 worker1.ocp4.test.com:443 check inter 1s
listen ingress-router-80
bind *:80
mode tcp
balance source
server worker0 worker0.ocp4.test.com:80 check inter 1s
server worker1 worker1.ocp4.test.com:80 check inter 1s

Labels (1)
0 Replies
Join the discussion
You must log in to join this conversation.