mirror of https://github.com/apache/cloudstack.git
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> |
||
|---|---|---|
| .. | ||
| src/com/cloud/hypervisor/kvm | ||
| test/com/cloud/hypervisor/kvm/resource | ||
| .pydevproject | ||
| agent-descriptor.xml | ||
| pom.xml | ||