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.61k stars 479 forks source link

`sky check` error: Enabled clouds does not list Cloudflare, R2 #3595

Open landscapepainter opened 4 months ago

landscapepainter commented 4 months ago

Currently, at the end of the output of sky check does not list Cloudflare, R2 as enabled cloud when it is enabled.

$ sky check
Checking credentials to enable clouds for SkyPilot.
  AWS: disabled
    Reason: AWS dependencies are not installed. Run the following commands:
      $ pip install skypilot[aws]
    Credentials may also need to be set. Run the following commands:
      $ aws configure
      $ aws configure list  # Ensure that this shows identity is set.
    For more info: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html
  Azure: disabled
    Reason: ~/.azure/msal_token_cache.json does not exist. Run the following commands:
      $ az login
      $ az account set -s <subscription_id>
    For more info: https://docs.microsoft.com/en-us/cli/azure/get-started-with-azure-cli
  Cloudflare, for R2 object store: enabled
  Cudo: disabled
    Reason: Cudo tools are not installed. Run the following commands:
      $ pip install cudo-compute
    [ModuleNotFoundError] No module named 'cudo_compute'
  Fluidstack: disabled
    Reason: Failed to access FluidStack Cloud with credentials. To configure credentials, go to:
      https://console.fluidstack.io
    to obtain an API key and API Token, then add save the contents to ~/.fluidstack/api_key and ~/.fluidstack/api_token

  Checking GCP...INFO:googleapiclient.discovery_cache:file_cache is only supported with oauth2client<4.0.0
  GCP: enabled
  IBM: disabled
    Reason: Missing credential file at /home/gcpuser/.ibm/credentials.yaml.
    Store your API key and Resource Group id in ~/.ibm/credentials.yaml in the following format:
      iam_api_key: <IAM_API_KEY>
      resource_group_id: <RESOURCE_GROUP_ID>
  Kubernetes: disabled
    Reason: Credentials not found - check if ~/.kube/config exists.
  Lambda: disabled
    Reason: Failed to access Lambda Cloud with credentials. To configure credentials, go to:
      https://cloud.lambdalabs.com/api-keys
    to generate API key and add the line
      api_key = [YOUR API KEY]
    to ~/.lambda_cloud/lambda_keys
  OCI: disabled
    Reason: `oci` is not installed. Install it with: pip install oci
    For more details, refer to: https://skypilot.readthedocs.io/en/latest/getting-started/installation.html#oracle-cloud-infrastructure-oci
  Paperspace: disabled
    Reason: Failed to access Paperspace Cloud with credentials.
    To configure credentials, follow the instructions at: https://skypilot.readthedocs.io/en/latest/getting-started/installation.html#paperspace
    Generate API key and create a json at `~/.paperspace/config.json` with
         {"apiKey": "[YOUR API KEY]"}
    Reason: Credentials not found
  RunPod: disabled
    Reason: Failed to import runpod. To install, run: pip install skypilot[runpod]
  SCP: disabled
    Reason: Failed to access SCP with credentials. To configure credentials, see: https://cloud.samsungsds.com/openapiguide
    Generate API key and add the following line to ~/.scp/scp_credential:
      access_key = [YOUR API ACCESS KEY]
      secret_key = [YOUR API SECRET KEY]
      project_id = [YOUR PROJECT ID]
  vSphere: disabled
    Reason: vSphere dependencies are not installed. Run the following commands:
      $ pip install skypilot[vSphere]
    Credentials may also need to be set. For more details. See https://skypilot.readthedocs.io/en/latest/getting-started/installation.html#vmware-vsphere[ModuleNotFoundError] No module named 'pyVmomi'

To enable a cloud, follow the hints above and rerun: sky check
If any problems remain, refer to detailed docs at: https://skypilot.readthedocs.io/en/latest/getting-started/installation.html

🎉 Enabled clouds 🎉
  ✔ GCP

sky check should list Cloudflare, R2 under the Enabled clouds list when it's enabled.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.