mirror of https://github.com/apache/cloudstack.git
When agent is stopped, don't allow reconnection. Previously this would send a shutdown command to the management server which would put the host state to Disconnected but then agent's reconnection logic may kick in sometimes which would connect the agent to the management server but then the agent process would terminate causing the host to be put in Alert state (due to ping timeout or it waiting too long). This fixes the issue by ensuring that when the agent is stopped, it does not reconnect to the management server. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> |
||
|---|---|---|
| .. | ||
| bindir | ||
| conf | ||
| distro | ||
| src/com/cloud/agent | ||
| test/com/cloud/agent | ||
| pom.xml | ||