Failures like:
$ oc login --token=... Logged into "https://api..." as "..." using the token provided. Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get projects.project.openshift.io)
break login, which tries to gather information before saving the configuration, including a giant project list.
Ideally login would be able to save the successful login credentials, even when the informative gathering had difficulties. And possibly the informative gathering could be made conditional (--quiet or similar?) so expensive gathering could be skipped in use-cases where the context was not needed.
- blocks
-
OCPBUGS-2766 'oc login' should be robust in the face of gather failures
- Closed
- is cloned by
-
OCPBUGS-2766 'oc login' should be robust in the face of gather failures
- Closed
- links to