So, I started out trying to fix what was supposed to be a simple issue on my company's website. The HTTP was not redirecting to the HTTPS.
To try to resolve this, I tried deleting the HTTPS load balancer so that I could recreate it with the redirect.
However, now, 3 days later, another developer and myself can't get it recreated and can't figure out why.
When I try creating the load balancer, I get the error:
Invalid value for field 'resource.IPAddress': 'projects/bes-com/global/addresses/bes-load-balancer-ip'. Specified IP address is in-use and would result in a conflict.
If I go to IP Addresses, the specified IP address says "In use by: None"
I also tried recreating the load balancer with a new IP Address instead of the current one, but this one didn't work either.
With this, I got:
Operation type [patch] failed with message "Validation failed for instance 'projects/bes-com/zones/us-central1-c/instances/gke-bes-com-bes-com-n-37339480-9xpj': instance may belong to at most one load-balanced instance group."
If I go to the Ingress, it has this error at the top:
Error syncing to GCP: error running backend syncing routine: received errors when updating backend service: googleapi: Error 400: INSTANCE_IN_MULTIPLE_LOAD_BALANCED_IGS - Validation failed for instance 'projects/bes-com/zones/us-central1-c/instances/gke-bes-com-bes-com-n-37339480-9xpj': instance may belong to at most one load-balanced instance group. googleapi: Error 400: INSTANCE_IN_MULTIPLE_LOAD_BALANCED_IGS
Note that I did not create this website. I inherited it, and am new to GCP so am learning as I go. However, I have to get this website back up and do not know where to go next. Thanks for any help, and please let me know what I can show.
gcloud compute backend-services list. It is possible that you have one or more hanging backend services that is why you are getting this error message.Error syncing to GCP: error running backend syncing routine: received errors when updating backend service: googleapi: Error 400: INSTANCE_IN_MULTIPLE_LOAD_BALANCED_IGS - Validation failed for instanceIf you have to delete the backend-services, here is the command for that:gcloud compute backend-services delete [SERVICE-NAME].kubernetes.io/ingress.global-static-ip-name: "bes-load-balancer-ip"Or if possible, can you share with us your Ingress YAML file. kubernetes.io/ingress.global-static-ip-name: "bes-load-balancer-ip"