Facing "containerd: container not started command terminated with exit code 126" error while doing oc rsh to any pod.
Issue
- The
oc rshcommand fails withcommand terminated with exit code 126. - When trying to rsh into pod it fails with below error:
$ oc rsh httpd-5sgd7
rpc error: code = 2 desc = containerd: container not started
command terminated with exit code 126
Environment
- Red Hat OpenShift Container Platform 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.