-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12997/
-----------------------------------------------------------

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

Reply via email to