cloudstack/plugins/hypervisors/kvm
Rohit Yadav f341246888 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>
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #340
2015-06-02 13:27:16 +02:00
..
resources/META-INF/cloudstack/kvm-compute Fix the NPE tht was being caught by the executeRequest() method. - The LibvirtUtilitiesHelper should have been injected, but it did not work on the Agent side. Due to that, when sending a StartCommand we were experiencing NPE, which made impossible to get SSVM/CPVM started. - The LibvirtUtilitiesHelper class is now being instantiated withing the LibvirtComputingResource 2015-05-27 13:19:57 +02:00
src CLOUDSTACK-8530: KVM hosts without active agents should be in Disconnected state 2015-06-02 13:27:16 +02:00
test Mocking the Connect object used in the LibvirtMigrateCommandWrapper 2015-06-01 21:11:25 +02:00
.pydevproject License header updates for the plugins folder. 2012-08-03 09:07:43 -04:00
pom.xml CLOUDSTACK-8335: removed ceph repository - artifact resolved from maven central 2015-05-01 11:10:06 +05:30