[ https://issues.apache.org/jira/browse/CLOUDSTACK-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mice Xia resolved CLOUDSTACK-3591. ---------------------------------- Resolution: Fixed [change] 1) add a column `vm_snapshot_chain_size` to `volumes` to save chain size for a volume with snapshot, this enables VM snapshot capacity calculation. 2) get volumes' chain size in resource layer after VMsnapshotCreate/Delete and report the stats to mgmt server in answers 3) publish usage events for vm snapshot after VMsnapshotCreate/Delete 4) generate usage records for vm snapshot, on a volume basis. > No usage recording for VM snapshots > ----------------------------------- > > Key: CLOUDSTACK-3591 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3591 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Usage > Affects Versions: 4.2.0 > Environment: build: > CloudPlatform-4.2-216-rhel6.3 > Reporter: shweta agarwal > Assignee: Amogh Vasekar > Priority: Critical > Fix For: 4.2.0 > > > Repro steps; > Create a VM > Create VM snapshot > Bug: > Notice no usage events is recorded for VM snapshot created in step 2 > Expected result: > We should have usage events for VM snapshots creation and deletion -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira