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

Uninformative error when GATK doesn't have permission to check whether a GCS bucket is Requester Pays #6349

Open
droazen opened this issue Jan 6, 2020 · 0 comments
Labels

Comments

@droazen
Copy link
Contributor

droazen commented Jan 6, 2020

Currently, if the GATK doesn't have permission to check whether a GCS bucket is Requester Pays (which is a separate permission from access to the bucket itself!), we get a cryptic error message along the lines of:

User does not have storage.buckets.get access to bucket_name

This is the same error the gsutil client gives in the same situation:

$ gsutil requesterpays get gs://gatk-best-practices
AccessDeniedException: 403 [email protected] does not have storage.buckets.get access to gatk-best-practices.

Ideally we should detect this situation upfront in the GATK and emit a more informative error message.

@droazen droazen added the NIO label Jan 6, 2020
@droazen droazen added this to the GATK-Priority-Backlog milestone Jan 6, 2020
@droazen droazen removed this from the GATK-Priority-Backlog milestone Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant