Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New GCP provisioner: service account not enabled problem #2966

Closed
concretevitamin opened this issue Jan 9, 2024 · 0 comments · Fixed by #2972
Closed

New GCP provisioner: service account not enabled problem #2966

concretevitamin opened this issue Jan 9, 2024 · 0 comments · Fixed by #2972
Assignees

Comments

@concretevitamin
Copy link
Member

Before new GCP provisioner #2681

git checkout 394ec4ad8
sky launch -i0 --down --cpus 2 --cloud gcp  -y 'curl -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity?format=standard&audience=gcp"'

This prints the identity correctly.

After the new GCP provisioner

git checkout 318553bb6 
sky launch -i0 --down --cpus 2 --cloud gcp  -y 'curl -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity?format=standard&audience=gcp"'

This prints

{"error":"invalid_request","error_description":"Service account not enabled on this instance"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants