----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12997/#review24119 -----------------------------------------------------------
Ship it! Committed to 4.2 and master. Kindly close the request. - Devdeep Singh On July 27, 2013, 3:11 p.m., Rajesh Battala wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/12997/ > ----------------------------------------------------------- > > (Updated July 27, 2013, 3:11 p.m.) > > > Review request for cloudstack, Devdeep Singh, Kishan Kavala, and Ram Ganesh. > > > Repository: cloudstack-git > > > Description > ------- > > issue: > ======== > when resize volume is requested and action is successfuly usage event is not > recorded. Code is not present for recording the resize volume usage event. > > fix: > Added the code to record the usage event when the resize volume is requested. > > > Diffs > ----- > > server/src/com/cloud/storage/VolumeManagerImpl.java a3802a9 > > Diff: https://reviews.apache.org/r/12997/diff/ > > > Testing > ------- > > Environment: > kvm, with cluster scope storage pool. > default centos instance. > > 1. created a volume and tried to resize the volume. > volume resize is successful > > usage event is registered in usage_event table now. > > | 0 | NULL | > | 27 | VOLUME.RESIZE | 2 | 2013-07-27 14:54:51 | 1 | > 21 | TestVol | 6 | > NULL | 5368709120 | NULL | 0 | NULL | > +----+-------------------------+------------+---------------------+---------+-------------+--------------------------------------+-------------+-------------+-------------+----------------+-----------+--------------+ > > > Thanks, > > Rajesh Battala > >