oracle / vagrant-projects

Vagrant projects for Oracle products and other examples
Universal Permissive License v1.0
930 stars 474 forks source link

OCNE: Unable to exec into a container #449

Closed hussam-qasem closed 1 year ago

hussam-qasem commented 1 year ago

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 255

Environment (please complete the following information):

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 1 year ago

Restarting the worker node solved the problem.