-
Notifications
You must be signed in to change notification settings - Fork 107
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
[BUG] Restarting the installation process can cause certificate problems if K8s was not fully configured #2669
Comments
@romsok24 is that a constant issue? On which step it failed during the first run? May be an investigation needed when it occurs. We have a possibility to re-generate certificates. Someone could have custom validity period, I think pki folder should not be cleaned up each time for apply. |
Failing ansible task is: TASK [kubernetes_common : Update in-cluster configuration] IMO - the failure is not related to the code but to the fact, that - as I wrote - part of the certs in Cleaning this folder would be probably a good solution for this. |
Seems to be related to #1175. |
My proposal is to check this task after #2828 as it might be related. |
Tested multiple times |
Describe the bug
When reruning the epicli installation process one can fail with this error:
How to reproduce
Steps to reproduce the behavior:
epicli init ... (with params)
Expected behavior
On epicli preflight phase there should be a task to check for the existence of
/etc/kubernetes/pki/
folderand it should be cleaned if exists to ensure that all the certs from a brand new installation run will be signed with the most current CA cert.
Config files
Environment
epicli version: 1.0.1
DoD checklist
The text was updated successfully, but these errors were encountered: