----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/10766/#review19676 -----------------------------------------------------------
The HA will write data into secondary storage also? It should only write data into primary storage. - edison su On April 24, 2013, 9:23 p.m., Marcus Sorensen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/10766/ > ----------------------------------------------------------- > > (Updated April 24, 2013, 9:23 p.m.) > > > Review request for cloudstack and Chip Childers. > > > Description > ------- > > 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. > > > This addresses bug CLOUDSTACK-2173. > > > Diffs > ----- > > core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java > e65cbe1 > > Diff: https://reviews.apache.org/r/10766/diff/ > > > Testing > ------- > > Had a bunch of templates that the scavenger was failing to clean up. Applied > this patch, installed the code, and the templates all cleaned up successfully. > > > Thanks, > > Marcus Sorensen > >