Bug 1720178
| Summary: | [DOCS] UPI installation - expired certificate after 1 day - no serving certificate available for the kubelet | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Filip Brychta <fbrychta> |
| Component: | Documentation | Assignee: | Kathryn Alexander <kalexand> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Johnny Liu <jialiu> |
| Severity: | high | Docs Contact: | Vikram Goyal <vigoyal> |
| Priority: | medium | ||
| Version: | 4.1.0 | CC: | aos-bugs, dcain, deads, dmoessne, jialiu, jokerman, jreimann, mfuruta, mharri, mmccomas, rphillips, rsandu, sjenning |
| Target Milestone: | --- | ||
| Target Release: | 4.1.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-31 20:49:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Filip Brychta
2019-06-13 10:20:06 UTC
It is likely that you do not have something approving the kubelet serving CSRs. This can be verified with `oc get csr` showing CSRs in Pending state. I run a bare metal installation and run this in my cluster (not for production use). https://github.com/openshift/openshift-ansible/blob/release-3.11/roles/openshift_bootstrap_autoapprover/files/openshift-bootstrap-controller.yaml UPI requires the customer to provide some mechanism to approve these CSRs as we can not blindly approve them but have no information on which to do a verification check, unlike IPI where we have the cloudprovider API. Yes, `oc get csr` showed lots of Pending states. In that case it's necessary to update documentation for baremetal installation [1] because it says: "After you approve the initial CSRs, the subsequent CSRs are automatically approved by the cluster kube-controller-manger." Thank you for quick response, I approved all CSRs and cluster is working again. [1] - https://access.redhat.com/documentation/en-us/openshift_container_platform/4.1/html/installing/installing-on-bare-metal#installation-approve-csrs_installing-bare-metal FYI, similar (maybe not totally same) scenario to https://bugzilla.redhat.com/show_bug.cgi?id=1699293 Michael, can you add that, for baremetal install, the CU will need a way to continuously approve kubelet server CSRs. The kube-controller-manager will only approve the kubelet client CSRs. Seth, do you have suggestions for how to continuously approve the kubelet CSRs? I can add it to the bare metal prereqs. Ryan, why is this different from https://bugzilla.redhat.com/show_bug.cgi?id=1710427? Filip, can you provide the must-gather output? (In reply to Kathryn Alexander from comment #7) > Filip, can you provide the must-gather output? Sorry, but I don't know what is the "must-gather output". Hi Filip! The description of the command is here: https://docs.openshift.com/container-platform/4.1/cli_reference/administrator-cli-commands.html#must-gather > $ oc adm must-gather (In reply to Kathryn Alexander from comment #10) > Hi Filip! The description of the command is here: > https://docs.openshift.com/container-platform/4.1/cli_reference/ > administrator-cli-commands.html#must-gather > > > $ oc adm must-gather Hi Kathryn, it's a 500 MB file even after compression. Is there any specific log or config I should attach or you need everything? It contains lot of noise and other issues not related to this one. Hi Filip! I'm not sure which specific part of the log dev was interested in, but I think I have enough information to move forward. The draft PR is here: https://github.com/openshift/openshift-docs/pull/15488/ David, does this sound right to you? Seth approved the change on the PR. Jianlin, will you PTAL? I just ran into the same issue. However, the "solution" described in PR #15488 [1] isn't really helping IMHO. What should be decided? Which request is valid? Which isn't? If the decision cannot be made by OpenShift, then who (and how) can a decision be made? And how should the process be implemented? I guess manually running `oc adm …` isn't a proper way to handle this. [1] https://github.com/openshift/openshift-docs/pull/15488/ The PR looks good to me. If anyone still have concern about the resolution, pls re-open this issue. I'm going to get a peer review before I merge. Thank you Jianlin! I've merged the change and am waiting for it to go live. This change is live on the portal: https://access.redhat.com/documentation/en-us/openshift_container_platform/4.1/html/installing/installing-on-bare-metal#installation-approve-csrs_installing-bare-metal And on docs.openshift.com: https://docs.openshift.com/container-platform/4.1/installing/installing_bare_metal/installing-bare-metal.html#installation-approve-csrs_installing-bare-metal |