forked from b4mad/op1st-emea-b4mad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nostromo): had do manually approve a hugh list of CSR, they were …
…blocking internal/external cluster-communication Signed-off-by: Christoph Görn <[email protected]>
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Cannot communicate with resources (`oc logs`, `oc debug`), tls internal server error | ||
|
||
## Issue | ||
|
||
When trying to communicate with resources using `oc logs`, `oc debug`, or other commands, you receive a TLS internal server error. | ||
|
||
```bash | ||
$ oc logs console-abc-123 | ||
|
||
Error from server: Get https://node-0.example.com:10250/containerLogs/openshift-console/console-abc-123/console: remote error: tls: internal error | ||
``` | ||
|
||
## Environment | ||
|
||
- Red Hat OpenShift Container Platform 4.15 | ||
- Red Hat OpenShift Container Platform 4.16 | ||
- Red Hat OpenShift Container Platform 4.17 | ||
|
||
## Resolution | ||
|
||
Approve all the pending CSRs (Certificate Signing Requests) in the cluster. | ||
|
||
```bash | ||
oc get csr -o go-template='{{range .items}}{{if not .status}}{{.metadata.name}}{{"\n"}}{{end}}{{end}}' | xargs --no-run-if-empty oc adm certificate approve | ||
|
||
``` | ||
|
||
## Root Cause | ||
|
||
This has been noted in related Bugzilla: [BZ-1733331](https://bugzilla.redhat.com/show_bug.cgi?id=1733331) | ||
|
||
## Product Documentation | ||
|
||
- [Approving the certificate signing requests for your machines](https://docs.openshift.com/container-platform/4.17/installing/installing_bare_metal/installing-bare-metal.html#installation-approve-csrs_installing-bare-metal) | ||
- [Cannot see logs in console and oc logs, oc exec, etc give tls internal server error](https://access.redhat.com/solutions/4307511) | ||
- [MachineApproverMaxPendingCSRsReached alert firing in OpenShift Container Platform 4](https://access.redhat.com/solutions/5658021) |