cloudstack/plugins/hypervisors
Rohit Yadav d55d45348c CLOUDSTACK-8530: KVM hosts without active agents should be in Disconnected state
KVM hosts which are actuall up, but if their agents are shutdown should be put
in disconnected state. This would avoid getting the VMs HA'd and other commands
such as deploying a VM will exclude that host and save us from errors.

The improvement is that, we first try to contact the KVM host itself. If it fails
we assume that it's disconnected, and then ask its KVM neighbours if they can
check its status. If all of the KVM neighbours tell us that it's Down and we're
unable to reach the KVM host, then the host is possibly down. In case any of the
KVM neighbours tell us that it's Up but we're unable to reach the KVM host then
we can be sure that the agent is offline but the host is running.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #340
2015-06-02 14:53:55 +02:00
..
baremetal Updating pom.xml version numbers for release 4.5.2-SNAPSHOT 2015-05-07 15:33:01 +02:00
hyperv Updating pom.xml version numbers for release 4.5.2-SNAPSHOT 2015-05-07 15:33:01 +02:00
kvm CLOUDSTACK-8530: KVM hosts without active agents should be in Disconnected state 2015-06-02 14:53:55 +02:00
ovm Updating pom.xml version numbers for release 4.5.2-SNAPSHOT 2015-05-07 15:33:01 +02:00
simulator backport of CLOUDSTACK-8197 create MinVRVersion config item 2015-05-13 09:33:16 +02:00
ucs Updating pom.xml version numbers for release 4.5.2-SNAPSHOT 2015-05-07 15:33:01 +02:00
vmware Updating pom.xml version numbers for release 4.5.2-SNAPSHOT 2015-05-07 15:33:01 +02:00
xenserver Updating pom.xml version numbers for release 4.5.2-SNAPSHOT 2015-05-07 15:33:01 +02:00