Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for used ports 443/80 - LB can't boot up - "Still waiting for the Kubernetes API" #165

Open
mschindl opened this issue Jan 5, 2021 · 1 comment

Comments

@mschindl
Copy link
Contributor

mschindl commented Jan 5, 2021

Following error occurs if the ports 443/80 are in use on the server,
which cause that the container openshift-4-loadbalancer-mschindl-ocp4 can't boot up.

Error:

[root@mschindl-hz1 ~]# tail -f  /root/hetzner-ocp4/ansible/../mschindl-ocp4/.openshift_install.log
time="2021-01-05T14:20:43+01:00" level=debug msg="OpenShift Installer 4.6.8"
time="2021-01-05T14:20:43+01:00" level=debug msg="Built from commit f5ba6239853f0904704c04d8b1c04c78172f1141"
time="2021-01-05T14:20:43+01:00" level=info msg="Waiting up to 20m0s for the Kubernetes API at https://api.mschindl-ocp4.srv1.redmarc.de:6443..."
time="2021-01-05T14:20:43+01:00" level=debug msg="Still waiting for the Kubernetes API: Get \"https://api.mschindl-ocp4.srv1.redmarc.de:6443/version?timeout=32s\": dial tcp 144.76.199.107:6443: connect: connection refused"

Check:

  • open ports on server
[root@mschindl-hz1 ~]#  nmap -sT -O localhost 
Starting Nmap 7.70 ( https://nmap.org ) at 2021-01-05 16:06 CET
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00027s latency).
rDNS record for 127.0.0.1: localhost.localdomain
Not shown: 994 closed ports
PORT     STATE SERVICE
80/tcp   open  http
...
443/tcp  open  https
...
  • container load balancer
[root@mschindl-hz1 ~]# podman logs openshift-4-loadbalancer-mschindl-ocp4
...

Third-party application blocked both ports on the server and was reconfigured/removed.

@rbo
Copy link
Contributor

rbo commented Dec 2, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants