This is a clone of issue OCPBUGS-2495. The following is the description of the original issue:
—
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.
- clones
-
OCPBUGS-2495 'oc login' should be robust in the face of gather failures
- Closed
- is blocked by
-
OCPBUGS-2495 'oc login' should be robust in the face of gather failures
- Closed
- relates to
-
OCPBUGS-2809 Project auth cache sync blocks list handler
- Closed
- links to