Warning: User 'username' not found

Solution In Progress - Updated -


  • When you add a role to new user you added, the following warning message is shown.
# oc adm policy add-role-to-user edit newuser
Warning: User 'newuser' not found
role "edit" added: "newuser"
  • Even though a warning message is shown, the role has been added and work well. Why warning message is shown ?


  • OpenShift Container Platform
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In