cloudstack/plugins/hypervisors/kvm
Marcus Sorensen 8836c85f2d CLOUDSTACK-2173: Don't do KVM heartbeat on secondary storage sources, primary only
The KVM HA runner uses any NFS secondary storage resource available to a
host to store it's HA data. This causes template deletes to fail because
it cannot delete KVMHA, which is a directory that is not empty. So if
KVMHA directory is found, delete it's contents before trying to delete
it.

Tested with a new 4.1 zone deployment. Verified bug was reproducable
with 4.1 HEAD, applied patch, ran through adding two NFS primary
storages, verified KVM heartbeat was working on them, then ran various
secondary storage operations (register template, download volume, take
snapshot) and verified that they worked, and that KVM heartbeat
operations were NOT acting on them.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-25 14:45:42 +01:00
..
src/com/cloud/hypervisor/kvm CLOUDSTACK-2173: Don't do KVM heartbeat on secondary storage sources, primary only 2013-04-25 14:45:42 +01:00
test/com/cloud/hypervisor/kvm/resource Another clean up for unnecessary parameter conn Clean up unused 2012-08-01 13:59:11 -07:00
.pydevproject License header updates for the plugins folder. 2012-08-03 09:07:43 -04:00
agent-descriptor.xml build kvm-agent.zip 2012-10-02 15:38:34 -07:00
pom.xml Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00