provider-gcp icon indicating copy to clipboard operation
provider-gcp copied to clipboard

Updating labels on GKE fails with "fingerprint mismatch"

Open adamwalach opened this issue 3 years ago • 2 comments

What happened?

I am trying to update labels (resourceLabels property) on gke cluster and I get following error:

  - lastTransitionTime: "2022-10-10T09:33:42Z"
    message: 'update failed: cannot update GKE cluster: googleapi: Error 400: Labels
      could not be set due to fingerprint mismatch; try again with the proper fingerprint:
      incorrect fingerprint supplied was "", the expected one is "a9dc16a7"., failedPrecondition'
    reason: ReconcileError

I've searched for similar issues, but the only one I can find is in terraform provider repo - https://github.com/hashicorp/terraform-provider-google/issues/5608

How can we reproduce it?

Create a cluster, set labels in CR, synchronisation process will fail with the error mentioned above.

What environment did it happen in?

Crossplane version: v1.8.1 provider-gcp version: v0.21.0

adamwalach avatar Oct 12 '22 08:10 adamwalach

Could you post your resource spec?

mastersingh24 avatar Oct 16 '22 10:10 mastersingh24

We are facing the same issue.

AtitShetty avatar Oct 25 '22 18:10 AtitShetty