I am encountering 'could not mount bucket' issues when re-starting an instance with S3 buckets in SkyPilot. The error message I receive is: 'sky.exceptions.StorageExternalDeletionError: The bucket, ‘jpt-output’, could not be mounted on cluster ‘sky-182b-jasonkrone’. Please verify that the bucket exists. The cluster started successfully without mounting the bucket'. This issue occurs only when re-starting a stopped cluster, not when launching a new one. I am using SkyPilot version 1.0.0.dev20240203.
Jason Krone
Asked on Mar 20, 2024
Check if the bucket 'jpt-output' exists and is accessible.
Ensure that the SkyPilot version is 0.5 or higher, as re-mounting for stopped clusters was added in this version.
Verify the IAM permissions for the bucket to ensure that the instance has the necessary permissions to mount the bucket.
Restart the instance and try re-mounting the bucket to see if the issue persists.