Terminal resize doesn't work with oc rsh in OpenShift

Solution Unverified - Updated -

Issue

  • Every oc rsh produces the below error messages in the syslog and less command show the contents at some weird line position.
Mar 11 17:30:35 example-node1 dockerd-current: time="2018-03-11T17:30:35.797217570+09:00" level=error msg="Handler for POST /v1.24/exec/1234567890123456789012345678901234567890123456789012345678901234/resize?h=35&w=120 returned error: rpc error:
code = 2 desc = containerd: process not found for container"
Mar 11 17:30:35 example-node1 dockerd-current: time="2018-03-11T17:30:35.797247034+09:00" level=error msg="Handler for POST /v1.24/exec/1234567890123456789012345678901234567890123456789012345678901234/resize returned error: rpc error: code = 2 desc = containerd: process not found for container"

Environment

  • OpenShift Container Platform
    • 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.