-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Document permissions needed by logging system test #2740
Comments
@duggelz I can't reproduce that failure here on
which doesn't surprise me, as |
Right, the problem is that I don't know what permissions are missing in my |
@duggelz are both bigquery and logging APIs enabled on console.cloud.google.com? |
[REDACTED] |
@duggelz I removed your comment as it contained names of private APIs. |
@duggelz Ping me on hangouts and we'll try to sort it out? I'd also recommend running with gRPC turned off and
|
CC @waprin who might know the answer. More specific error message:
I'm trying to translate URL -> Thing I click on in the API library. |
I believe you need to give either project owner, or "Logs Configuration Writer" role to the service account (or whatever client id you are using to run the test), and then give cloud-logs@google edit access to your BigQuery sink. |
The doc link I provided has the other permissions you need to setup for each of the sinks. If you're still stuck I will run through this all again on my own new project in a bit and see if I run into the same thing. |
@waprin We should add a check, maybe in |
Thanks, that was very helpful, it is the service account that is the problem. I verified it works fine using my personal credentials. However, how do I give Just giving the service account and |
I guess I didn't wait long enough, I do have it working now. I'll see if I can prune the permissions back from Owner. |
The minimal set of permissions that work seem to be:
Requiring So, the bug is now "please add this information, and information about the required APIs, to the instructions for running the system tests." |
The logging system test produces the following errors. As per @dhermes in #2669 the logging error is because some bucket or other object needs to add [email protected] to an ACL.
Command line was
tox -e system-tests,system-tests3 -- logging
Test was run inside the
gcr.io/google_appengine/python:2016-11-10_06_11
docker image.Python versions were 2.7.9 and 3.4.2.
Cloud project name for testing was
cloud-python-runtime-qa
More context here: https://github.com/GoogleCloudPlatform/python-runtime/blob/master/system_tests/Dockerfile
The text was updated successfully, but these errors were encountered: