cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pranali Mande (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-10064) Secondary storage Usage for "uploadedVolume" is not collected
Date Mon, 04 Sep 2017 04:04:00 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pranali Mande updated CLOUDSTACK-10064:
---------------------------------------
    Description: 
*Description*: For Volumes on Secondary Storage, the usage is not accounted for.


  was:
*Description*: For Volumes on Secondary Storage, the usage is not accounted for.

The fix is implemented as follows:

1. A new Usage Type is added for the Volume on secondary storage : VOLUME_SECONDARY (id=26)
2. A new storage type, 'Volume' is defined.
3. When a volume is uploaded and the usage server executes next,entry will be added to the
usage_storage helper table for all the volumes uploaded since the  Usage server executed last.
4. When the uploaded volume is attached, the 'deleted' column in the usage_storage table is
set to the time-stamp when the volume was deleted 
5. 2 entries will be added to the cloud_usage table with usage_type=26 and usage_type=6 (Volume
usage on primary). One for the duration the volume was on primary and other for the duration
it was on secondary.
6. Entry is added to the helper table volume_usage for accounting for the primary storage.Next
execution of the usage server and on-wards, usage entry for usage_type=6 only will be added.


> Secondary storage Usage for "uploadedVolume" is not collected
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10064
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10064
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Pranali Mande
>
> *Description*: For Volumes on Secondary Storage, the usage is not accounted for.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message