----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12156/#review22616 -----------------------------------------------------------
Commit 301c91c099957b77dd1127484446f9fe69b53e39 in branch refs/heads/master from Sanjay Tripathi [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=301c91c ] CLOUDSTACK-3189: Primary storage usage is not getting decremented after deleting the DATA volumes. When a volume is created the resource usage for it gets incremented. If it is deleted without being attached to a volume, the decrement doesn't take place. Fixed the delete volume code to decrement resource usage for a volume in allocated state too. - ASF Subversion and Git Services On June 28, 2013, 9:12 a.m., Sanjay Tripathi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/12156/ > ----------------------------------------------------------- > > (Updated June 28, 2013, 9:12 a.m.) > > > Review request for cloudstack, Devdeep Singh and Sateesh Chodapuneedi. > > > Bugs: CLOUDSTACK-3189 > > > Repository: cloudstack-git > > > Description > ------- > > CLOUDSTACK-3189: Primary storage usage is not getting decremented after > deleting the DATA volumes. > > https://issues.apache.org/jira/browse/CLOUDSTACK-3189 > > > Diffs > ----- > > server/src/com/cloud/storage/VolumeManagerImpl.java 4297efb > > Diff: https://reviews.apache.org/r/12156/diff/ > > > Testing > ------- > > Tests: > > 1. Create a volume from a user account. > 2. Verify the increment in primaryStorageTotal count using listAccount API. > 3. Delete volume. > 4. Verify the decrement in primaryStorageTotal count. > > > Thanks, > > Sanjay Tripathi > >