Pods are running with `anyuid` SCC
Issue
-
All the OCP cluster pods are running with
anyuidSCC. -
Prometheus, or other application pods are not running and failing with
Permission deniederror.
level=error ts=ts=yyyy-mm-ddThh:mm:ss.2234xx36Z caller=query_logger.go:85 component=activeQueryTracker msg="Error opening query log file" file=/prometheus/queries.active err="open /prometheus/queries.active: permission denied"
yyyy-mm-ddThh:mm:ss.2234xx36Z panic: Unable to create mmap-ed active query log
Environment
-
Red Hat OpenShift Container Platform [RHOCP]
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.