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

GCP provisioning can fail with 412 #4571

Open
cg505 opened this issue Jan 16, 2025 · 0 comments
Open

GCP provisioning can fail with 412 #4571

cg505 opened this issue Jan 16, 2025 · 0 comments

Comments

@cg505
Copy link
Collaborator

cg505 commented Jan 16, 2025

In our GCP project, we have a tool that may set the labels of a newly-created VM. This can cause GCP provisioning to fail:

D 01-16 01:37:59 provisioner.py:153] googleapiclient.errors.HttpError: <HttpError 412 when requesting https://compute.googleapis.com/compute/v1/projects/sky-dev-465/zones/us-east4-b/instances/a-37-20ae-head-efep8jh1-compute/setLabels?alt=json returned "Labels fingerprint either invalid or resource labels have changed". Details: "[{'message': 'Labels fingerprint either invalid or resource labels have changed', 'domain': 'global', 'reason': 'conditionNotMet', 'location': 'If-Match', 'locationType': 'header'}]">

This is retryable, we just need to fetch the new labels from GCP and re-add the labels we are trying to set.

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