Skip to content

[Nebius] Re-login after credential expiration requires a SkyPilot API server restart #5291

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

Open
Michaelvll opened this issue Apr 20, 2025 · 1 comment · May be fixed by #5347
Open

[Nebius] Re-login after credential expiration requires a SkyPilot API server restart #5291

Michaelvll opened this issue Apr 20, 2025 · 1 comment · May be fixed by #5347

Comments

@Michaelvll
Copy link
Collaborator

Michaelvll commented Apr 20, 2025

After the credential expires, after re-login with the following commands, sky check nebius does not work, and sky api stop; sky api start make it work again. It might related to some unecessary caching of the credentials across different SkyPilot request to API server. cc'ing @SalikovAlex

nebius iam get-access-token > ~/.nebius/NEBIUS_IAM_TOKEN.txt
nebius --format json iam whoami|jq -r '.user_profile.tenants[0].tenant_id' > ~/.nebius/NEBIUS_TENANT_ID.txt
@SalikovAlex
Copy link
Contributor

SalikovAlex commented Apr 24, 2025

Created PR to force refresh credentials files during sky check nebius
#5347

@Michaelvll Michaelvll linked a pull request Apr 25, 2025 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

2 participants