Red Hat Bugzilla – Bug 1257080
It will take a long while to exit from container after login via `oc exec`
Last modified: 2016-05-12 13:15:26 EDT
Description of problem:
Login to the container via oc exec with interactive mode, and when trying to exit from the container it will take a long while. (Over 20 seconds)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create pod which can be logged in with bash
$ oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/authorization/scc/pod_requests_nothing.json
2. Login to the pod
$ oc exec pod1 -it /bin/bash
3. Do anything in the container, eg `ls`
4. Exit the container
It will take over 20 seconds to exit the container.
Should not hang there so long.
Use `oc rsh` to login to container will also have this problem.
And both `docker exec` and `nsenter` can exit from the container immediately.
Fixed in master.
Not an issue anymore.