Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Expired credentials causes unexpected failure of sky launch #4373

Open
Michaelvll opened this issue Nov 15, 2024 · 1 comment
Open

Comments

@Michaelvll
Copy link
Collaborator

Many cloud credentials have expiration, e.g. AWS SSO, or kubeconfig with gcloud authentication. Expiration of these credentials means, although the cloud is enabled in the cache, sky launch will go to those cloud and try to launch the cluster on those cloud causing unexpected failure and not automatically failover, e.g.:

Exception: ApiException: (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Audit-Id': '7f9b7f8a-d526-44fc-ace8-5c12093e441f', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'Date': 'Fri, 15 Nov 2024 20:40:38 GMT', 'Content-Length': '129'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401}

Version & Commit info:

  • sky -v: PLEASE_FILL_IN
  • sky -c: PLEASE_FILL_IN
@zpoint
Copy link
Collaborator

zpoint commented Nov 19, 2024

Related issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants