Unable to rsh into pod as MCP stuck in updating status
Issue
- MCP stuck in updating status when checked from ocp CLI:
[ocpuser@ocphost ~]$ oc get mcp
NAME CONFIG UPDATED UPDATING DEGRADED MACHINECOUNT READYMACHINECOUNT UPDATEDMACHINECOUNT DEGRADEDMACHINECOUNT AGE
master rendered-master-xxxx True False False 3 3 3 0 300d
worker rendered-worker-xxxx False True False 21 1 1 0 300d
- Trying to
rsh
into pod return below error:
[ocpuser@ocpnode ~]$ oc rsh <pod_name> -n <project_name>
error: unable to upgrade connection: Unauthorized
Environment
- Red Hat OpenShift Container Platform
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.