Pods are running with `anyuid` SCC

Solution Verified - Updated -

Issue

  • All the OCP cluster pods are running with anyuid SCC.

  • Prometheus, or other application pods are not running and failing with Permission denied error.

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content