mirror of https://github.com/apache/cloudstack.git
* Primary Storage count for an account does not decrease when a Data Disk is deleted When a data disk is created and not attached in a running VM, the "deleteVolume" will not decrement the count for used primary storage in the VMs accounting information. The property that is not being decremented is called "primarystoragetotal"; this information can be retrieved via "listAccounts" API method. Steps to reproduce this issue: 1 - Create an account, deploy a VM in it 2 - Check the primary storage count for the account with listAccounts API 3 - Create a data disk 4 - Check the primary storage count for the account with listAccounts API 5 - Delete the Data disk 6 - Check the primary storage count for the account with listAccounts API - It is the same as before deleting the data disk (it should not be the same as the value in step 2!) * formatting and cleanups * fix imports that were wrongly changed during rebase |
||
|---|---|---|
| .. | ||
| download | ||
| listener | ||
| monitor | ||
| resource | ||
| secondary | ||
| snapshot | ||
| upload | ||
| CreateSnapshotPayload.java | ||
| ImageStoreDetailsUtil.java | ||
| ImageStoreUploadMonitor.java | ||
| ImageStoreUploadMonitorImpl.java | ||
| LocalStoragePoolListener.java | ||
| OCFS2Manager.java | ||
| OCFS2ManagerImpl.java | ||
| RegisterVolumePayload.java | ||
| ResizeVolumePayload.java | ||
| StorageManagerImpl.java | ||
| StoragePoolAutomation.java | ||
| StoragePoolAutomationImpl.java | ||
| TemplateProfile.java | ||
| VolumeApiServiceImpl.java | ||