The following alarm remains open even after the load balancer has been deleted.
ID : infrastructure_service.edge_service_status_changed
Event Type : Edge Service Status Changed
VMware NSX : 4.2
The single root cause is that the monitoring service occasionally fails to receive asynchronous deletion notifications from the internal database, causing deleted services to remain on the monitoring list and be mistakenly identified as having crashed since their processes cannot be found during periodic health checks.
The workaround is as follows:
1. Log in to the NSX GUI.
2. Navigate to "Networking > Load Balancing".
3. Select "Add Load Balancer" and create a load balancer connected to the Tier-1 Gateway.
4. Log in as the root user to the CLI of the NSX Edge where the created load balancer is deployed.
5. Confirm the name of the created LB with the following command:
docker ps
6. Stop the LB docker container with the following command:
docker stop <docker_name>
Replace <docker_name> with the LB name confirmed in step 5 before executing.
7. Stop the API service.
systemctl stop nsx-edge-api-server
8. Delete the LB from the NSX GUI.
9. Start the API service.
systemctl start nsx-edge-api-server
After executing the above steps, please wait a few minutes and check if the alarm is cleared.