intel-technology-enabling-for-openshift icon indicating copy to clipboard operation
intel-technology-enabling-for-openshift copied to clipboard

Intel Device Plugins returns error "permission denied" on RHOCP 4.15.3

Open hershpa opened this issue 1 year ago • 0 comments
trafficstars

Summary:

Intel Device Plugins returns error "permission denied" on RHOCP 4.15.3. Kubelet is running with the wrong label. The same issue was observed and fixed on 4.14.10. See this for more details: https://github.com/intel/intel-technology-enabling-for-openshift/issues/113. The SeLinux Regression fix is not integrated into RHOCP 4.15 properly.

Error:

Failed to serve gpu.intel.com/i915: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /var/lib/kubelet/device-plugins/kubelet.sock: connect: permission denied"

Root Cause:

Kubelet should run as kubelet_exec_t and not unconfined_service_t label.

sh-5.1# ps -AZ | grep kubelet
system_u:system_r:unconfined_service_t:s0 34373 ? 01:59:27 kubelet
sh-5.1#

hershpa avatar Mar 15 '24 17:03 hershpa