Error when trying to deploy an application: provider restricted-v2: .containers[0].runAsUser: Invalid value: XXXXXXXXXX: must be in the ranges: [XXXXXXXXXX, XXXXXXXXXX]

Solution In Progress - Updated -

Issue

  • Trying to deploy an application with a specific User ID (UID) results in the following error:

    pods "xxx" is forbidden: unable to validate against any security context constraint: [provider "anyuid": Forbidden: not usable by user or serviceaccount, provider "pipelines-scc": Forbidden: not usable by user or serviceaccount, provider restricted-v2: .containers[0].runAsUser: Invalid value: XXXXXXXXXX: must be in the ranges: [XXXXXXXXXX, XXXXXXXXXX], provider "restricted": Forbidden: not usable by user or serviceaccount, provider "nonroot-v2": Forbidden: not usable by user or serviceaccount, provider "nonroot": Forbidden: not usable by user or serviceaccount, provider "noobaa-db": Forbidden: not usable by user or serviceaccount, provider "noobaa-endpoint": Forbidden: not usable by user or serviceaccount, provider "hostmount-anyuid": Forbidden: not usable by user or serviceaccount, provider "machine-api-termination-handler": Forbidden: not usable by user or serviceaccount, provider "hostnetwork-v2": Forbidden: not usable by user or serviceaccount, provider "hostnetwork": Forbidden: not usable by user or serviceaccount, provider
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.12
    • 4.13

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