-
Notifications
You must be signed in to change notification settings - Fork 21
Integration Tests' Service Accounts
Brian Reilly edited this page Apr 5, 2021
·
2 revisions
These service accounts accumulate as tests are run and can run up against quotas set up in GCP. This can result in integration test failures where the screenshot looks like this:
This can be remedied by manually cleaning up SAs and/or requesting a quota increase.
- a
@test.firecloud.org
account that has gmail enabled
- Navigate to https://console.cloud.google.com/iam-admin/quotas?service=iam.googleapis.com&project=saturn-integration-test- where
ENV
is the non-prod environment in question, logged in with your@test.firecloud.org
account - In the "IAM & Admin" left-hand sidebar, click on "Service Accounts"
- In the table, look for service accounts with "Name"s that look like "Pet Service Account for user [user-6789abcde-f012-3456-789a@terra-test-users-1.iam.gserviceaccount.co]" and "Key Creation Date" (all the way on the right) of before today and select the checkboxes (all the way to the left) on those rows.
- Click on the "Delete" link in the top header (next to "+ CREATE SERVICE ACCOUNT")
- Navigate to https://console.cloud.google.com/iam-admin/quotas?service=iam.googleapis.com&project=saturn-integration-test- where ENV is the non-prod environment in question, logged in with your
@test.firecloud.org
account - You should see a table of different quotas, click on the "ALL QUOTAS" link in the row with "Service Account Count" in the "Limit Name" column
- This should take you to a new table with one line where "Global" is listed under "Location." Click on the checkbox to the left of that line and then the "EDIT QUOTAS" button in the top header
- You will then see a form where you can fill out a new quota request using your
@test.firecloud.org
account
Terra UI Wiki.
- Getting Started
- Contributor Guide
- Intro to UI Development
- Troubleshooting Build Failures
- Editor Configuration
- BEEs
- Pull Requests
- How to Find a PR Site
- Feature Flags
- Mixpanel
- Cobranding and White-Label Sites
- Using Terra UI packages in other projects