Gorouter repeats "endpoint-not-unregistered" with routing-api in stdout log
book
Article ID: 368706
calendar_today
Updated On:
Products
VMware Tanzu Application Service for VMsVMware Tanzu Platform - Cloud Foundry
Issue/Introduction
"endpoint-not-unregistered" message is being recorded on all gorouter stdout logs identically as below. IP of backend is cloud controller instance IP. The message repeats every 20 seconds for each backend.
Routing-api is deployed across all cloud controller instances, only one which acquired the lock is active, others are at standby mode for high availability purpose.
Route-registrar on each cloud controller instance runs health check against local cloud controller(at port 9024) and routing-api(at port 3031) at 20 seconds interval.
For the active routing-api, route-registrar sends "register route" message to gorouters, for those standby routing-api(s), route-registrar sends "unregister route" message.
Standby routing-api(s) have no routes on gorouters, thus one "unregister route" message will result in one "endpoint-not-unregistered" log in gorouter.stdout.log.
Resolution
This issue only exits in early releases of TPCF v2.0~4.0, it has been fixed in all releases of TPCF 6.0 or above.