Skip to content
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

Add new condition here for localization that hit quota issue; infinite retries #141

Open
julianhess opened this issue Sep 26, 2023 · 3 comments

Comments

@julianhess
Copy link
Collaborator

echo -n $LOCALIZER_JOB_RC > $CANINE_JOB_ROOT/.localizer_exit_code

@julianhess
Copy link
Collaborator Author

Would need to catch exit code (5) from gcloud_exp_backoff here:

"gcloud compute instances attach-disk ${CANINE_NODE_NAME} --zone ${CANINE_NODE_ZONE} --disk ${CANINE_RODISK} --device-name ${CANINE_RODISK} --mode ro &>> $DIAG_FILE || true",

@julianhess
Copy link
Collaborator Author

Here too:

' gcloud compute instances detach-disk $CANINE_NODE_NAME --zone $CANINE_NODE_ZONE --disk $CANINE_RODISK || echo "Error detaching disk ${CANINE_RODISK}" >&2',

@julianhess
Copy link
Collaborator Author

julianhess commented Sep 26, 2023

Would want to make gcloud_exp_backoff retry less (so time spent retrying is lower); specify with variable maximum backoff time

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

1 participant