iorchard / burrito

Burrito - OpenStack on K8S platform
Apache License 2.0
1 stars 4 forks source link

k8s-certs-renew.sh script hangs #254

Closed jijisa closed 1 week ago

jijisa commented 1 week ago

Describe the bug

k8s-certs-renew.sh script has a problem with the current burrito.

It hangs after this line.

## Waiting for apiserver to be up again ##

This is the problem.::

until printf "" 2>>/dev/null >>/dev/tcp/127.0.0.1/6443; do sleep 1; done

The kube-apiserver does not listen to 127.0.0.1 so it hangs.

To Reproduce Steps to reproduce the behavior:

  1. Run k8s-certs-renew.sh script

Versions (please complete the following information):

jijisa commented 1 week ago

I added a patch file to use the management ip address. The patch file is patches/12-patch-kubespray-control-plane-k8s-certs-renew.sh.j2.txt.

This issue is solved by commit e8e96d25cda1fb86d55e459a49c53eb612f16d4d.