cloudstack/plugins
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
..
acl/static-role-based Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
api Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
deployment-planners Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
event-bus/rabbitmq Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
file-systems/netapp Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
host-allocators/random Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
hypervisors CLOUDSTACK-2173: Don't do KVM heartbeat on secondary storage sources, primary only 2013-04-25 14:45:42 +01:00
network-elements Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
parent Removed all the .project files 2013-01-08 14:11:00 -08:00
storage Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
storage-allocators/random Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
user-authenticators Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00
pom.xml Revert "Updating pom.xml version numbers for release 4.1.0" 2013-04-23 15:22:01 -04:00