mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Add Health Check Command to NSX pluginThe NSX plugin does not support the HeathCheckCommand. Instead it fakes a PingCommand as a call tot he control cluster status API. However, we have seen in production that the management server will sometimes find the NSX controller to be behind on ping and that will trigger a HealthCheckCommand which will return with an unsupported command answer. Once this happens the controller is put into Alert state and will not recover until the management sever is restarted. In addition, during the investigation, there will be a null pointer exception due tot he fact that the NSX controllers do not live in a pod. This PR tries to address those two issues. * pr/1293: Implement CheckHealthCommand for NSX controllers Fix log message that refers to agent, not host Prevent NullPointerException when host does not belong to a pod Signed-off-by: Remi Bergsma <github@remi.nl>