----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/10725/#review20071 -----------------------------------------------------------
Ship it! Commit 85a1cc962cb39baafd0aeb3457eeb227e848aef9 in branch refs/heads/master - Sateesh Chodapuneedi On April 30, 2013, 10:15 a.m., Sanjay Tripathi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/10725/ > ----------------------------------------------------------- > > (Updated April 30, 2013, 10:15 a.m.) > > > Review request for cloudstack, Devdeep Singh, Nitin Mehta, Sateesh > Chodapuneedi, and Min Chen. > > > Description > ------- > > CLOUDSTACK-2087: Destroying the instance is not decrementing the primary > storage usage [Resource Count table - No of volumes is not got decremented] > > > This addresses bug CLOUDSTACK-2087. > > > Diffs > ----- > > server/src/com/cloud/resourcelimit/ResourceLimitManagerImpl.java e8805ae > server/src/com/cloud/vm/VirtualMachineManagerImpl.java b0d6378 > > Diff: https://reviews.apache.org/r/10725/diff/ > > > Testing > ------- > > Tests: > 1. Deploy an instance from a user account. > 2. Check the updated resource count (primary storage and volume). > 3. Destroy the same instance. > 4. Verify the decremented resource count from the account detailView. > > > Thanks, > > Sanjay Tripathi > >