Warning: User 'username' not found

Solution In Progress - Updated -

Issue

  • 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 ?

Environment

  • OpenShift Container Platform
    • 3.11

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