mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 10:00:11 +00:00
Add a common OCM setup troubleshooting guide (#51)
Signed-off-by: Mike Ng <ming@redhat.com>
This commit is contained in:
16
troubleshooting/setup-ocm.md
Normal file
16
troubleshooting/setup-ocm.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Troubleshooting for setting up OCM
|
||||
|
||||
### I am getting an error about "Error: no CSR to approve for cluster <cluster-name>" when running the "clusteradm accept" command.
|
||||
|
||||
On the managed cluster, check the `klusterlet-registration-agent` pod log by using:
|
||||
|
||||
```
|
||||
kubectl -n open-cluster-management-agent get pod
|
||||
kubectl -n open-cluster-management-agent logs pod/klusterlet-registration-agent-<suffix> # Replace <suffix> with output from the "get pod" command.
|
||||
```
|
||||
|
||||
If you are using `KinD` clusters to setup OCM, ensure you use the `--force-internal-endpoint-lookup` flag when you join the cluster using the `clusteradm join` command. For example:
|
||||
|
||||
```
|
||||
clusteradm join --force-internal-endpoint-lookup --wait --hub-token <hub-token> --hub-apiserver <hub-apiserver> --cluster-name <cluster-name>
|
||||
```
|
||||
Reference in New Issue
Block a user