8000 Add a sleep for the service account to propagate. by m-strzelczyk · Pull Request #6895 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content

Add a sleep for the service account to propagate. #6895

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

Merged
merged 4 commits into from
Oct 12, 2021

Conversation

m-strzelczyk
Copy link
Contributor
@m-strzelczyk m-strzelczyk commented Oct 11, 2021

I suspect that sometimes this method fails
because there is a race condition when creating the new
servie account. Adding a service account is not a LRO,
but it's also no atomic. The information about the new
account needs a moment to propagate through the system.

Closes #6894

Description

Fixes #

Note: It's a good idea to open an issue first for discussion.

Checklist

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Oct 11, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 11, 2021
@m-strzelczyk
Copy link
Contributor Author

I'll run the tests a couple of time to see if they keep failing.

@m-strzelczyk m-strzelczyk added kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Oct 11, 2021
@kokoro-team kokoro-team removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Oct 11, 2021
@m-strzelczyk m-strzelczyk added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 11, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 11, 2021
@m-strzelczyk m-strzelczyk added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 11, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 11, 2021
@m-strzelczyk m-strzelczyk marked this pull request as ready for review October 11, 2021 16:13
@m-strzelczyk m-strzelczyk requested a review from a team as a code owner October 11, 2021 16:13
I suspect that sometimes this method fails
because there is a race condition when creating the new
servie account. Adding a service account is not a LRO,
but it's also no atomic. The information about the new
account needs a moment to propagate through the system.

Closes #6894
@m-strzelczyk
Copy link
Contributor Author

Copyright header fixed.

@busunkim96 busunkim96 added the blunderbuss: assign Instruct blunderbuss to assign someone label Oct 12, 2021
@blunderbuss-gcf blunderbuss-gcf bot removed the blunderbuss: assign Instruct blunderbuss to assign someone label Oct 12, 2021
@busunkim96 busunkim96 added the blunderbuss: assign Instruct blunderbuss to assign someone label Oct 12, 2021
@blunderbuss-gcf blunderbuss-gcf bot removed the blunderbuss: assign Instruct blunderbuss to assign someone label Oct 12, 2021
@busunkim96 busunkim96 added the automerge Merge the pull request once unit tests and other checks pass. label Oct 12, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit 08d175c into master Oct 12, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the issue-6894 branch October 12, 2021 19:26
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compute.oslogin.service_account_ssh_test: test_main failed
5 participants
0