Fix TestAccDataprocCluster_AttachedDiskConfigWorker - #18626
Conversation
The main point of this PR is to fix the "Error 400: Permissions are missing for the default service account" error by putting the cluster into the same region as the buckets. Stockouts are still a big problem for the dataproc tests, but switching to `c4-standard-2` *might* help with that.
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 08ebea6: Diff reportYour PR generated the following diffs in downstream repositories:
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
🟢 All tests passed! View the recording VCR build log or the debug logs folder for detailed results. @SirGitsalot VCR tests complete for 08ebea6! |
melinath
left a comment
There was a problem hiding this comment.
Just want to double-check that this has to do with regions? I didn't know that IAM permissions could differ between regions... also, if it's based on the configuration to that extent, why is this passing in beta?
|
(I was wondering if this might be missing IAM bootstrapping: https://googlecloudplatform.github.io/magic-modules/test/test/#iam-resources) |
|
The region ends up in the name of the buckets, which are The buckets should be created automatically, since this test doesn't specify custom buckets. If it's failing to do so in the GA project it doesn't appear to be due to IAM roles on the compute SA (or on the test runner SA, which between GA and beta does have a different set of roles, but both have "Owner" and "Storage Admin") |
|
@SirGitsalot, this PR is waiting for action from you. If no action is taken, this PR will be closed in 28 days. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. This notification can be disabled with the |
|
@melinath This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |

The main point of this PR is to fix the "Error 400: Permissions are missing for the default service account" error by putting the cluster into the same region as the buckets. Stockouts are still a big problem for the dataproc tests, but switching to
c4-standard-2might help with that.Fixes hashicorp/terraform-provider-google#28701 (at least it fixes it locally, we'll see what happens on CI) Does not fix the issue mentioned in the comment regarding
oneof ... must be specifiedwhich I think is a different problem.