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

Review request for cloudstack and Devdeep Singh.


Bugs: CLOUDSTACK-3496


Repository: cloudstack-git


Description
-------

CLOUDSTACK-3496: [Regression]Primary Storage resource usage is not getting 
updated if detached volume is deleted.

Issue caused because of the change in storage design as a part of object_store 
branch, fixed the check accordingly.


Diffs
-----

  server/src/com/cloud/storage/VolumeManagerImpl.java 72d27bc 

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


Testing
-------

Tests:

1. Create a volume.
2. Check the primaryStorageTotal value by calling listAccounts&id= .
3. Attach this volume to an instance.
4. Detach this volume and delete it.
5. Again check the primayStorageTotal.

Verified the fix by following the above mentioned steps.


Thanks,

Sanjay Tripathi

Reply via email to