cloudstack/agent
Rohit Yadav 1904a70512
agent: on shutdown don't allow server reconnection (#2904)
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>
2018-10-17 06:31:13 +05:30
..
bindir kvm: add support for custom KVM hook scripts (#2819) 2018-08-27 13:46:52 +05:30
conf agent: set log level to INFO as default for http wire (#2903) 2018-10-16 10:32:03 +05:30
distro fix kvm agent upgrade issue: kvm agent needs to use java 7 instead of java 6 after upgrade Reviewed-by: Sheng 2014-10-27 17:31:31 -07:00
src/com/cloud/agent agent: on shutdown don't allow server reconnection (#2904) 2018-10-17 06:31:13 +05:30
test/com/cloud/agent CLOUDSTACK-10132: Extend support for management servers LB for agents (#2469) 2018-03-15 16:34:03 +05:30
pom.xml maven: Updating pom.xml version numbers for release 4.11.2.0-SNAPSHOT (#2728) 2018-07-06 17:27:12 +05:30