Skip to content

Iris Labeller fails when it is unable to find a ephemeral GCP resource #21

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

Closed
usaptos opened this issue Aug 24, 2023 · 2 comments
Closed

Comments

@usaptos
Copy link

usaptos commented Aug 24, 2023

After deploying the labeller on GCP we ran into issue multiple times where the labeller would crash when it cant find a temporary or a ephemeral resource that no longer exists
"nit__.py", line 494, in api_request\n raise exceptions.from_http_response(response)\ngoogle.api_core.exceptions.NotFound: 404 GET https://bigquery.googleapis.com/bigquery/v2/projects/analytics-test-345723/datasets/indexer_testnet_gcp_apps/tables/_sdc_current_token_pending_claims_staging?prettyPrint=false: Not found: Table analytics-test-345723:indexer_testnet_gcp_apps._sdc_current_token_pending_claims_staging","
Is there a way to avoid labelling resources temp in nature ?

@JoshuaFox
Copy link
Contributor

Thank you for the bug report.

What would a solution look like? If we check that the resource exists before trying to label, the resource still might disappear before labeling.

Do you see problems with the current approach, trying and sometimes failing (maybe with a nicer log)?

@JoshuaFox
Copy link
Contributor

Discussed offline , and as mentioned above, it seems that the current behavior is not a problem,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants