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

(Updated Oct. 27, 2014, 11:53 a.m.)


Review request for cloudstack, Kishan Kavala and Koushik Das.


Changes
-------

Handled the Resize Case


Bugs: CLOUDSTACK-7792
    https://issues.apache.org/jira/browse/CLOUDSTACK-7792


Repository: cloudstack-git


Description
-------

Currently in CloudStack the Usage Events for Volume related actions are 
captured directly at various places.

But actually Volume has a State Machine which can be used to capture Usage 
Events for volume similar to VM Usage Events


Diffs (updated)
-----

  api/src/com/cloud/storage/Volume.java b67a395 
  api/src/com/cloud/vm/VirtualMachine.java 99152d6 
  
engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/ObjectInDataStoreStateMachine.java
 b21616a 
  
engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
 4b40d5a 
  engine/schema/src/com/cloud/storage/VolumeVO.java e328253 
  
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeObject.java
 f2b4c95 
  
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
 9174d89 
  server/src/com/cloud/storage/StorageManagerImpl.java 153c25a 
  server/src/com/cloud/storage/VolumeApiServiceImpl.java b70d753 
  server/src/com/cloud/storage/listener/VolumeStateListener.java 0ba2969 

Diff: https://reviews.apache.org/r/27222/diff/


Testing (updated)
-------

Tested on Simulator. Also tested on XenServer for the following use cases

1. Add Volume (Migrate, Destroy)
2. Attach Volume (Live Migration and normal Migration)
3. Upload Volume (Attach also)
4. Delete Volume
5. Deploy VM (With Data Disk and with out Data Disk)
6. Destroy VM (With Data Disk and with out Data Disk)
7. Recover VM
8. Restore VM
9. Resize Volume


Thanks,

Damodar Reddy Talakanti

Reply via email to