The object has been modified; please apply your changes to the latest version and try again
Closed this issue · 0 comments
mvanholsteijn commented
When I deploy a k8s service with the NEG and autoneg annotations, the NEGs are not registered at the backend service with the following error message:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Create 7m54s neg-controller Created NEG "k8s1-85a2e695-default-app-catfood-80-fb89a260" for default/app-catfood-k8s1-85a2e695-default-app-catfood-80-fb89a260--web/80-80-GCE_VM_IP_PORT-L7 in "europe-west1-b".
Normal Create 7m51s neg-controller Created NEG "k8s1-85a2e695-default-app-catfood-80-fb89a260" for default/app-catfood-k8s1-85a2e695-default-app-catfood-80-fb89a260--web/80-80-GCE_VM_IP_PORT-L7 in "europe-west1-c".
Normal Create 7m49s neg-controller Created NEG "k8s1-85a2e695-default-app-catfood-80-fb89a260" for default/app-catfood-k8s1-85a2e695-default-app-catfood-80-fb89a260--web/80-80-GCE_VM_IP_PORT-L7 in "europe-west1-d".
Normal Attach 7m45s (x2 over 27h) neg-controller Attach 1 network endpoint(s) (NEG "k8s1-85a2e695-default-app-catfood-80-fb89a260" in zone "europe-west1-b")
Warning BackendError 7m44s (x2 over 26h) autoneg-controller Operation cannot be fulfilled on services "app-catfood": the object has been modified; please apply your changes to the latest version and try again
When I update the service again, the NEGs are registered:
Normal Sync 1s (x2 over 26h) autoneg-controller Synced NEGs for "default/app-catfood" as backends to backend service "catfood"
I expect the autoneg controller to eventually synchronise to the desired situation without manual intervention.