Diagnostic report throws an error : User "system:anonymous" cannot list all projects in the cluster
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, tools, and much more.