-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Requester Pays on NIO #3221
Comments
A more specific suggestion would be to add the relevant options for This is problematic for us because it prevents using of any requester pays enabled buckets through NIO. @jean-philippe-martin any thoughts ? :) |
That's a good idea, I would welcome a PR yes. Make sure to mention me in it so I can find it easily! |
@Horneth Do you have a PR for this feature ready to go, or could you easily make one? |
Code is now in, the feature should be available. Let me know how it goes, and mention me in a new bug if you run into any difficulty! |
@hzyi-google, would you mind please closing this issue? I am not able to do it myself. |
Sure. Thanks for contributing! |
Thank you, @hzyi-google ! |
@jean-philippe-martin There are integration tests failing. Can you double check? |
Yes I can look into it @hzyi-google . Do you have something a bit more specific? Do you mean the |
From my side, |
Odd, I synced to head and those all work for me. These tests require GOOGLE_APPLICATION_CREDENTIALS to be set, but if that's it then I'd expect the failure to happen early, in the I wonder if it's something special about the test machine configuration, or the chosen project. Can you share the error for the last test (either here or via email if you prefer)? Perhaps that'll give me a hint about how to reproduce the issue. |
@jean-philippe-martin Yes you are right. Our testing project do have the permission to the method in resourcemanager api. And the test with errors is for the same reason. I'll create a separate github issue for this and ignore the tests for now. Thanks for the clarification :) |
@hzyi-google great, I'm glad the mystery is solved! Hopefully there is some way you can use a project without these permissions, so you can restore the tests on your side. Or split the integration tests into two parts, one with that permission and one without. |
There is an option on
BlobSourceOption
andBlobWriteOption
to specify the billing project to use when accessing a requester pays bucket, but there doesn't seem to be a way to wire that through NIO.Am I missing it ? And if not is this something that could be considered ?
The text was updated successfully, but these errors were encountered: