skypilot: AWS SSO no longer works for managed jobs - all FAILED_PRECHECKS
AWS SSO account all managed jobs are now FAILED_PRECHECKS status.
It used to work, but now:
(sky) ➜ skypilot git:(master) sky check
Checking credentials to enable clouds for SkyPilot.
AWS: enabled [compute, storage]
Hint [compute, storage]: AWS SSO is set. To ensure multiple clouds work correctly, please use SkyPilot with static credentials (e.g., ~/.aws/credentials) by unsetting the AWS_PROFILE environment variable.
Azure: enabled [compute, storage]
🎉 Enabled clouds 🎉
AWS [compute, storage]
Azure [compute, storage]
Using SkyPilot API server: http://127.0.0.1:46580
(sky) ➜ skypilot git:(master) env | grep AWS
(sky) ➜ skypilot git:(master)
(sky) ➜ skypilot git:(master) sky jobs launch -d --cloud aws -y --cpus 2+ --memory 4+ -n t-client-server-c-94-77-job "echo hello world; sleep 60"
(sky) ➜ skypilot git:(master) sky jobs logs 1
Job 1 is already in terminal state FAILED_PRECHECKS. For more details, run: sky jobs logs --controller 1
Failure reason: [sky.exceptions.ResourcesUnavailableError] Task 't-client-server-c-94-77-job' requires AWS which is not enabled. To enable access, change the task cloud requirement or run: sky check aws
(sky) ➜ skypilot git:(master)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15
No, I only run managed jobs, not with sky local up . My kubernetes cluster is not publicly accessible so the controller must have been on my local kubernetes .
This seems to be working for me on current master (052e0ea3b129f208a82fd9d6bddbfd39d389e831):