jolly-florist-66728
11/15/2024, 7:12 AMllm-fine-tuning
example (https://github.com/unionai-oss/llm-fine-tuning/tree/main/flyte_llama).
Error:
FlyteAssertion: Failed to put data from /tmp/flyte-gq7dpdhx/sandbox/local_flytekit/engine_dir to <gs://flyte-metadata-bucket-skypilot-375902/metadata/propeller/flytesnacks-development-f9db1a147b0c9404e811/n1/data/0> (recursive=True).
Original exception: Forbidden: <https://storage.googleapis.com/upload/storage/v1/b/flyte-metadata-bucket-skypilot-375902/o>
Access denied.
Environment:
- GKE cluster using default compute service account (88945870421-compute@developer.gserviceaccount.com)
- Not using Workload Identity
- GCS bucket: flyte-metadata-bucket-skypilot-375902
It seems the service account doesn't have write permissions to the GCS bucket. What shoud I do?
# Answer
Grant the service account write permissions to the GCS bucket. According to this GitHub issue, ensure the service account has the necessary roles, such as roles/storage.objectAdmin
, to allow writing to the bucket.
Would you like more detail on how to configure these permissions?
Sources:
- this GitHub issue
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1731654709.445499 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.