Skip to content

add check for existing cluster #9784

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 3 commits into from
Apr 25, 2023
Merged

add check for existing cluster #9784

merged 3 commits into from
Apr 25, 2023

Conversation

leahecole
Copy link
Collaborator

@leahecole leahecole commented Apr 24, 2023

Description

Because we have added retries for service errors, if that retry happens, the fixture that creates the cluster will fail on an "AlreadyExists". This PR modifies to say that "AlreadyExists" is acceptable - we can utilize that cluster, we just need to still tear it down eventually (which we were already doing 😄 )

Fixes #9513

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

@leahecole leahecole requested review from a team as code owners April 24, 2023 14:46
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: dataproc Issues related to the Dataproc API. labels Apr 24, 2023
@leahecole
Copy link
Collaborator Author

@nicain looks like we're seeing quota issues. Is this related to last week's change in region?

@engelke engelke merged commit 384eedb into main Apr 25, 2023
@engelke engelke deleted the fix_9513 branch April 25, 2023 22:10
@leahecole leahecole linked an issue Apr 28, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dataproc Issues related to the Dataproc API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dataproc.snippets.submit_job_test: test_submit_job failed dataproc.snippets.quickstart.quickstart_test: test_quickstart failed
3 participants