skypilot-org / skypilot

SkyPilot: Run AI and batch jobs on any infra (Kubernetes or 12+ clouds). Get unified execution, cost savings, and high GPU availability via a simple interface.
https://skypilot.readthedocs.io
Apache License 2.0
6.82k stars 512 forks source link

[Core] NoCloudAccessError check is escaped from storage sync #4366

Closed HysunHe closed 1 week ago

HysunHe commented 1 week ago

Resolve the issue #4367

After fix, the message shown:

Launching a new service 'http-server'. Proceed? [Y/n]: ⚙︎ Translating workdir to SkyPilot Storage... Workdir: 'examples/serve/http_server' -> storage: 'skypilot-workdir-hysunhe-f650b5f9'. sky.exceptions.NotSupportedError: Unable to use workdir - no cloud with object store is enabled. Please enable at least one cloud with object store support (AWS, GCP, Azure, IBM, Cloudflare) by running sky check, or remove workdir from your task. Hint: If you do not have any cloud access, you may still download data and code over the network using curl or other tools in the setup section of the task.

Tested (run the relevant ones):