OCNE: Unable to exec into a container
hussam-qasem opened this issue · 1 comments
hussam-qasem commented
Describe the issue
In some cases, I'm unable to exec into a container:
$ kubectl -n NAMESPACE exec -it POD -- bash
ERRO[0000] exec failed: unable to start container process: open /dev/pts/0: operation not permitted
command terminated with exit code 255Environment (please complete the following information):
- Host OS:
Oracle Linux Server release 8.6 - Kernel version (for Linux host):
5.4.17-2136.310.7.1.el8uek.x86_64 - OCNE:
1.5.4-3.el8
Additional information
Sometimes it works, but I cannot find a pattern. Searching the error suggests it's SELinux related - but I'm not sure how to overcome it.
hussam-qasem commented
Restarting the worker node solved the problem.