Diagnostic report throws an error : User "system:anonymous" cannot list all projects in the cluster

Solution Verified - Updated -

Issue

  • Diagnostic report throws below error :
ERROR: [DCli0013 from diagnostic ConfigContexts@openshift/origin/pkg/diagnostics/client/config_contexts.go:285]
       For client config context 'privategithub/master.example.com:8443/<user>':
       The server URL is 'https://master.example.com :8443'
       The user authentication is 'master.example.com:8443'
       The current project is 'privategithub'
       (*errors.StatusError) User "system:anonymous" cannot list all projects in the cluster

       This means that when we tried to make a request to the master API
       server, your kubeconfig did not present valid credentials to
       authenticate your client. Credentials generally consist of a client
       key/certificate or an access token. Your kubeconfig may not have
       presented any, or they may be invalid.

Environment

  • Openshift container Platform
    • 3.5

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.