IBM Cloud Docs
Why do I see a Could not find user error when I try to access the Red Hat OpenShift on IBM Cloud web console?

Why do I see a Could not find user error when I try to access the Red Hat OpenShift on IBM Cloud web console?

When you try to access the Red Hat OpenShift on IBM Cloud web console, you see an error message similar to the following.

Could not find user.

This error occurs when you try to access the Red Hat OpenShift on IBM Cloud web console directly, such as through a URL, rather than through the IBM Cloud UI or without running the ibmcloud oc cluster config command. This prevents the IAM user role from synchronizing to the cluster.

Synchronize the IAM user information to the Red Hat OpenShift on IBM Cloud cluster.

Before you begin:

Access your Red Hat OpenShift cluster.

To synchronize the IAM information for the user, you have 2 options:

  • Log in to your cluster from the Red Hat OpenShift clusters console.
  • Set your command line context for the cluster by running the ibmcloud oc cluster config --cluster CLUSTER command.

If you use an API key for a functional ID or another user, make sure to log in as the correct user.

After the impacted user completes the IAM synchronization, the cluster administrator can verify the user exists in the cluster by listing users with the oc get users command.